Ver Fonte

Update templates with new examples

JoostSijm há 7 anos atrás
pai
commit
88167492ce
2 ficheiros alterados com 42 adições e 9 exclusões
  1. 41 9
      docs/template_news.tex
  2. 1 0
      template_paperconfig.tex

+ 41 - 9
docs/template_news.tex

@@ -77,21 +77,44 @@ Een mooie grafiek!
 \color{white}
 \captionof{figure}{Verdeling in het parlement}
 
+Hier een polar-chart
+\color{rr-background}
+\begin{tikzpicture}
+	\tikzset{%
+		lines/.style={draw=none},
+	}
+	\pie[
+		polar,
+		scale font,
+		text		= inside,
+		explode		= 0.02,
+		radius		= 5,
+		color		= white,
+		style		= lines,
+		]
+		{%
+			29/ Nationaalisme,
+			11/ Liberaal,
+			 8/ Conserv.
+		}
+\end{tikzpicture}
+\color{white}
+
 \pgfplotstableread[col sep=&, header=true]{%
     description & DIP & TBL & CB & DCP
-    10-2 & 29.83 & 15.79 & 10.53 & 12.29
-    15-2 & 21.84 & 16.18 &  6.75 & 14.3
-    20-2 & 21.75 & 18.01 & 12.40 & 11.17
-    25-2 & 25.28 & 23.08 & 12.09 & 8.8
-     2-3 & 25.59 & 22.10 & 13.96 & 10.47
-     7-3 & 26 & 22 & 14 & 10
+    102 & 29.83 & 15.79 & 10.53 & 12.29
+    152 & 21.84 & 16.18 &  6.75 & 14.3
+    202 & 21.75 & 18.01 & 12.40 & 11.17
+    252 & 25.28 & 23.08 & 12.09 & 8.8
+     23 & 25.59 & 22.10 & 13.96 & 10.47
+     7–3 & & 22 & 14 & 10
 }\datatableentry{}
 \begin{tikzpicture}
     \begin{axis}[
         title 				= Verkiezingen,
         enlarge y limits	= {value=0.2,upper},
         xtick				= data,
-        xticklabels			= {10-2,15-2,20-2,25-2,2-3,7-3},
+        xticklabels			= {10–2,15–2,20–2,25–2,2–3,7–3},
         x tick label style	= {rotate=-45,anchor=west,font=\tiny},
         legend style		= {font=\tiny,legend pos=north west,legend cell align=left, fill=none},
     ]
@@ -106,8 +129,6 @@ Een mooie grafiek!
     \end{axis}
 \end{tikzpicture}
 
-
-
 \noindent\fbox{%
 	\begin{minipage}{\dimexpr\linewidth-12pt\relax}
 		\begin{multicols}{2}
@@ -120,3 +141,14 @@ Een mooie grafiek!
 		\end{multicols}
 	\end{minipage}
 }
+
+\byline{\textbf{\Large Een table met informatie}}{Bèrg C.}
+\begin{tabular}{lcc}
+	Type & Bulgarije & Gem Nederland \\
+	\hline
+	Hospital	& 153	& 928	\\
+	School		& 93	& 528	\\
+	Missile		& 250	& 1016	\\
+	Power		& 400	& 794	\\
+	Housefund	& 2500	& 4906	\\
+\end{tabular}

+ 1 - 0
template_paperconfig.tex

@@ -1,3 +1,4 @@
 \currentvolume{1}
 \currentissue{1}
 \SetPaperSlogan{``Haalbaar. Helder''}
+\pagecolor{black}