Set table font globally

This commit is contained in:
Marcus Kammer 2024-11-07 08:10:01 +01:00
parent b347bcb400
commit 797945f509

View file

@ -73,7 +73,7 @@
]{subsubsection} ]{subsubsection}
% Define the spacing between section number and title % Define the spacing between section number and title
\renewcommand{\sectionformat}{% \renewcommand{\sectionformat}{%
\thesection\hspace{1em}% \thesection\hspace{1em}%
} }
@ -85,6 +85,10 @@
\thesubsubsection\hspace{1em}% \thesubsubsection\hspace{1em}%
} }
% Set global table font to Noto Sans Condensed Light
\AtBeginEnvironment{tabular}{\fontspec{Noto Sans Condensed}}
\AtBeginEnvironment{longtable}{\fontspec{Noto Sans Condensed}}
% Caption settings % Caption settings
\captionsetup{font=small, labelfont=bf} \captionsetup{font=small, labelfont=bf}
@ -129,4 +133,4 @@
breakatwhitespace=false, breakatwhitespace=false,
tabsize=2, tabsize=2,
columns=fullflexible columns=fullflexible
} }