Extract \usepackage to config/ files
This commit is contained in:
22
config/template.tex
Normal file
22
config/template.tex
Normal 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
|
||||
Reference in New Issue
Block a user