tud-cd icon indicating copy to clipboard operation
tud-cd copied to clipboard

Option `cd2012ts` uses Open Sans instead of Univers

Open mrpiggi opened this issue 5 years ago • 2 comments

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}

mrpiggi avatar Aug 30 '19 22:08 mrpiggi

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?

keinstein avatar Aug 31 '19 08:08 keinstein

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]

mrpiggi avatar Aug 31 '19 08:08 mrpiggi