Extract \usepackage to config/ files

This commit is contained in:
2024-06-28 17:12:06 +02:00
parent 0f9ed24779
commit a0e9332d12
5 changed files with 123 additions and 114 deletions

22
config/template.tex Normal file
View File

@@ -0,0 +1,22 @@
% Margins
\usepackage[inner=35mm, outer=20mm, top=30mm, bottom=25mm]{geometry}
% Set line spacing to 1.15
\usepackage{setspace}
\linespread{1.15}
% Typography
\usepackage{mathtools} % Math improvements
\usepackage[T1]{fontenc} % Use T1 font encoding
\usepackage[english]{babel} % Typographical rules
\usepackage[varqu, varl]{inconsolata} % Better monospace font (with alternative "quote" [varqu] and "l" [varl])
\usepackage{libertinus} % Libertinus font for text and math
\usepackage{microtype} % Micro-typography improvements (slightly more compact, better to read)
% Use sans-serif font for sections
\usepackage{sectsty}
\chapterfont{\sffamily}
\allsectionsfont{\sffamily}
% Headers
\usepackage{emptypage} % Remove headers and footers on empty pages