Modify Skeleton
This commit is contained in:
parent
db0a5244ac
commit
2115479108
@ -1,133 +1,27 @@
|
|||||||
% !TEX root = ../Main.tex
|
% !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
|
\begin{TaskBox}{109}
|
||||||
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.
|
Dies ist ein Beispieltext für eine Aufgabe.
|
||||||
\smallskip
|
\end{TaskBox}
|
||||||
\begin{lstlisting}[language=tex]
|
|
||||||
\begin{InfoBox}
|
|
||||||
<content>
|
|
||||||
\end{InfoBox}
|
|
||||||
\end{lstlisting}
|
|
||||||
\smallskip
|
|
||||||
|
|
||||||
Die vordefinierten Infobox-Typen sind:
|
\begin{VotingResults}{3}{2}{1}
|
||||||
|
Soll der Antrag "..."\relax~von ... angenommen werden?
|
||||||
|
\end{VotingResults}
|
||||||
|
\end{TOP}
|
||||||
|
|
||||||
\begin{itemize}
|
\begin{TOP}{Tagesordnungspunkt 2}
|
||||||
\item \texttt{InfoBox}
|
Dies ist ein Beispieltext für einen weiteren Tagesordnungspunkt.
|
||||||
\item \texttt{WarningBox}
|
|
||||||
\item \texttt{SuccessBox}
|
|
||||||
\item \texttt{ImportantBox}
|
|
||||||
\end{itemize}
|
|
||||||
|
|
||||||
Des Weiteren können eigene Infoboxen mit dem Befehl \texttt{CustomBox} erstellt werden. Dieser Befehl erwartet zwei Argumente: ein Icon und eine Farbe.
|
\begin{TaskBox}{109}
|
||||||
\smallskip
|
Dies ist ein Beispieltext für eine weitere Aufgabe.
|
||||||
\begin{lstlisting}[language=tex]
|
\end{TaskBox}
|
||||||
\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.
|
|
||||||
|
|
||||||
\section{Beispiele}
|
\begin{VotingResults}{2}{3}{1}
|
||||||
|
Soll der Antrag "..."\relax, gestellt von ... von der Verfassten Studierendenschaft aus ...-Mitteln finanziert werden?
|
||||||
\begin{InfoBox}
|
\end{VotingResults}
|
||||||
\subsubsection{Äußere InfoBox}
|
\end{TOP}
|
||||||
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}
|
|
||||||
@ -284,6 +284,9 @@
|
|||||||
%----------------------------------------
|
%----------------------------------------
|
||||||
% TABLE OF CONTENTS
|
% TABLE OF CONTENTS
|
||||||
%----------------------------------------
|
%----------------------------------------
|
||||||
|
% Set the toc page style to fancy
|
||||||
|
\tocloftpagestyle{fancy}
|
||||||
|
|
||||||
% Page Numbering in the Table of Contents
|
% Page Numbering in the Table of Contents
|
||||||
\renewcommand\cftchappagefont{\blenderfont\color{gray}}
|
\renewcommand\cftchappagefont{\blenderfont\color{gray}}
|
||||||
\renewcommand\cftsecpagefont{\blenderfont\color{gray}}
|
\renewcommand\cftsecpagefont{\blenderfont\color{gray}}
|
||||||
@ -296,6 +299,20 @@
|
|||||||
\renewcommand\cftsubsecfont{\blenderfont\color{gray}}
|
\renewcommand\cftsubsecfont{\blenderfont\color{gray}}
|
||||||
\renewcommand\cftsubsubsecfont{\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
|
% Local Imports
|
||||||
% ----------------------------------------
|
% ----------------------------------------
|
||||||
@ -307,5 +324,4 @@
|
|||||||
\input{\classPath/Modules/MeetingPresence}
|
\input{\classPath/Modules/MeetingPresence}
|
||||||
\input{\classPath/Modules/InfoBlocks}
|
\input{\classPath/Modules/InfoBlocks}
|
||||||
\input{\classPath/Modules/Watermark}
|
\input{\classPath/Modules/Watermark}
|
||||||
\input{\classPath/Modules/ToC}
|
\input{\classPath/Modules/Typography}
|
||||||
\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
|
{\blenderfont\tableofcontents}\vspace{\fill}\pagebreak
|
||||||
|
|
||||||
% Presence table
|
% 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 =====
|
% ===== Content =====
|
||||||
\input{Content/01_content.tex}
|
\input{Content/01_content.tex}
|
||||||
|
|||||||
@ -14,4 +14,4 @@
|
|||||||
% ==== Glossary ====
|
% ==== Glossary ====
|
||||||
\input{Content/99_glossary.tex}
|
\input{Content/99_glossary.tex}
|
||||||
\makenoidxglossaries
|
\makenoidxglossaries
|
||||||
% ==== /Glossary ====
|
% ==== /Glossary ====
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
\NewEnviron{TOP}[1]{
|
\NewEnviron{TOP}[1]{
|
||||||
\goodbreak
|
\goodbreak
|
||||||
\section{#1}
|
\chapter{#1}
|
||||||
\BODY
|
\BODY
|
||||||
\vspace{1.5em}
|
\vspace{1.5em}
|
||||||
}
|
}
|
||||||
@ -50,7 +50,7 @@
|
|||||||
% Command to make the final table
|
% Command to make the final table
|
||||||
\DeclareRobustCommand{\MakePresenceTable}{
|
\DeclareRobustCommand{\MakePresenceTable}{
|
||||||
\begin{CustomBox}{\faIcon{user}}{eggplant}
|
\begin{CustomBox}{\faIcon{user}}{eggplant}
|
||||||
\chapter{Anwesenheitsliste}
|
\chapter*{Anwesenheitsliste}
|
||||||
\PresenceTable{
|
\PresenceTable{
|
||||||
\the\committeeMembers
|
\the\committeeMembers
|
||||||
\specialrule{.2em}{.05em}{.05em}\addlinespace[1ex]
|
\specialrule{.2em}{.05em}{.05em}\addlinespace[1ex]
|
||||||
@ -58,4 +58,23 @@
|
|||||||
\specialrule{.2em}{.05em}{.05em}
|
\specialrule{.2em}{.05em}{.05em}
|
||||||
}
|
}
|
||||||
\end{CustomBox}
|
\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{\waterMarkText}{}
|
||||||
\newcommand{\meetingDate}{26.11.2024}
|
\newcommand{\meetingDate}{XX.XX.XXXX}
|
||||||
\newcommand{\meetingLocation}{
|
\newcommand{\meetingLocation}{
|
||||||
% Online
|
% Online
|
||||||
% / Hybrid
|
% / Hybrid
|
||||||
-
|
-
|
||||||
}
|
}
|
||||||
\newcommand{\meetingStartTime}{19:29}
|
\newcommand{\meetingStartTime}{XX:XX}
|
||||||
\newcommand{\meetingEndTime}{19:42}
|
\newcommand{\meetingEndTime}{XX:XX}
|
||||||
\newcommand{\meetingType}{
|
\newcommand{\meetingType}{
|
||||||
Ordentliche Sitzung
|
Ordentliche Sitzung
|
||||||
% Außerordentliche Sitzung
|
% Außerordentliche Sitzung
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user