#40 included main.tex in setup script

This commit is contained in:
Dominik Becker 2020-06-29 22:31:14 +02:00
parent 8f20dca902
commit 4c11c1d732
2 changed files with 81 additions and 0 deletions

View File

@ -17,6 +17,7 @@ then
cp templates/markdown.gitlab-ci.yml ./.gitlab-ci.yml
cp templates/markdown.azure-pipelines.yml ./azure-pipelines.yml
cp templates/markdown.tasks.json ./.vscode/tasks.json
cp templates/markdown.main.tex ./main.tex
elif [ $1 == "latex" ]
then
cp templates/latex.gitlab-ci.yml ./.gitlab-ci.yml

View File

@ -0,0 +1,80 @@
% Makros
\newcommand{\dokumententyp}{Dokumententyp}
\newcommand{\abgabedatum}{\today}
\newcommand{\ort}{Ort}
\newcommand{\dokumententitel}{Titel}
\newcommand{\dokumentenuntertitel}{Untertitel}
\newcommand{\dokumentenautor}{Autor}
\newcommand{\matrikelnr}{Matrikel-Nr.}
\newcommand{\dokumentenautoradresse}{Adresse}
\newcommand{\dokumentenpruefer}{Prüfer}
\newcommand{\studiengang}{Studiengang}
\newcommand{\studiengruppe}{Studiengruppe}
\newcommand{\institution}{Institution}
% config
\input{config.tex}
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%
%% document title page %%
%%%%%%%%%%%%%%%%%%%%%%%%%
\input{additionals/title.tex}
%%%%%%%%%%%%%
%% indexes %%
%%%%%%%%%%%%%
\pagenumbering{Roman}
% disclosure statement - uncomment if needed
% \input{additionals/disclosure.tex}
% \newpage
% executive summary - uncomment if needed
% \input{additionals/executive_summary.tex}
% \newpage
% table of contents
\tableofcontents
\newpage
% acronyms
\input{additionals/acronyms.tex}
\newpage
% list of figures
\listoffigures
\newpage
% list of tables
\listoftables
\newpage
% list of listings
\listoflistings
\newpage
%%%%%%%%%%%%%
%% content %%
%%%%%%%%%%%%%
\pagenumbering{arabic}
% when using pandoc workflow, we only need to include the build output
\input{chapter/out.tex}
\newpage
%%%%%%%%%%%%%
%% closing %%
%%%%%%%%%%%%%
% list of references
\input{additionals/references.tex}
\newpage
% appendix - uncomment if needed
% \input{appendix/appendix.tex}
% \newpage
% affirmation
\input{additionals/affirmation.tex}
\end{document}