Skip to content

Commit

Permalink
try formatting titles manually
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfenner committed Dec 4, 2023
1 parent 4e7e0c3 commit 450464c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ RUN tlmgr update --self && \
enumitem \
mathtools \
fontspec \
unicode-math
unicode-math \
titlesec

RUN apk upgrade && apk add --no-cache \
bash \
Expand Down
20 changes: 20 additions & 0 deletions template/eisvogel.latex
Original file line number Diff line number Diff line change
Expand Up @@ -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
%
Expand Down

0 comments on commit 450464c

Please sign in to comment.