#52 added various configs
* pdfpages for PDF Input * lscape for landscape pages (use pdflscape for rotated pages in PDF) * enumitem for configurable referencable items and enums * csvsimple for tables from CSV * longtable for multipage tables * changed to \addbibresource (new BibLaTex style for referencing bib files) * removed spacing from booktabs table rules and changed to larger arraystretch instead * added \tabularxmulticolumn for correct aligned multicolumns in tabularx tables
This commit is contained in:
parent
e6e06e15ff
commit
76f9c8117f
29
config.tex
29
config.tex
|
@ -69,6 +69,12 @@
|
|||
% Tabellenzellen über mehrere Reihen oder Spalten
|
||||
\usepackage{multirow}
|
||||
|
||||
% \multicolumn vernünftig in tabularx nutzen - siehe https://tex.stackexchange.com/questions/236155/tabularx-and-multicolumn
|
||||
\newcommand{\tabularxmulticolumn}[3]
|
||||
{\multicolumn{#1}
|
||||
{>{\hsize=\dimexpr#1\hsize+#1\tabcolsep+\arrayrulewidth\relax}#2}
|
||||
{#3}}
|
||||
|
||||
% Möglichkeit für Zeilenumbrüche in Tabellen
|
||||
\usepackage{makecell}
|
||||
|
||||
|
@ -76,14 +82,24 @@
|
|||
\usepackage{rotating}
|
||||
|
||||
% mehr Zeilenabstand in Tabellen
|
||||
\renewcommand{\arraystretch}{1.15}
|
||||
\renewcommand{\arraystretch}{1.4}
|
||||
|
||||
% Für die Befehle \toprule, \midrule und \bottomrule, z.B. in Tabellen
|
||||
\usepackage{booktabs}
|
||||
% vertikale Abstände entfernen - siehe https://tex.stackexchange.com/questions/381718/how-to-remove-the-space-after-midrule-in-a-table
|
||||
\aboverulesep = 0mm
|
||||
\belowrulesep = 0mm
|
||||
|
||||
% mehrseitige Tabellen
|
||||
\usepackage{longtable}
|
||||
|
||||
% Farben in Tabellenzeilen
|
||||
\usepackage[table]{xcolor}
|
||||
\definecolor{tableshadow}{RGB}{240,240,240}
|
||||
|
||||
% Tabellen aus CSV
|
||||
\usepackage{csvsimple}
|
||||
|
||||
% Erlaubt die Benutzung von Farben
|
||||
\usepackage{color}
|
||||
|
||||
|
@ -102,6 +118,9 @@
|
|||
% Listen ohne Abstände \begin{compactlist}...\end{compactlist}
|
||||
\usepackage{paralist}
|
||||
|
||||
% bessere Konfiguration + Referenzen auf enums und items
|
||||
\usepackage{enumitem}
|
||||
|
||||
% Ausgabe der aktuellen Uhrzeit für die Draft-Versionen
|
||||
\usepackage{datetime}
|
||||
|
||||
|
@ -146,7 +165,7 @@
|
|||
ibidpage=true,
|
||||
citetracker=true
|
||||
]{biblatex}
|
||||
\bibliography{library/library}
|
||||
\addbibresource{library/library.bib}
|
||||
\DeclareLabeldate{
|
||||
\field{year}
|
||||
\field{date}
|
||||
|
@ -233,6 +252,12 @@
|
|||
\providecommand{\tightlist}{%
|
||||
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
||||
|
||||
% PDF Input
|
||||
\usepackage{pdfpages}
|
||||
|
||||
% Seiten im Querformat - wir wollen nicht pdflscape benutzen, da es komplette Seiten im PDF ins Querformat legt, was zu Problemen beim Druck führt (siehe https://texblog.org/2007/11/10/landscape-in-latex/)
|
||||
\usepackage{lscape}
|
||||
|
||||
% schickere \quotes
|
||||
\usepackage{framed}
|
||||
\renewenvironment{quote}{
|
||||
|
|
Loading…
Reference in New Issue
Block a user