From 450464c823cbe04a5eb322d5671f60e740697eb6 Mon Sep 17 00:00:00 2001 From: Chris Fenner Date: Sun, 3 Dec 2023 16:27:19 -0800 Subject: [PATCH] try formatting titles manually --- Dockerfile | 3 ++- template/eisvogel.latex | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c2e1027..8f48bad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,7 +37,8 @@ RUN tlmgr update --self && \ enumitem \ mathtools \ fontspec \ - unicode-math + unicode-math \ + titlesec RUN apk upgrade && apk add --no-cache \ bash \ diff --git a/template/eisvogel.latex b/template/eisvogel.latex index 11388de..ef619d2 100644 --- a/template/eisvogel.latex +++ b/template/eisvogel.latex @@ -583,6 +583,26 @@ $endif$ \setsansfont{Arial Unicode MS} \setmonofont{Source Code Pro} +\usepackage{titlesec} + +\titleformat{\chapter} + {\normalfont\fontsize{16}{19}\sffamily\bfseries} + {\thechapter} + {1em} + {} + +\titleformat{\section} + {\normalfont\fontsize{14}{18}\sffamily\bfseries} + {\thesection} + {1em} + {} + +\titleformat{\subsection} + {\normalfont\fontsize{12}{17}\sffamily\bfseries} + {\thesubsection} + {1em} + {} + % % heading color %