Skip to content
Snippets Groups Projects
Commit 4ece4e27 authored by Thorsten Wißmann's avatar Thorsten Wißmann :guitar:
Browse files

Simplyfy \piechart parameter format

parent 19a0cd23
No related branches found
No related tags found
No related merge requests found
......@@ -57,12 +57,12 @@
\coordinate (B) at (0,0);
\pgfmathsetmacro{\smallradius}{1.26}
\pgfmathsetmacro{\totalseatcount}{0}
\foreach \percent/\seats/\name/\curcolor [remember=\curarc] in {
\foreach \seats/\curcolor [remember=\curarc] in {
#1} {
\pgfmathparse{\totalseatcount+\seats}
\global\let\totalseatcount\pgfmathresult
}
\foreach \xpercent/\seats/\name/\curcolor [remember=\curarc] in {
\foreach \seats/\curcolor [remember=\curarc] in {
#1}
{
\pgfmathsetmacro{\percent}{\seats / \totalseatcount * 100}
......@@ -302,11 +302,11 @@
%\section*{Konvent}
\begin{twbox}{Direktmandate im studentischen Konvent (Uniweit)}
\piechart{
/1//colrcds,
/1//coljuso,
/1//collhg,
/1//colghg,
/1//colfsienliste}
1/colrcds,
1/coljuso,
1/collhg,
1/colghg,
1/colfsienliste}
\seatchart{
RCDS Erlangen-Nürnberg/1/colrcds,
Juso Hochschulgruppe/1/coljuso,
......@@ -318,9 +318,9 @@
\begin{twbox}{Fachschaftsvertretung der Philosophischen Fakultät und Fachbereich Theologie}
% philfak
\piechart{
33.33/1//collhg,
33.33/1//colfsien,
33.33/1//colbgl}
1/collhg,
1/colfsien,
1/colbgl}
\\
\seatchart{
Liberale Hochschulgruppe (LHG)/1/collhg,
......@@ -332,10 +332,10 @@
Fakultät}
\definecolor{coljura}{HTML}{1E6296}
\piechart{
/1//colfsiwiso,
/1//collhg,
/1//coljura,
/1//colrcds}
1/colfsiwiso,
1/collhg,
1/coljura,
1/colrcds}
\\
\seatchart{
FSI WiSo/1/colfsiwiso,
......@@ -348,8 +348,8 @@ Fakultät}
%\renewcommand{\twboxheight}{11.6cm}
\begin{twbox}{Fachschaftsvertretung der Medizinischen Fakultät}
\piechart{
50/1//colrcds,
50/1//colkanuele}
1/colrcds,
1/colkanuele}
\\
\seatchart{
RCDS Erlangen/1/colrcds,
......@@ -358,8 +358,8 @@ Fakultät}
\beteiligung{25.00}
\begin{twbox}{Fachschaftsvertretung der Naturwissenschaftlichen Fakultät}
\piechart{
50/1//collhg,
50/1//colbuntefsien}
1/collhg,
1/colbuntefsien}
\\
\seatchart{
Liberale Hochschulgruppe (LHG)/1/collhg,
......@@ -370,9 +370,9 @@ Fakultät}
\beteiligung{25.00}
\begin{twbox}{Fachschaftsvertretung der Technischen Fakultät}
\piechart{
33.333/1//colrcds,
33.333/1//colfsientechfak,
33.333/1//collhg}
1/colrcds,
1/colfsientechfak,
1/collhg}
\\
\seatchart{
RCDS Erlangen/1/colrcds,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment