Skip to content
Snippets Groups Projects
Commit a1912cf0 authored by Vít Novotný's avatar Vít Novotný
Browse files

Added the opt-out `microtype` class option, which loads the

microtypographic extension.
parent e7adfb1d
No related branches found
No related tags found
No related merge requests found
...@@ -100,6 +100,25 @@ ...@@ -100,6 +100,25 @@
% \begin{macrocode} % \begin{macrocode}
\DeclareOptionBeamer{nofonts}{\fibeamer@fontsfalse} \DeclareOptionBeamer{nofonts}{\fibeamer@fontsfalse}
% \end{macrocode} % \end{macrocode}
% \subsection{The \texttt{microtype} option}
% \begin{macro}{\iffibeamer@microtype}
% The |microtype| option instructs the package to use the
% microtypographic extensions of modern \TeX\ engines, such as
% \hologo{pdfTeX}, \Hologo{LuaTeX}, and (partially)
% \Hologo{XeLaTeX}. This option is enabled by default.
% \begin{macrocode}
\newif\iffibeamer@microtype
\DeclareOptionBeamer{microtype}{\fibeamer@microtypetrue}
\ExecuteOptionsBeamer{microtype}
% \end{macrocode}
% \end{macro}
% \subsection{The \texttt{nomicrotype} option}
% The |nomicrotype| option disables the microtypographic
% extensions. This may be necessary, if an older \TeX\ engine,
% such as \hologo{TeX} or \hologo{eTeX}, is being used.
% \begin{macrocode}
\DeclareOptionBeamer{nomicrotype}{\fibeamer@microtypefalse}
% \end{macrocode}
% \begin{macro}{\fibeamer@university} % \begin{macro}{\fibeamer@university}
% \subsection{The \texttt{university} option} % \subsection{The \texttt{university} option}
% The \marg{\texttt{university}=identifier} option pair sets the % The \marg{\texttt{university}=identifier} option pair sets the
...@@ -300,6 +319,14 @@ ...@@ -300,6 +319,14 @@
% \begin{macrocode} % \begin{macrocode}
\ProcessOptionsBeamer \ProcessOptionsBeamer
% \end{macrocode} % \end{macrocode}
% When the |microtype| option is specified, the \textsf{microtype}
% package gets loaded.
% \begin{macrocode}
% Set up the microtypographic extensions
\iffibeamer@microtype
\RequirePackage{microtype}
\fi
% \end{macrocode}
% When the |fonts| option is specified, the following packages will % When the |fonts| option is specified, the following packages will
% be used by the package to configure the fonts in the presentation % be used by the package to configure the fonts in the presentation
% mode: % mode:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment