Skip to content

Commit

Permalink
Don't use hardcoded fonts
Browse files Browse the repository at this point in the history
fontenc will select the proper CJK fonts for you.
  • Loading branch information
Blake-Madden committed Aug 25, 2023
1 parent 1f26623 commit f53a773
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions docs/manual/latex/preamble.tex
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
\usepackage{bbding}
\usepackage{amsthm}
\usepackage{xeCJK}
\usepackage[defaultlines=4,all]{nowidow}
\usepackage[all]{nowidow}
\usepackage{menukeys}
\usepackage{amsmath}
\usepackage{color}
Expand Down Expand Up @@ -122,10 +122,6 @@
%% Provides Creative Commons Icons
\usepackage{ccicons}
% in case we need CJK fonts
\setCJKmonofont{SimSun}
\setCJKmainfont{SimSun}
\setCJKsansfont{SimSun}
% Float features
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down Expand Up @@ -213,7 +209,7 @@
\end{mdframed}
}
% psuedo glossary features
% pseudo glossary features
\newenvironment{glsentry}
{
\begin{minipage}{\textwidth}
Expand All @@ -237,4 +233,4 @@
}
{
\end{adjustwidth}
}
}

0 comments on commit f53a773

Please sign in to comment.