tud-cd
tud-cd copied to clipboard
Option `cd2012ts` uses Open Sans instead of Univers
When using the tud beamer theme with option cd2012ts
, package tudscrfonts
is loaded, which sets Open Sans as default since version v2.06. Maybe option cdoldfont
should be passed to tudscrfonts
in this case. This issue was already discussed in #28 but is actually off-topic.
% use lualatex for compilation
\listfiles
%\PassOptionsToPackage{cdoldfont}{tudscrfonts}
\documentclass{beamer}
\mode<presentation>
{
\usetheme[cd2012ts]{tud}
}
\usepackage{fontspec}
\begin{document}
\begin{frame}{test}
\(a \beta \Rightarrow\)
\end{frame}
\end{document}
Ok, now I understand. How do I find out whether tudscrfonts is older than 2.06? Or can I safely pass cdoldfont to tudscrfonts befor that version?
Well, actually I wouldn't as tudscrfonts
is distributed via CTAN and it is easy to update. But if you really want to, you could do something like this (v2.06 was released with date 2019/06/28)
\RequirePackage{tudscrbase}[2019/06/28]
\@ifpackagelater{tudscrbase}{2019/06/28}{%
\if@useUniversFont
\PassOptionsToPackage{cdoldfont}{tudscrfonts}
\fi
}{}
\RequirePackage{tudscrfonts}[2019/06/28]