Add mylatexformat commands
This commit is contained in:
@@ -10,3 +10,9 @@ build:
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
find . -type d \( -name build -o -name svg-inkscape -o -name .aux -o -name .out \) -exec rm -rf {} +
|
find . -type d \( -name build -o -name svg-inkscape -o -name .aux -o -name .out \) -exec rm -rf {} +
|
||||||
|
|
||||||
|
format:
|
||||||
|
lualatex -ini -jobname=thesis "&lualatex" mylatexformat.ltx thesis.tex
|
||||||
|
|
||||||
|
clean-format:
|
||||||
|
rm thesis.fmt thesis.log thesis.tex.bbl thesis.tex.blg
|
||||||
|
|||||||
+16
-13
@@ -21,12 +21,6 @@
|
|||||||
\usepackage{flafter}
|
\usepackage{flafter}
|
||||||
\usepackage{placeins} % \FloatBarrier to flush floats
|
\usepackage{placeins} % \FloatBarrier to flush floats
|
||||||
|
|
||||||
% Math
|
|
||||||
\usepackage{amsmath,amsthm} % Don't load amssymb with concmath-otf
|
|
||||||
\usepackage{mathtools} % Extension of amsmath
|
|
||||||
\usepackage{unicode-math}
|
|
||||||
\usepackage{lualatex-math}
|
|
||||||
|
|
||||||
% Tables
|
% Tables
|
||||||
\usepackage{booktabs}
|
\usepackage{booktabs}
|
||||||
% \usepackage{tabularx}
|
% \usepackage{tabularx}
|
||||||
@@ -43,10 +37,25 @@
|
|||||||
\usepackage[minted]{tcolorbox}
|
\usepackage[minted]{tcolorbox}
|
||||||
\tcbuselibrary{skins} % breakable
|
\tcbuselibrary{skins} % breakable
|
||||||
|
|
||||||
|
% Math
|
||||||
|
\usepackage{amsmath,amsthm} % Don't load amssymb with concmath-otf
|
||||||
|
\usepackage{mathtools} % Extension of amsmath
|
||||||
|
\mathtoolsset{showonlyrefs}
|
||||||
|
\usepackage{xpatch}
|
||||||
|
\makeatletter
|
||||||
|
\xpretocmd\HyRef@autoref{\noeqref{#2}}{}{} % showonlyrefs mit \autoref
|
||||||
|
\makeatother
|
||||||
|
|
||||||
|
% lua-uni-stage-tables.lua:141: attempt to perform arithmetic on a string value (local 'key')
|
||||||
|
\csname endofdump\endcsname
|
||||||
|
|
||||||
|
\usepackage{unicode-math}
|
||||||
|
\usepackage{lualatex-math}
|
||||||
|
|
||||||
% Typography
|
% Typography
|
||||||
|
\usepackage[babel,final,protrusion=true,expansion=true,tracking=false,kerning=false,spacing=false]{microtype}
|
||||||
% \usepackage{fontspec}
|
% \usepackage{fontspec}
|
||||||
\usepackage{concmath-otf}
|
\usepackage{concmath-otf}
|
||||||
\usepackage[babel,final,protrusion=true,expansion=true,tracking=false,kerning=false,spacing=false]{microtype}
|
|
||||||
\setmonofont{MonoLisa Alt}[Scale=MatchLowercase]
|
\setmonofont{MonoLisa Alt}[Scale=MatchLowercase]
|
||||||
|
|
||||||
% Pagestyle
|
% Pagestyle
|
||||||
@@ -97,12 +106,6 @@
|
|||||||
\renewcommand{\textfraction}{0.07} % allow down to ..% of text
|
\renewcommand{\textfraction}{0.07} % allow down to ..% of text
|
||||||
\renewcommand{\floatpagefraction}{0.7} % fill at least ..% of float pages (must be less than \topfraction)
|
\renewcommand{\floatpagefraction}{0.7} % fill at least ..% of float pages (must be less than \topfraction)
|
||||||
|
|
||||||
\mathtoolsset{showonlyrefs}
|
|
||||||
\usepackage{xpatch}
|
|
||||||
\makeatletter
|
|
||||||
\xpretocmd\HyRef@autoref{\noeqref{#2}}{}{} % showonlyrefs mit \autoref
|
|
||||||
\makeatother
|
|
||||||
|
|
||||||
\makeatletter\newcommand{\tcb@cnt@codeblockautorefname}{Listing}\makeatother
|
\makeatletter\newcommand{\tcb@cnt@codeblockautorefname}{Listing}\makeatother
|
||||||
|
|
||||||
% Silence some warning spam
|
% Silence some warning spam
|
||||||
|
|||||||
Reference in New Issue
Block a user