From 1b0d1d4b8f373d9c05996055fb85ea8a2bb949a7 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 3 Oct 2024 11:17:29 +0200 Subject: refactor(templates/latex): Split the preamble up into multiple files --- common/latex/preamble/beamer/appendix.tex | 1 + common/latex/preamble/beamer/columns.tex | 1 + common/latex/preamble/beamer/float_positioning.tex | 4 ++++ common/latex/preamble/beamer/mod.tex | 6 ++++++ common/latex/preamble/beamer/pdfpc.tex | 2 ++ 5 files changed, 14 insertions(+) create mode 100644 common/latex/preamble/beamer/appendix.tex create mode 100644 common/latex/preamble/beamer/columns.tex create mode 100644 common/latex/preamble/beamer/float_positioning.tex create mode 100644 common/latex/preamble/beamer/mod.tex create mode 100644 common/latex/preamble/beamer/pdfpc.tex (limited to 'common/latex/preamble/beamer') diff --git a/common/latex/preamble/beamer/appendix.tex b/common/latex/preamble/beamer/appendix.tex new file mode 100644 index 0000000..e0599b9 --- /dev/null +++ b/common/latex/preamble/beamer/appendix.tex @@ -0,0 +1 @@ +\usepackage{appendixnumberbeamer} diff --git a/common/latex/preamble/beamer/columns.tex b/common/latex/preamble/beamer/columns.tex new file mode 100644 index 0000000..594bc49 --- /dev/null +++ b/common/latex/preamble/beamer/columns.tex @@ -0,0 +1 @@ +\usepackage{multicol} % allows for multi-columns everywhere, with the "multicols" environment diff --git a/common/latex/preamble/beamer/float_positioning.tex b/common/latex/preamble/beamer/float_positioning.tex new file mode 100644 index 0000000..28a9167 --- /dev/null +++ b/common/latex/preamble/beamer/float_positioning.tex @@ -0,0 +1,4 @@ +% \usepackage[absolute,overlay,showboxes]{textpos} +\usepackage[absolute,overlay]{textpos} + +\usepackage{adjustbox} diff --git a/common/latex/preamble/beamer/mod.tex b/common/latex/preamble/beamer/mod.tex new file mode 100644 index 0000000..a82acad --- /dev/null +++ b/common/latex/preamble/beamer/mod.tex @@ -0,0 +1,6 @@ +\setbeamercolor{itemize/enumerate body}{fg=gray} + +\input{headers/preamble/beamer/appendix.tex} +\input{headers/preamble/beamer/columns.tex} +\input{headers/preamble/beamer/float_positioning.tex} +\input{headers/preamble/beamer/pdfpc.tex} diff --git a/common/latex/preamble/beamer/pdfpc.tex b/common/latex/preamble/beamer/pdfpc.tex new file mode 100644 index 0000000..93e1f2d --- /dev/null +++ b/common/latex/preamble/beamer/pdfpc.tex @@ -0,0 +1,2 @@ +% "overridenote" must be specified as a package option +\usepackage[overridenote]{pdfpc} -- cgit 1.4.1