Mention the workaround of #109 in the manual
This commit is contained in:
parent
d2a224a857
commit
e562218c61
|
@ -400,16 +400,32 @@ of \themename specific colors, which can also be redefined to your liking.
|
||||||
|
|
||||||
\subsection{Font Customization}
|
\subsection{Font Customization}
|
||||||
|
|
||||||
The default font for \themename{} is |Fira|. Yet this can be easily changed using
|
The default font for \themename{} is |Fira|. Yet this can be easily changed
|
||||||
the standard font selection commands of the |fontspec| package. So if you for
|
using the standard font selection commands of the \textsf{fontspec} package. So
|
||||||
example prefer the \href{http://font.ubuntu.com}{|Ubuntu|} font family just add
|
if you for example prefer the \href{http://font.ubuntu.com}{|Ubuntu|} font
|
||||||
the following two commands after loading the \themename{} theme.
|
family just add the following two commands after loading the \themename{} theme.
|
||||||
|
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
\setsansfont{Ubuntu}
|
\setsansfont{Ubuntu}
|
||||||
\setmonofont{Ubuntu Mono}
|
\setmonofont{Ubuntu Mono}
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
|
|
||||||
|
\subsubsection{Old style figures}
|
||||||
|
|
||||||
|
The regular \textsf{fontspec} mechanism for changing glyph appearance applies
|
||||||
|
also to this theme. In case you want to have old style figures in the text but
|
||||||
|
regular lined figures for math, you have to add the following to your preamble:
|
||||||
|
|
||||||
|
\begin{lstlisting}
|
||||||
|
\usefonttheme{professionalfonts} % required for mathspec
|
||||||
|
\usepackage{mathspec}
|
||||||
|
\setsansfont[BoldFont={Fira Sans},
|
||||||
|
Numbers={OldStyle}]{Fira Sans Light}
|
||||||
|
\setmathsfont(Digits)[Numbers={Lining, Proportional}]{Fira Sans Light}
|
||||||
|
\end{lstlisting}
|
||||||
|
|
||||||
|
|
||||||
\subsection{Commands}
|
\subsection{Commands}
|
||||||
|
|
||||||
The \lstinline|\plain{title=[]}{<body>}| command sets a slide in plain dark colors which
|
The \lstinline|\plain{title=[]}{<body>}| command sets a slide in plain dark colors which
|
||||||
|
|
Loading…
Reference in New Issue