From e627dbabc0859f38874a222934beb91ca34b61a6 Mon Sep 17 00:00:00 2001 From: Maximilian Kenfenheuer Date: Thu, 30 Apr 2020 14:57:57 +0200 Subject: [PATCH 1/3] Config for diagbox, makecell, multirow --- config.tex | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config.tex b/config.tex index 8169bce..3902358 100644 --- a/config.tex +++ b/config.tex @@ -42,6 +42,15 @@ % Bessere Tabellen \usepackage{tabularx} +% diagonal unterteilte Tabellencellen +\usepackage{diagbox} + +% Tabellenzellen über mehrere Reihen oder Spalten +\usepackage{multirow} + +% Möglichkeit für zeilenumbrüche in Tabellen +\usepackage{makecell} + % mehr Zeilenabstand in Tabellen \renewcommand{\arraystretch}{1.5} From 4ac7a0bc5c5a2215244ce2b6a9cec9b1ca439e8f Mon Sep 17 00:00:00 2001 From: Dominik Becker Date: Thu, 30 Apr 2020 16:26:43 +0000 Subject: [PATCH 2/3] #34 added rotating package for sidewaystables #34 reduced default cell spacing for tables --- config.tex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config.tex b/config.tex index 3902358..ccc2d49 100644 --- a/config.tex +++ b/config.tex @@ -48,11 +48,14 @@ % Tabellenzellen über mehrere Reihen oder Spalten \usepackage{multirow} -% Möglichkeit für zeilenumbrüche in Tabellen +% Möglichkeit für Zeilenumbrüche in Tabellen \usepackage{makecell} +% Tabellen im Querformat +\usepackage{rotating} + % mehr Zeilenabstand in Tabellen -\renewcommand{\arraystretch}{1.5} +\renewcommand{\arraystretch}{1.15} % Für die Befehle \toprule, \midrule und \bottomrule, z.B. in Tabellen \usepackage{booktabs} @@ -193,9 +196,6 @@ \usepackage{chngcntr} \counterwithout{footnote}{chapter} -% mehrzeilige Tabellenzellen -\usepackage{multirow} - % UTF8-Zeichen für math-Umgebung \usepackage{amsmath} From da511ccd2454e31ba036dd96d61b7fbf70239470 Mon Sep 17 00:00:00 2001 From: Dominik Becker Date: Thu, 30 Apr 2020 16:36:12 +0000 Subject: [PATCH 3/3] #14 #34 added manual appendix handling --- .gitlab-ci.yml | 14 ++++++++++++-- appendix/appendix.tex | 13 +++++++++++++ main.tex | 2 +- 3 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 appendix/appendix.tex diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 32520d4..df7d0b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,11 +15,21 @@ latexmk: - mv main.pdf main@$ci_commit_sha_short.pdf -hunspell: +hunspell_chapters: image: tmaier/hunspell:latest stage: test script: - export HUNSPELL_FINDINGS=`for filename in chapter/*.tex; do hunspell -l -d de_DE_neu,en_US -p ./.hunspellignore -t $filename; done | sort | uniq` - echo $HUNSPELL_FINDINGS - test "$HUNSPELL_FINDINGS" == "" - allow_failure: true \ No newline at end of file + allow_failure: true + + +hunspell_appendix: + image: tmaier/hunspell:latest + stage: test + script: + - export HUNSPELL_FINDINGS=`for filename in appendix/*.tex; do hunspell -l -d de_DE_neu,en_US -p ./.hunspellignore -t $filename; done | sort | uniq` + - echo $HUNSPELL_FINDINGS + - test "$HUNSPELL_FINDINGS" == "" + allow_failure: true diff --git a/appendix/appendix.tex b/appendix/appendix.tex new file mode 100644 index 0000000..086af11 --- /dev/null +++ b/appendix/appendix.tex @@ -0,0 +1,13 @@ +%!TEX root = ../main.tex + +\addchap{Anhang} +\label{appendix} + +% create a table of appendices here manually like this: +% \contentsline{section}{\numberline{1}AppendixTitle}{\pageref{app:appendixlabel}}{app:appendixlabel} + +\newpage + +% input the appendix files here like this: +% \input{appendix/appendix1.tex} +% \newpage diff --git a/main.tex b/main.tex index 4512d27..28543b7 100644 --- a/main.tex +++ b/main.tex @@ -71,7 +71,7 @@ \newpage % appendix - uncomment if needed - % \input{additionals/appendix.tex} + % \input{appendix/appendix.tex} % \newpage % affirmation