Modify Skeleton
This commit is contained in:
parent
db0a5244ac
commit
2115479108
@ -1,133 +1,27 @@
|
||||
% !TEX root = ../Main.tex
|
||||
\chapter{Infoboxen}
|
||||
|
||||
\section{API / Benutzung von Infoboxen}
|
||||
% ========================================================
|
||||
% Example Content:
|
||||
\begin{TOP}{Tagesordnungspunkt 1}
|
||||
Dies ist ein Beispieltext für einen Tagesordnungspunkt.
|
||||
|
||||
% Commands for InfoBoxes
|
||||
Dieses Template erlaubt die Verwendung von verschiedenen Infoboxen, die in \texttt{TeX/Modules/Infoboxes.tex} definiert sind. Diese Infoboxen können in beliebigen \texttt{.tex}-Dateien verwendet werden.
|
||||
\smallskip
|
||||
\begin{lstlisting}[language=tex]
|
||||
\begin{InfoBox}
|
||||
<content>
|
||||
\end{InfoBox}
|
||||
\end{lstlisting}
|
||||
\smallskip
|
||||
\begin{TaskBox}{109}
|
||||
Dies ist ein Beispieltext für eine Aufgabe.
|
||||
\end{TaskBox}
|
||||
|
||||
Die vordefinierten Infobox-Typen sind:
|
||||
\begin{VotingResults}{3}{2}{1}
|
||||
Soll der Antrag "..."\relax~von ... angenommen werden?
|
||||
\end{VotingResults}
|
||||
\end{TOP}
|
||||
|
||||
\begin{itemize}
|
||||
\item \texttt{InfoBox}
|
||||
\item \texttt{WarningBox}
|
||||
\item \texttt{SuccessBox}
|
||||
\item \texttt{ImportantBox}
|
||||
\end{itemize}
|
||||
\begin{TOP}{Tagesordnungspunkt 2}
|
||||
Dies ist ein Beispieltext für einen weiteren Tagesordnungspunkt.
|
||||
|
||||
Des Weiteren können eigene Infoboxen mit dem Befehl \texttt{CustomBox} erstellt werden. Dieser Befehl erwartet zwei Argumente: ein Icon und eine Farbe.
|
||||
\smallskip
|
||||
\begin{lstlisting}[language=tex]
|
||||
\begin{CustomBox}{\faIcon{<fa-icon>}}{<color>}
|
||||
<content>
|
||||
\end{CustomBox}
|
||||
\end{lstlisting}
|
||||
\smallskip
|
||||
Als Farbe können entweder die \LaTeX-Standardfarben oder eigene Farben verwendet werden. Die Icons können der \href{https://fontawesome.com/icons?d=gallery&m=free}{Font Awesome Icon Library} entnommen werden.
|
||||
\begin{TaskBox}{109}
|
||||
Dies ist ein Beispieltext für eine weitere Aufgabe.
|
||||
\end{TaskBox}
|
||||
|
||||
\section{Beispiele}
|
||||
|
||||
\begin{InfoBox}
|
||||
\subsubsection{Äußere InfoBox}
|
||||
Diese InfoBox enthält mehrere andere Infoboxen, die über eine \texttt{multicols}-Umgebung in zwei Spalten angeordnet sind.
|
||||
\vspace*{-1em}
|
||||
\begin{multicols}{2}
|
||||
\begin{CustomBox}{\faIcon{user-graduate}}{britishracinggreen}
|
||||
\subsubsection{Custom Box 1}
|
||||
Diese Box hat das \texttt{user-graduate}-Icon und die Farbe \texttt{britishracinggreen}.
|
||||
\end{CustomBox}
|
||||
\begin{CustomBox}{\faIcon{chart-pie}}{britishracinggreen}
|
||||
\subsubsection{Custom Box 2}
|
||||
\vspace{0.5em}
|
||||
\begin{tikzpicture}[scale=0.6]
|
||||
\pie [cloud, explode=0.1, text=legend, style=very thin] {
|
||||
10/A,
|
||||
20/B,
|
||||
30/C,
|
||||
40/D
|
||||
}
|
||||
\end{tikzpicture}
|
||||
\vspace{0.5em}\\
|
||||
Diese Box hat das \texttt{chart-pie}-Icon und die Farbe \texttt{britishracinggreen}.
|
||||
Sie enthält ein Tortendiagramm im \texttt{cloud}-Stil, das über das \texttt{pgf-pie}-Paket in TikZ erstellt wurde.
|
||||
\end{CustomBox}
|
||||
\columnbreak
|
||||
\begin{InfoBox}
|
||||
\subsubsection{Innere InfoBox}
|
||||
Diese InfoBox enthält eine doppelt geschachtelte \texttt{CustomBox}.
|
||||
|
||||
% Nested UserBox
|
||||
\begin{CustomBox}{\faIcon{user}}{blue}
|
||||
\subsubsection{User Box}
|
||||
Diese Box hat das \texttt{user}-Icon und die Farbe \texttt{blue}.
|
||||
\end{CustomBox}
|
||||
\end{InfoBox}
|
||||
\begin{WarningBox}
|
||||
\subsubsection{Warning Box}
|
||||
Diese Box ist eine \texttt{WarningBox}.
|
||||
\end{WarningBox}
|
||||
\begin{SuccessBox}
|
||||
\subsubsection{Success Box}
|
||||
Diese Box ist eine \texttt{SuccessBox}.
|
||||
\end{SuccessBox}
|
||||
\end{multicols}
|
||||
\end{InfoBox}
|
||||
|
||||
\pagebreak
|
||||
|
||||
\section{Code}
|
||||
|
||||
\begin{lstlisting}[language=tex]
|
||||
\begin{InfoBox}
|
||||
\subsubsection{Äußere InfoBox}
|
||||
Diese InfoBox enthält mehrere andere Infoboxen, die über eine \texttt{multicols}-Umgebung in zwei Spalten angeordnet sind.
|
||||
\vspace*{-1em}
|
||||
\begin{multicols}{2}
|
||||
\begin{CustomBox}{\faIcon{user-graduate}}{britishracinggreen}
|
||||
\subsubsection{Custom Box 1}
|
||||
Diese Box hat das \texttt{user-graduate}-Icon und die Farbe \texttt{britishracinggreen}.
|
||||
\end{CustomBox}
|
||||
\begin{CustomBox}{\faIcon{chart-pie}}{britishracinggreen}
|
||||
\subsubsection{Custom Box 2}
|
||||
\vspace{0.5em}
|
||||
\begin{tikzpicture}[scale=0.6]
|
||||
\pie [cloud, explode=0.1, text=legend, style=very thin] {
|
||||
10/A,
|
||||
20/B,
|
||||
30/C,
|
||||
40/D
|
||||
}
|
||||
\end{tikzpicture}
|
||||
\vspace{0.5em}\\
|
||||
Diese Box hat das \texttt{chart-pie}-Icon und die Farbe \texttt{britishracinggreen}.
|
||||
Sie enthält ein Tortendiagramm im \texttt{cloud}-Stil, das über das \texttt{pgf-pie}-Paket in TikZ erstellt wurde.
|
||||
\end{CustomBox}
|
||||
\columnbreak
|
||||
\begin{InfoBox}
|
||||
\subsubsection{Innere InfoBox}
|
||||
Diese InfoBox enthält eine doppelt geschachtelte \texttt{CustomBox}.
|
||||
|
||||
% Nested UserBox
|
||||
\begin{CustomBox}{\faIcon{user}}{blue}
|
||||
\subsubsection{User Box}
|
||||
Diese Box hat das \texttt{user}-Icon und die Farbe \texttt{blue}.
|
||||
\end{CustomBox}
|
||||
\end{InfoBox}
|
||||
\begin{WarningBox}
|
||||
\subsubsection{Warning Box}
|
||||
Diese Box ist eine \texttt{WarningBox}.
|
||||
\end{WarningBox}
|
||||
\begin{SuccessBox}
|
||||
\subsubsection{Success Box}
|
||||
Diese Box ist eine \texttt{SuccessBox}.
|
||||
\end{SuccessBox}
|
||||
\end{multicols}
|
||||
\end{InfoBox}
|
||||
\end{lstlisting}
|
||||
\begin{VotingResults}{2}{3}{1}
|
||||
Soll der Antrag "..."\relax, gestellt von ... von der Verfassten Studierendenschaft aus ...-Mitteln finanziert werden?
|
||||
\end{VotingResults}
|
||||
\end{TOP}
|
||||
@ -284,6 +284,9 @@
|
||||
%----------------------------------------
|
||||
% TABLE OF CONTENTS
|
||||
%----------------------------------------
|
||||
% Set the toc page style to fancy
|
||||
\tocloftpagestyle{fancy}
|
||||
|
||||
% Page Numbering in the Table of Contents
|
||||
\renewcommand\cftchappagefont{\blenderfont\color{gray}}
|
||||
\renewcommand\cftsecpagefont{\blenderfont\color{gray}}
|
||||
@ -296,6 +299,20 @@
|
||||
\renewcommand\cftsubsecfont{\blenderfont\color{gray}}
|
||||
\renewcommand\cftsubsubsecfont{\blenderfont\color{gray}}
|
||||
|
||||
\newlength\additionalToCIndent
|
||||
\settowidth\additionalToCIndent{TOP.\hspace*{1em}}
|
||||
|
||||
\addtolength\cftchapnumwidth{\additionalToCIndent}
|
||||
|
||||
\typeout{cftchapnumwidth: \the\cftchapnumwidth}
|
||||
|
||||
\renewcommand\thechapter{TOP.\arabic{chapter}}
|
||||
|
||||
\RedeclareSectionCommand[
|
||||
tocindent=0cm,
|
||||
tocnumwidth=\cftchapnumwidth
|
||||
]{chapter}
|
||||
|
||||
% ----------------------------------------
|
||||
% Local Imports
|
||||
% ----------------------------------------
|
||||
@ -307,5 +324,4 @@
|
||||
\input{\classPath/Modules/MeetingPresence}
|
||||
\input{\classPath/Modules/InfoBlocks}
|
||||
\input{\classPath/Modules/Watermark}
|
||||
\input{\classPath/Modules/ToC}
|
||||
\input{\classPath/Modules/Typography}
|
||||
@ -1,16 +0,0 @@
|
||||
% !TEX root = ../../Main.tex
|
||||
% ==== TOC ====
|
||||
% Set the toc page style to fancy
|
||||
\tocloftpagestyle{fancy}
|
||||
|
||||
% Page Numbering in the Table of Contents
|
||||
\renewcommand\cftchappagefont{\blenderfont\color{gray}}
|
||||
\renewcommand\cftsecpagefont{\blenderfont\color{gray}}
|
||||
\renewcommand\cftsubsecpagefont{\blenderfont\color{gray}}
|
||||
\renewcommand\cftsubsubsecpagefont{\blenderfont\color{gray}}
|
||||
|
||||
% Chap/Sec/... Title in the Table of Contents
|
||||
\renewcommand\cftchapfont{\blenderfont\color{gray}}
|
||||
\renewcommand\cftsecfont{\blenderfont\color{gray}}
|
||||
\renewcommand\cftsubsecfont{\blenderfont\color{gray}}
|
||||
\renewcommand\cftsubsubsecfont{\blenderfont\color{gray}}
|
||||
11
Main.tex
11
Main.tex
@ -21,7 +21,16 @@
|
||||
{\blenderfont\tableofcontents}\vspace{\fill}\pagebreak
|
||||
|
||||
% Presence table
|
||||
\MakePresenceTable\pagebreak
|
||||
\MakePresenceTable
|
||||
\begin{CustomBox}{\faIcon{book}}{eggplant}
|
||||
\chapter*{Begrüßung und Formalia}
|
||||
\begin{itemize}
|
||||
\item Die Sitzung wird um \textbf{\meetingStartTime}~eröffnet.
|
||||
\item Beschlussfähigkeit ist \textbf{\meetingQuorum}.
|
||||
\item Die Tagesordnung wird genehmigt.
|
||||
\end{itemize}
|
||||
\end{CustomBox}
|
||||
\pagebreak
|
||||
|
||||
% ===== Content =====
|
||||
\input{Content/01_content.tex}
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
|
||||
\NewEnviron{TOP}[1]{
|
||||
\goodbreak
|
||||
\section{#1}
|
||||
\chapter{#1}
|
||||
\BODY
|
||||
\vspace{1.5em}
|
||||
}
|
||||
@ -50,7 +50,7 @@
|
||||
% Command to make the final table
|
||||
\DeclareRobustCommand{\MakePresenceTable}{
|
||||
\begin{CustomBox}{\faIcon{user}}{eggplant}
|
||||
\chapter{Anwesenheitsliste}
|
||||
\chapter*{Anwesenheitsliste}
|
||||
\PresenceTable{
|
||||
\the\committeeMembers
|
||||
\specialrule{.2em}{.05em}{.05em}\addlinespace[1ex]
|
||||
@ -59,3 +59,22 @@
|
||||
}
|
||||
\end{CustomBox}
|
||||
}
|
||||
|
||||
% Task-Box pointing to Nextcloud-Deck-Cards under https://cloud.reutlingen.university/apps/deck/card/<deck-card-id>
|
||||
\newcommand{\urlOfCard}[1]{https://cloud.reutlingen.university/apps/deck/card/#1}
|
||||
|
||||
\NewEnviron{TaskBox}[1]{
|
||||
\let\tbBODY=\BODY
|
||||
\vspace{1em}
|
||||
\begin{CustomBox}{\faIcon{tasks}}{eggplant}
|
||||
\section*{Aufgabe}
|
||||
\tbBODY
|
||||
\ifthenelse{\equal{#1}{}}{}{
|
||||
\begin{center}
|
||||
\vspace{1em}
|
||||
\textbf{Link zur Karte:} \url{\urlOfCard{#1}}
|
||||
\end{center}
|
||||
}
|
||||
\end{CustomBox}
|
||||
\vspace{1em}
|
||||
}
|
||||
@ -2,14 +2,14 @@
|
||||
|
||||
|
||||
\newcommand{\waterMarkText}{}
|
||||
\newcommand{\meetingDate}{26.11.2024}
|
||||
\newcommand{\meetingDate}{XX.XX.XXXX}
|
||||
\newcommand{\meetingLocation}{
|
||||
% Online
|
||||
% / Hybrid
|
||||
-
|
||||
}
|
||||
\newcommand{\meetingStartTime}{19:29}
|
||||
\newcommand{\meetingEndTime}{19:42}
|
||||
\newcommand{\meetingStartTime}{XX:XX}
|
||||
\newcommand{\meetingEndTime}{XX:XX}
|
||||
\newcommand{\meetingType}{
|
||||
Ordentliche Sitzung
|
||||
% Außerordentliche Sitzung
|
||||
|
||||
Loading…
Reference in New Issue
Block a user