template_news.tex 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. \byline{\textbf{\Large Craftbroec Pledge}}{Bèrg C.}
  2. Wij van Craftbroec helpen graag mee aan de opbouw van Noord-Nederland zodat deze provincie aantrekkelijker wordt voor spelers.
  3. Daarom komen we met het volgende plan:
  4. \begin{center}
  5. \textbf{\textit{\huge 2.000.000.000}}\\
  6. \textit{olie en ore voor Noord-Nederland}\\
  7. \end{center}
  8. Dit is het doel dat we met onze party willen bereiken binnen een week.
  9. We houden jullie op de hoogte van de status van deze uitdaging!
  10. \closearticle{}
  11. \vfill\null{}
  12. \columnbreak{}
  13. \byline{\textbf{\Large Grafiek}}{Bèrg C.}
  14. Een mooie grafiek!
  15. \begin{tikzpicture}
  16. \begin{axis}[
  17. xbar, xmin = 0,
  18. xlabel = Totaal gedoneerd,
  19. y = 4ex,
  20. enlarge y limits = 0.3,
  21. tickwidth = 0pt,
  22. axis x line* = none,
  23. axis y line* = none,
  24. ytick = data,
  25. nodes near coords align = horizontal,
  26. nodes near coords = \pgfmathprintnumber\pgfplotspointmeta\ KK,
  27. xtick = {500,1000,1500,2000},
  28. symbolic y coords =
  29. {%
  30. Doel,
  31. Totaal,
  32. Olie,
  33. Ore,
  34. },
  35. every node near coord/.append style =
  36. {%
  37. xshift=5pt,
  38. yshift=-13pt,
  39. anchor=east,
  40. font=\footnotesize
  41. },
  42. ]
  43. \addplot[white,fill=white] coordinates
  44. {%
  45. (600,Ore)
  46. (1046,Olie)
  47. (1646,Totaal)
  48. (2000,Doel)
  49. };
  50. \end{axis}
  51. \end{tikzpicture}
  52. \closearticle{}
  53. \byline{\textbf{\Large Wow een pie-chart}}{Bèrg C.}
  54. \color{black}
  55. \begin{tikzpicture}
  56. \tikzset{%
  57. lines/.style={draw=none},
  58. }
  59. \pie [text=inside, scale font, explode=0.02, radius=4, color=white]
  60. {%
  61. 25/ DIP,
  62. 23/ TBL,
  63. 12/ CB,
  64. 9/ DCP,
  65. 9/ NVP,
  66. 8/ FVD,
  67. 3/ NCP,
  68. 11/ Overig
  69. }
  70. \end{tikzpicture}
  71. \color{white}
  72. \captionof{figure}{Verdeling in het parlement}
  73. Hier een polar-chart
  74. \color{rr-background}
  75. \begin{tikzpicture}
  76. \tikzset{%
  77. lines/.style={draw=none},
  78. }
  79. \pie[
  80. polar,
  81. scale font,
  82. text = inside,
  83. explode = 0.02,
  84. radius = 5,
  85. color = white,
  86. style = lines,
  87. ]
  88. {%
  89. 29/ Nationaalisme,
  90. 11/ Liberaal,
  91. 8/ Conserv.
  92. }
  93. \end{tikzpicture}
  94. \color{white}
  95. \pgfplotstableread[col sep=&, header=true]{%
  96. description & DIP & TBL & CB & DCP
  97. 10–2 & 29.83 & 15.79 & 10.53 & 12.29
  98. 15–2 & 21.84 & 16.18 & 6.75 & 14.3
  99. 20–2 & 21.75 & 18.01 & 12.40 & 11.17
  100. 25–2 & 25.28 & 23.08 & 12.09 & 8.8
  101. 2–3 & 25.59 & 22.10 & 13.96 & 10.47
  102. 7–3 & & 22 & 14 & 10
  103. }\datatableentry{}
  104. \begin{tikzpicture}
  105. \begin{axis}[
  106. title = Verkiezingen,
  107. enlarge y limits = {value=0.2,upper},
  108. xtick = data,
  109. xticklabels = {10–2,15–2,20–2,25–2,2–3,7–3},
  110. x tick label style = {rotate=-45,anchor=west,font=\tiny},
  111. legend style = {font=\tiny,legend pos=north west,legend cell align=left, fill=none},
  112. ]
  113. \addlegendentry{DIP};
  114. \addplot [loosely dashed] table [y=DIP, x expr=\coordindex] {\datatableentry};
  115. \addlegendentry{TBL};
  116. \addplot [densely dashed] table [y=TBL, x expr=\coordindex] {\datatableentry};
  117. \addlegendentry{CB};
  118. \addplot [dotted] table [y=CB, x expr=\coordindex] {\datatableentry};
  119. \addlegendentry{DCP};
  120. \addplot [dashed] table [y=DCP, x expr=\coordindex] {\datatableentry};
  121. \end{axis}
  122. \end{tikzpicture}
  123. \noindent\fbox{%
  124. \begin{minipage}{\dimexpr\linewidth-12pt\relax}
  125. \begin{multicols}{2}
  126. \centering
  127. \includegraphics[height=3.5cm]{figs/adlogo} \\
  128. \columnbreak{}
  129. \textit{Noord-Nederland}
  130. \textbf{Hollands Goud}
  131. Een advertentie. Vandaag kost het maar \$17.5mil om een ijsje te kopen.
  132. \end{multicols}
  133. \end{minipage}
  134. }
  135. \byline{\textbf{\Large Een table met informatie}}{Bèrg C.}
  136. \begin{tabular}{lcc}
  137. Type & Bulgarije & Gem Nederland \\
  138. \hline
  139. Hospital & 153 & 928 \\
  140. School & 93 & 528 \\
  141. Missile & 250 & 1016 \\
  142. Power & 400 & 794 \\
  143. Housefund & 2500 & 4906 \\
  144. \end{tabular}