template_news.tex 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. \pgfplotstableread[col sep=&, header=true]{%
  74. description & DIP & TBL & CB & DCP
  75. 10-2 & 29.83 & 15.79 & 10.53 & 12.29
  76. 15-2 & 21.84 & 16.18 & 6.75 & 14.3
  77. 20-2 & 21.75 & 18.01 & 12.40 & 11.17
  78. 25-2 & 25.28 & 23.08 & 12.09 & 8.8
  79. 2-3 & 25.59 & 22.10 & 13.96 & 10.47
  80. 7-3 & 26 & 22 & 14 & 10
  81. }\datatableentry{}
  82. \begin{tikzpicture}
  83. \begin{axis}[
  84. title = Verkiezingen,
  85. enlarge y limits = {value=0.2,upper},
  86. xtick = data,
  87. xticklabels = {10-2,15-2,20-2,25-2,2-3,7-3},
  88. x tick label style = {rotate=-45,anchor=west,font=\tiny},
  89. legend style = {font=\tiny,legend pos=north west,legend cell align=left, fill=none},
  90. ]
  91. \addlegendentry{DIP};
  92. \addplot [loosely dashed] table [y=DIP, x expr=\coordindex] {\datatableentry};
  93. \addlegendentry{TBL};
  94. \addplot [densely dashed] table [y=TBL, x expr=\coordindex] {\datatableentry};
  95. \addlegendentry{CB};
  96. \addplot [dotted] table [y=CB, x expr=\coordindex] {\datatableentry};
  97. \addlegendentry{DCP};
  98. \addplot [dashed] table [y=DCP, x expr=\coordindex] {\datatableentry};
  99. \end{axis}
  100. \end{tikzpicture}
  101. \noindent\fbox{%
  102. \begin{minipage}{\dimexpr\linewidth-12pt\relax}
  103. \begin{multicols}{2}
  104. \centering
  105. \includegraphics[height=3.5cm]{figs/adlogo} \\
  106. \columnbreak{}
  107. \textit{Noord-Nederland}
  108. \textbf{Hollands Goud}
  109. Een advertentie. Vandaag kost het maar \$17.5mil om een ijsje te kopen.
  110. \end{multicols}
  111. \end{minipage}
  112. }