2019-06-21 18:00:51 +02:00
|
|
|
% vim: ft=tex
|
2023-02-04 11:10:29 +01:00
|
|
|
\ProvidesClass{fsrprotokoll}[2018/03/05 Klasse fuer FSR Protokolle v0.2.1]
|
2018-05-14 12:37:44 +02:00
|
|
|
\LoadClass{scrartcl}
|
|
|
|
|
|
|
|
\RequirePackage[utf8]{inputenc}
|
|
|
|
\RequirePackage[ngerman]{babel}
|
|
|
|
\RequirePackage[T1]{fontenc}
|
|
|
|
\RequirePackage[a4paper,top=3cm,left=3cm,right=3cm,bottom=3cm]{geometry}
|
|
|
|
\RequirePackage{eurosym}
|
|
|
|
\RequirePackage{graphicx}
|
|
|
|
\RequirePackage{xifthen}
|
|
|
|
\RequirePackage{titlesec}
|
|
|
|
\RequirePackage{expl3}
|
|
|
|
\RequirePackage{xparse}
|
|
|
|
\RequirePackage{tabularx}
|
|
|
|
\RequirePackage[hidelinks]{hyperref}
|
2019-06-17 15:22:22 +02:00
|
|
|
\RequirePackage[autostyle=true,german=quotes]{csquotes}
|
2018-05-14 12:37:44 +02:00
|
|
|
% https://github.com/AndyClifton/AccessibleMetaClass/blob/master/accessibilityMeta.sty
|
|
|
|
\RequirePackage[tagged]{accessibilityMeta}
|
2023-02-04 11:10:29 +01:00
|
|
|
\RequirePackage{xcolor}
|
2018-05-14 12:37:44 +02:00
|
|
|
|
|
|
|
\parindent 0pt
|
|
|
|
\parskip 1ex
|
|
|
|
|
|
|
|
\deffootnote[1em]{1em}{1em}{\textsuperscript{\thefootnotemark}}
|
|
|
|
|
|
|
|
\titleformat{\section}
|
|
|
|
{\large\rmfamily\bfseries}
|
2019-06-17 15:22:22 +02:00
|
|
|
{\thesection.}{0.5em}{}%
|
2018-05-14 12:37:44 +02:00
|
|
|
\titlespacing{\section}
|
|
|
|
{0pt}
|
|
|
|
{*1}
|
|
|
|
{*0.25}
|
|
|
|
\titleformat{\subsection}
|
|
|
|
{\normalfont\rmfamily\bfseries}
|
|
|
|
{}{0em}{}
|
|
|
|
\titlespacing{\subsection}
|
|
|
|
{0pt}
|
|
|
|
{*0.5}
|
|
|
|
{-5pt}
|
2023-02-04 11:10:29 +01:00
|
|
|
\titleformat{\subsubsection}
|
|
|
|
{\normalfont\rmfamily\bfseries}
|
|
|
|
{}{0em}{}
|
|
|
|
\titlespacing{\subsubsection}
|
|
|
|
{0pt}
|
|
|
|
{*0.5}
|
|
|
|
{-9pt}
|
2018-05-14 12:37:44 +02:00
|
|
|
|
|
|
|
\makeatletter
|
|
|
|
\newcommand*{\insertheaderrule}{\rlap{\rule[-.5\normalbaselineskip]{\textwidth}{.4pt}}}
|
|
|
|
\def\ps@fsrProtokoll{%
|
|
|
|
\def\@oddhead{\insertheaderrule%
|
|
|
|
Protokoll zur FSR--Sitzung vom \the\date \hfill Fachschaftsrat Informatik%
|
|
|
|
}
|
|
|
|
}
|
|
|
|
\def\ps@fsrProtokollTitlePage{%
|
|
|
|
\def\@oddhead{\insertheaderrule%
|
|
|
|
\includegraphics[height=4em]{fsrlogo}\hfill%
|
|
|
|
\includegraphics[height=4em]{tudlogo}%
|
|
|
|
}
|
|
|
|
}
|
2023-02-04 11:10:29 +01:00
|
|
|
% from https://tex.stackexchange.com/questions/566641/test-for-substring-with-expl3-in-argument-of-setlength
|
|
|
|
\newcommand{\textInString}[2]{%
|
|
|
|
\ifnum\pdfmatch{#1}{#2}=1
|
|
|
|
\expandafter\@firstoftwo
|
|
|
|
\else
|
|
|
|
\expandafter\@secondoftwo
|
|
|
|
\fi
|
|
|
|
}
|
2018-05-14 12:37:44 +02:00
|
|
|
\makeatother
|
|
|
|
\pagestyle{fsrProtokoll}
|
|
|
|
|
|
|
|
% counter for lists
|
|
|
|
\ExplSyntaxOn
|
|
|
|
\NewDocumentCommand \countItems { m } {
|
|
|
|
\clist_count:N #1
|
|
|
|
}
|
|
|
|
\NewDocumentCommand \countInlineItems { m } {
|
|
|
|
\clist_count:n {#1}
|
|
|
|
}
|
|
|
|
\ExplSyntaxOff
|
|
|
|
|
|
|
|
\newcommand{\quorate} {
|
|
|
|
Die Sitzungsleitung eröffnet die Sitzung.
|
|
|
|
\newcount\quorateThreshold
|
|
|
|
\quorateThreshold=\the\numexpr (17 - \countItems{\resting})
|
|
|
|
\divide\quorateThreshold by 2
|
|
|
|
\ifthenelse{\the\attendeesNumber > \the\quorateThreshold\relax} {%
|
|
|
|
Der FSR ist beschlussfähig.%
|
|
|
|
} {%
|
|
|
|
Der FSR ist nicht beschlussfähig.%
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-17 15:22:22 +02:00
|
|
|
\newcommand*{\quorum}[2] {
|
2023-02-04 11:10:29 +01:00
|
|
|
Die Sitzungsleitung eröffnet die Sitzung.
|
2019-06-17 15:22:22 +02:00
|
|
|
\newcount\quorateThreshold
|
|
|
|
\quorateThreshold=#2
|
|
|
|
Es sind #1 von #2 Mitgliedern mit aktivem Stimmrecht anwesend.
|
|
|
|
\divide\quorateThreshold by 2
|
|
|
|
\ifthenelse{#1 > \the\quorateThreshold\relax} {%
|
|
|
|
Der FSR ist somit beschlussfähig.%
|
|
|
|
} {%
|
|
|
|
Der FSR ist somit nicht beschlussfähig.%
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-14 12:37:44 +02:00
|
|
|
% titlepage
|
|
|
|
\renewcommand*{\maketitle}{%
|
|
|
|
\begin{titlepage}%
|
|
|
|
\thispagestyle{fsrProtokollTitlePage}
|
|
|
|
\begin{center}%
|
|
|
|
\vspace*{1cm}%
|
|
|
|
\textbf{\Large Protokoll zur FSR--Sitzung vom \the\date}%
|
|
|
|
|
2023-02-04 11:10:29 +01:00
|
|
|
Sitzungsleitung: \the\chairperson \, | %
|
2018-05-14 12:37:44 +02:00
|
|
|
Protokoll: \the\clerks%
|
|
|
|
|
2023-02-04 11:10:29 +01:00
|
|
|
Sitzungsbeginn: \the\meetingStart \, | Sitzungsende: \the\meetingEnd%
|
|
|
|
|
|
|
|
Sitzungsort: \the\meetingPlace % required by FSO
|
2018-05-14 12:37:44 +02:00
|
|
|
\end{center}%
|
|
|
|
|
2019-06-17 15:22:22 +02:00
|
|
|
\textbf{Anwesende:} \the\attendees% \, (\the\attendeesNumber \, von 17)%
|
2018-05-14 12:37:44 +02:00
|
|
|
|
|
|
|
\textbf{Entschuldigt Fehlende:} \ifthenelse{\equal{\the\excused}{}} { $\emptyset$ } { \the\excused }%
|
|
|
|
|
|
|
|
\textbf{Unentschuldigt Fehlende:} \ifthenelse{\equal{\the\unexcused}{}} { $\emptyset$ } { \the\unexcused }%
|
|
|
|
|
|
|
|
\textbf{Ruhende:} \ifthenelse{\equal{\the\resting}{}} { $\emptyset$ } { \the\resting }%
|
|
|
|
|
|
|
|
\textbf{Gäste:} \ifthenelse{\equal{\the\guests}{}} { $\emptyset$ } { \the\guests }%
|
|
|
|
\vspace{\baselineskip}
|
2019-06-17 15:22:22 +02:00
|
|
|
%\quorate % automatische Feststellung der Beschlussfähigkeit
|
2018-05-14 12:37:44 +02:00
|
|
|
\end{titlepage}%
|
|
|
|
\hypersetup{%
|
|
|
|
pdfauthor=Fachschaftsrat Informatik,
|
|
|
|
pdftitle=Protokoll zur FSR-Sitzung vom \the\date
|
|
|
|
}
|
|
|
|
}
|
|
|
|
\let\endtitlepage\relax
|
|
|
|
|
|
|
|
% vote environment
|
|
|
|
\newsavebox{\mybox}
|
|
|
|
\newcounter{x} % counter to add up two arguments
|
|
|
|
\newenvironment{vote} {%
|
2019-07-08 17:21:23 +02:00
|
|
|
\immediate\write\exportdata{-}
|
2018-05-14 12:37:44 +02:00
|
|
|
\begin{lrbox}{\mybox}\begin{minipage}{.985\textwidth}
|
2019-06-21 18:00:51 +02:00
|
|
|
\newcommand*{\voteNumber}[1]{%
|
2023-02-04 11:10:29 +01:00
|
|
|
%see section VOTENUMBER at the end
|
|
|
|
\ifthenelse{\equal{##1}{}}{}{% else (argument is not empty)
|
|
|
|
\setcounter{votenumber}{##1}%
|
|
|
|
}%
|
|
|
|
\immediate\write\exportdata{ decision_id: "\the\year/\thevotenumber"}%
|
|
|
|
\textbf{\the\year\,/\,\thevotenumber:}\\%
|
|
|
|
\stepcounter{votenumber}%
|
2019-06-21 18:00:51 +02:00
|
|
|
}%
|
2018-05-14 12:37:44 +02:00
|
|
|
\newcommand*{\voteMoney}[1]{%
|
2019-07-08 17:21:23 +02:00
|
|
|
\ifthenelse{\equal{##1}{}} {%
|
|
|
|
\immediate\write\exportdata{ money_limit: NULL}%
|
|
|
|
\textbf{Antrag}%
|
|
|
|
} {%
|
|
|
|
\immediate\write\exportdata{ money_limit: ##1}%
|
2023-02-04 11:10:29 +01:00
|
|
|
\textbf{Finanzantrag über \EUR{##1} -- Antrag}%
|
2019-07-08 17:21:23 +02:00
|
|
|
}%
|
2018-05-14 12:37:44 +02:00
|
|
|
}
|
2020-09-30 13:05:10 +02:00
|
|
|
\newcommand{\voteText}[1]{%
|
2019-07-08 17:21:23 +02:00
|
|
|
\immediate\write\exportdata{ text: "##1"}%
|
|
|
|
##1\vspace{\baselineskip}\\}%
|
2020-09-30 13:05:10 +02:00
|
|
|
\newcommand*{\voteSubmitter}[1]{%
|
|
|
|
\immediate\write\exportdata{ submitter: "##1"}%
|
|
|
|
\textbf{Antragsteller\_in: }##1\vspace{\baselineskip}\\}%
|
2023-03-28 17:31:53 +02:00
|
|
|
\newcommand*{\voteReason}[1]{%
|
|
|
|
\immediate\write\exportdata{ rationale: "##1"}%
|
|
|
|
\ifthenelse{\equal{##1}{}}{}{%
|
|
|
|
\textbf{Begründung: }##1\vspace{\baselineskip}\\}%
|
|
|
|
}%
|
|
|
|
\newcommand*{\voting}[4][]{
|
|
|
|
\textbf{Abstimmung: }%
|
|
|
|
\ifthenelse{\equal{##2}{} \AND \equal{##3}{} \AND \equal{##4}{}} {%
|
|
|
|
\immediate\write\exportdata{ v_yes: 0}%
|
|
|
|
\immediate\write\exportdata{ v_no: 0}%
|
|
|
|
\immediate\write\exportdata{ v_neutral: 0}%
|
|
|
|
\immediate\write\exportdata{ accepted: 1}%
|
|
|
|
Der Antrag wurde ohne Gegenrede\ifthenelse{\equal{##1}{}}{ }{ ##1 }angenommen.%
|
|
|
|
} {%
|
|
|
|
\immediate\write\exportdata{ v_yes: ##2}%
|
|
|
|
\immediate\write\exportdata{ v_no: ##3}%
|
|
|
|
\immediate\write\exportdata{ v_neutral: ##4}%
|
|
|
|
Dafür: ##2, Dagegen: ##3, Enthaltungen: ##4%
|
|
|
|
\\%
|
|
|
|
\setcounter{x}{##3+##4}%
|
|
|
|
\ifnum##2>\arabic{x}%
|
|
|
|
{%
|
|
|
|
\immediate\write\exportdata{ accepted: 1}%
|
|
|
|
Der Antrag wurde ##1 angenommen.
|
|
|
|
}%
|
|
|
|
\else%
|
|
|
|
{
|
|
|
|
\immediate\write\exportdata{ accepted: 0}%
|
|
|
|
Der Antrag wurde ##1 abgelehnt.
|
|
|
|
}%
|
|
|
|
\fi%
|
|
|
|
}%
|
|
|
|
}%
|
|
|
|
\newcommand*{\voteComment}[1]{%
|
|
|
|
\immediate\write\exportdata{ comment: "##1"}%
|
|
|
|
##1
|
|
|
|
}%
|
|
|
|
} {
|
|
|
|
\end{minipage}\end{lrbox}\fbox{\usebox{\mybox}}
|
|
|
|
}
|
|
|
|
|
|
|
|
\newenvironment{vote-two-thirds} {%
|
|
|
|
\immediate\write\exportdata{-}
|
|
|
|
\begin{lrbox}{\mybox}\begin{minipage}{.985\textwidth}
|
|
|
|
\newcommand*{\voteNumber}[1]{%
|
|
|
|
%see section VOTENUMBER at the end
|
|
|
|
\ifthenelse{\equal{##1}{}}{}{% else (argument is not empty)
|
|
|
|
\setcounter{votenumber}{##1}%
|
|
|
|
}%
|
|
|
|
\immediate\write\exportdata{ decision_id: "\the\year/\thevotenumber"}%
|
|
|
|
\textbf{\the\year\,/\,\thevotenumber:}\\%
|
|
|
|
\stepcounter{votenumber}%
|
|
|
|
}%
|
|
|
|
\newcommand*{\voteMoney}[1]{%
|
|
|
|
\ifthenelse{\equal{##1}{}} {%
|
|
|
|
\immediate\write\exportdata{ money_limit: NULL}%
|
|
|
|
\textbf{Antrag}%
|
|
|
|
} {%
|
|
|
|
\immediate\write\exportdata{ money_limit: ##1}%
|
|
|
|
\textbf{Finanzantrag über \EUR{##1} - Antrag}%
|
|
|
|
}%
|
|
|
|
}
|
|
|
|
\newcommand*{\voteText}[1]{%
|
|
|
|
\immediate\write\exportdata{ text: "##1"}%
|
|
|
|
##1\vspace{\baselineskip}\\}%
|
|
|
|
\newcommand*{\voteSubmitter}[1]{%
|
|
|
|
\immediate\write\exportdata{ submitter: "##1"}%
|
|
|
|
\textbf{Antragsteller\_in: }##1\vspace{\baselineskip}\\}%
|
2019-07-08 17:21:23 +02:00
|
|
|
\newcommand*{\voteReason}[1]{%
|
|
|
|
\immediate\write\exportdata{ rationale: "##1"}%
|
|
|
|
\textbf{Begründung: }##1\vspace{\baselineskip}\\}%
|
2018-05-14 12:37:44 +02:00
|
|
|
\newcommand*{\voting}[3]{\textbf{Abstimmung: }%
|
|
|
|
\ifthenelse{\equal{##1}{} \AND \equal{##2}{} \AND \equal{##3}{}} {%
|
2019-07-08 17:21:23 +02:00
|
|
|
\immediate\write\exportdata{ v_yes: 0}%
|
|
|
|
\immediate\write\exportdata{ v_no: 0}%
|
|
|
|
\immediate\write\exportdata{ v_neutral: 0}%
|
|
|
|
\immediate\write\exportdata{ accepted: 1}%
|
2018-05-14 12:37:44 +02:00
|
|
|
Der Antrag wurde ohne Gegenrede angenommen.%
|
|
|
|
} {%
|
2019-07-08 17:21:23 +02:00
|
|
|
\immediate\write\exportdata{ v_yes: ##1}%
|
|
|
|
\immediate\write\exportdata{ v_no: ##2}%
|
|
|
|
\immediate\write\exportdata{ v_neutral: ##3}%
|
2018-05-14 12:37:44 +02:00
|
|
|
Dafür: ##1, Dagegen: ##2, Enthaltungen: ##3%
|
|
|
|
\\%
|
|
|
|
\setcounter{x}{##2+##3}%
|
|
|
|
\ifnum##1>\arabic{x}%
|
2019-07-08 17:21:23 +02:00
|
|
|
{%
|
|
|
|
\immediate\write\exportdata{ accepted: 1}%
|
|
|
|
Der Antrag wurde angenommen.
|
|
|
|
}%
|
2018-05-14 12:37:44 +02:00
|
|
|
\else%
|
2019-07-08 17:21:23 +02:00
|
|
|
{
|
|
|
|
\immediate\write\exportdata{ accepted: 0}%
|
|
|
|
Der Antrag wurde abgelehnt.
|
|
|
|
}%
|
2018-05-14 12:37:44 +02:00
|
|
|
\fi%
|
|
|
|
}%
|
|
|
|
}%
|
2019-07-08 17:21:23 +02:00
|
|
|
\newcommand*{\voteComment}[1]{%
|
|
|
|
\immediate\write\exportdata{ comment: "##1"}%
|
|
|
|
##1
|
|
|
|
}%
|
2018-05-14 12:37:44 +02:00
|
|
|
} {
|
|
|
|
\end{minipage}\end{lrbox}\fbox{\usebox{\mybox}}
|
|
|
|
}
|
|
|
|
|
2020-09-30 13:05:10 +02:00
|
|
|
\newenvironment{vote-two-thirds} {%
|
|
|
|
\immediate\write\exportdata{-}
|
|
|
|
\begin{lrbox}{\mybox}\begin{minipage}{.985\textwidth}
|
|
|
|
\newcommand*{\voteNumber}[1]{%
|
2023-02-04 11:10:29 +01:00
|
|
|
%see section VOTENUMBER at the end
|
|
|
|
\ifthenelse{\equal{##1}{}}{}{% else (argument is not empty)
|
|
|
|
\setcounter{votenumber}{##1}%
|
|
|
|
}%
|
|
|
|
\immediate\write\exportdata{ decision_id: "\the\year/\thevotenumber"}%
|
|
|
|
\textbf{\the\year\,/\,\thevotenumber:}\\%
|
|
|
|
\stepcounter{votenumber}%
|
2020-09-30 13:05:10 +02:00
|
|
|
}%
|
|
|
|
\newcommand*{\voteMoney}[1]{%
|
|
|
|
\ifthenelse{\equal{##1}{}} {%
|
|
|
|
\immediate\write\exportdata{ money_limit: NULL}%
|
|
|
|
\textbf{Antrag}%
|
|
|
|
} {%
|
|
|
|
\immediate\write\exportdata{ money_limit: ##1}%
|
2023-02-04 11:10:29 +01:00
|
|
|
\textbf{Finanzantrag über \EUR{##1} - Antrag}%
|
2020-09-30 13:05:10 +02:00
|
|
|
}%
|
|
|
|
}
|
|
|
|
\newcommand*{\voteText}[1]{%
|
|
|
|
\immediate\write\exportdata{ text: "##1"}%
|
|
|
|
##1\vspace{\baselineskip}\\}%
|
2023-02-04 11:10:29 +01:00
|
|
|
\newcommand*{\voteSubmitter}[1]{%
|
|
|
|
\immediate\write\exportdata{ submitter: "##1"}%
|
|
|
|
\textbf{Antragsteller\_in: }##1\vspace{\baselineskip}\\}%
|
2020-09-30 13:05:10 +02:00
|
|
|
\newcommand*{\voteReason}[1]{%
|
|
|
|
\immediate\write\exportdata{ rationale: "##1"}%
|
|
|
|
\textbf{Begründung: }##1\vspace{\baselineskip}\\}%
|
|
|
|
\newcommand*{\voting}[3]{\textbf{Abstimmung: }%
|
|
|
|
\ifthenelse{\equal{##1}{} \AND \equal{##2}{} \AND \equal{##3}{}} {%
|
|
|
|
\immediate\write\exportdata{ v_yes: 0}%
|
|
|
|
\immediate\write\exportdata{ v_no: 0}%
|
|
|
|
\immediate\write\exportdata{ v_neutral: 0}%
|
|
|
|
\immediate\write\exportdata{ accepted: 1}%
|
|
|
|
Der Antrag wurde ohne Gegenrede angenommen.%
|
|
|
|
} {%
|
|
|
|
\immediate\write\exportdata{ v_yes: ##1}%
|
|
|
|
\immediate\write\exportdata{ v_no: ##2}%
|
|
|
|
\immediate\write\exportdata{ v_neutral: ##3}%
|
|
|
|
Dafür: ##1, Dagegen: ##2, Enthaltungen: ##3%
|
|
|
|
\\%
|
|
|
|
\setcounter{x}{((\the\attendeesNumber)/3)*2}%
|
|
|
|
\ifnum##1>\arabic{x}%
|
|
|
|
{%
|
|
|
|
\immediate\write\exportdata{ accepted: 1}%
|
2023-03-28 17:31:53 +02:00
|
|
|
Der Antrag wurde mit einer 2/3-Mehrheit angenommen.
|
2020-09-30 13:05:10 +02:00
|
|
|
}%
|
|
|
|
\else%
|
|
|
|
{
|
|
|
|
\immediate\write\exportdata{ accepted: 0}%
|
2023-03-28 17:31:53 +02:00
|
|
|
Der Antrag wurde abgelehnt, da keine 2/3-Mehrheit zustande kam.
|
2020-09-30 13:05:10 +02:00
|
|
|
}%
|
|
|
|
\fi%
|
|
|
|
}%
|
|
|
|
}%
|
|
|
|
\newcommand*{\voteComment}[1]{%
|
|
|
|
\immediate\write\exportdata{ comment: "##1"}%
|
|
|
|
##1
|
|
|
|
}%
|
|
|
|
} {
|
|
|
|
\end{minipage}\end{lrbox}\fbox{\usebox{\mybox}}
|
|
|
|
}
|
|
|
|
|
2018-05-14 12:37:44 +02:00
|
|
|
% poll environment
|
|
|
|
\newenvironment{poll} {%
|
|
|
|
\begin{lrbox}{\mybox}\begin{minipage}{.985\textwidth}
|
|
|
|
\newcommand*{\pollText}[1]{%
|
|
|
|
\textbf{Standpunkt: } ##1\vspace{\baselineskip}\\%
|
|
|
|
}%
|
|
|
|
\newcommand*{\voting}[2]{%
|
2019-06-17 15:22:22 +02:00
|
|
|
\textbf{Meinungsbild: } Dafür: ##1, Dagegen: ##2%
|
2018-05-14 12:37:44 +02:00
|
|
|
}%
|
|
|
|
} {
|
|
|
|
\end{minipage}\end{lrbox}\fbox{\usebox{\mybox}}
|
|
|
|
}
|
|
|
|
|
2023-02-04 11:10:29 +01:00
|
|
|
% election command - not an environment!
|
|
|
|
\newcommand{\election}[3] {%
|
|
|
|
\begin{lrbox}{\mybox}\begin{minipage}{.985\textwidth}
|
|
|
|
\ifthenelse{\isempty{#1}}{}{%
|
|
|
|
\textbf{#1. Wahlgang:}\\[7pt]
|
|
|
|
}
|
|
|
|
\begin{tabularx}{\linewidth}{p{.275\linewidth}|c|c|c|l}
|
|
|
|
\textbf{Kandidat\_in} & \textbf{Dafür} & \textbf{Dagegen} &
|
|
|
|
\textbf{Enthaltungen} & \textbf{Ergebnis} \\
|
|
|
|
\hline
|
|
|
|
#2
|
|
|
|
\end{tabularx}%
|
|
|
|
\ifthenelse{\isempty{#3}}{}{%
|
|
|
|
\\[7pt]
|
|
|
|
#3
|
|
|
|
}
|
|
|
|
\end{minipage}\end{lrbox}\fbox{\usebox{\mybox}}
|
|
|
|
}
|
|
|
|
|
2018-05-14 12:37:44 +02:00
|
|
|
\newcommand*{\away}[1] {
|
|
|
|
\ifthenelse{\the\numexpr \countInlineItems{#1} > 1} {%
|
|
|
|
\textit{[#1 verlassen die Sitzung]}%
|
|
|
|
} {%
|
|
|
|
\textit{[#1 verlässt die Sitzung]}%
|
|
|
|
}
|
|
|
|
}
|
|
|
|
\newcommand*{\appear}[1] {
|
|
|
|
\ifthenelse{\the\numexpr \countInlineItems{#1} > 1} {%
|
|
|
|
\textit{[#1 erscheinen zur Sitzung]}%
|
|
|
|
} {%
|
|
|
|
\textit{[#1 erscheint zur Sitzung]}%
|
|
|
|
}
|
|
|
|
}
|
2023-02-04 11:10:29 +01:00
|
|
|
|
|
|
|
\newcommand*{\meetingBreak}[1] {
|
|
|
|
\textit{Die Sitzung wird für #1 Minuten unterbrochen.}%
|
|
|
|
}
|
|
|
|
|
2018-05-14 12:37:44 +02:00
|
|
|
\newcommand*{\signature} {
|
|
|
|
\vfill
|
|
|
|
\noindent\rule{6.5cm}{0.3pt} \hfill \noindent\rule{6.5cm}{0.3pt}
|
|
|
|
\noindent\makebox[6.5cm][l]{Sitzungsleitung} \hfill \noindent\makebox[6.5cm][l]{Protokoll}
|
|
|
|
}
|
|
|
|
|
2023-02-04 11:10:29 +01:00
|
|
|
\definecolor{MyWhite}{HTML}{FFFFFF}
|
|
|
|
\newcommand{\invisible}[1]{\textcolor{MyWhite}{#1}}
|
2023-03-28 17:31:53 +02:00
|
|
|
\newcommand{\warning}[1]{\textbf{\textsc{\textcolor{red}{#1}}}}
|
|
|
|
\newcommand{\warn}{\warning{warn}}
|
2023-02-04 11:10:29 +01:00
|
|
|
|
|
|
|
%see section VOTENUMBER at the end
|
|
|
|
\newcommand*{\initVoteNumber}[1] {
|
|
|
|
\setcounter{votenumber}{#1}
|
|
|
|
}
|
|
|
|
|
2019-06-21 18:00:51 +02:00
|
|
|
\AtBeginDocument{%
|
2023-02-04 11:10:29 +01:00
|
|
|
%see section VOTENUMBER at the end
|
|
|
|
\newcounter{votenumber}
|
2019-06-21 18:00:51 +02:00
|
|
|
\immediate\newwrite\exportdata%
|
|
|
|
\immediate\openout\exportdata=tmp.txt\relax
|
|
|
|
}
|
|
|
|
|
|
|
|
\AtEndDocument{%
|
2019-07-08 17:21:23 +02:00
|
|
|
\immediate\write18{mv tmp.txt \the\date.yaml}
|
2019-06-21 18:00:51 +02:00
|
|
|
\immediate\closeout\exportdata%
|
|
|
|
}
|
|
|
|
|
2018-05-14 12:37:44 +02:00
|
|
|
% tokens
|
|
|
|
\newtoks\date
|
|
|
|
\newtoks\attendeesNumber
|
|
|
|
\newtoks\chairperson
|
|
|
|
\newtoks\clerks
|
|
|
|
\newtoks\meetingStart
|
|
|
|
\newtoks\meetingEnd
|
2023-02-04 11:10:29 +01:00
|
|
|
\newtoks\meetingPlace
|
2018-05-14 12:37:44 +02:00
|
|
|
\newtoks\attendees
|
|
|
|
\newtoks\excused
|
|
|
|
\newtoks\unexcused
|
|
|
|
\newtoks\resting
|
|
|
|
\newtoks\guests
|
|
|
|
\endinput
|
2019-06-17 15:22:22 +02:00
|
|
|
|
2023-02-04 11:10:29 +01:00
|
|
|
%documentation on VOTENUMBERS (version 0.2 -> 0.2.1, Author: Anton Obersteiner)
|
|
|
|
%votes are numbered within one year. use \initVoteCount{num} at the beginning
|
|
|
|
%of your protocol to set this counter to num, otherwise the counter starts at 0.
|
|
|
|
%each vote is automatically numbered 20YY / <votenumber> and then
|
|
|
|
%increments the counter *if you call \voteNumber{} in your vote environment*.
|
|
|
|
%if you call votenumber with an argument: \voteNumber{num}, the counter is reset to that value
|
|
|
|
%and increments from there in the votes after.
|
|
|
|
%for backwards compatibility, the argument is not optional (would require \voteNumber[] syntax),
|
|
|
|
%but the argument to the {} is ignored if empty.
|