Remove hardcoded references to \textsc{metropolis}

Use \themename in documentation instead.
This commit is contained in:
Ross Churchley 2016-02-06 19:07:48 -08:00
parent 4def6e7ce9
commit 4a82c4b3af
5 changed files with 12 additions and 12 deletions

View File

@ -27,7 +27,7 @@
%<*package> %<*package>
% ------------------------------------------------------------------------- \fi % ------------------------------------------------------------------------- \fi
% %
% \subsection{\textsc{metropolis} color theme} % \subsection{\themename color theme}
% %
% Load required packages. % Load required packages.
% \begin{macrocode} % \begin{macrocode}
@ -90,8 +90,8 @@
% %
% \subsubsection{Base styles} % \subsubsection{Base styles}
% %
% All colors in the \textsc{metropolis} theme are derived from the definitions % All colors in \themename are derived from the definitions of |normal text|,
% of |normal text|, |alerted text|, and |example text|. % |alerted text|, and |example text|.
% %
% \begin{macrocode} % \begin{macrocode}
\newcommand{\@metropolis@colors@dark}{ \newcommand{\@metropolis@colors@dark}{
@ -133,8 +133,8 @@
% \end{macrocode} % \end{macrocode}
% %
% The “primary” palette should be used for the most important navigational % The “primary” palette should be used for the most important navigational
% elements, and possibly of other elements. The \textsc{metropolis} theme uses % elements, and possibly of other elements. \themename uses it for frame
% it for frame titles and slides. % titles and slides.
% %
% \begin{macrocode} % \begin{macrocode}
\setbeamercolor{palette primary}{% \setbeamercolor{palette primary}{%
@ -148,7 +148,7 @@
} }
% \end{macrocode} % \end{macrocode}
% %
% The \textsc{metropolis} inner or outer themes optionally display progress % The \themename inner or outer themes optionally display progress
% bars in various locations. Their color is set by |progress bar| but the two % bars in various locations. Their color is set by |progress bar| but the two
% different kinds can be customized separately. The horizontal rule on the % different kinds can be customized separately. The horizontal rule on the
% title page is also set based on the progress bar color and can be customized % title page is also set based on the progress bar color and can be customized

View File

@ -26,8 +26,8 @@
% \iffalse % \iffalse
%<*package> %<*package>
% ------------------------------------------------------------------------- \fi % ------------------------------------------------------------------------- \fi
% \subsection{\textsc{metropolis} font theme}
% %
% \subsection{\themename font theme}
% %
% Load required packages. % Load required packages.
% \begin{macrocode} % \begin{macrocode}

View File

@ -27,7 +27,7 @@
%<*package> %<*package>
% ------------------------------------------------------------------------- \fi % ------------------------------------------------------------------------- \fi
% %
% \subsection{\textsc{metropolis} inner theme} % \subsection{\themename inner theme}
% %
% A |beamer| inner theme dictates the style of the frame elements traditionally % A |beamer| inner theme dictates the style of the frame elements traditionally
% set in the ``body'' of each slide. These include: % set in the ``body'' of each slide. These include:

View File

@ -27,7 +27,7 @@
%<*package> %<*package>
% ------------------------------------------------------------------------- \fi % ------------------------------------------------------------------------- \fi
% %
% \subsection{\textsc{metropolis} outer theme} % \subsection{\themename outer theme}
% %
% A |beamer| outer theme dictates the style of the frame elements traditionally % A |beamer| outer theme dictates the style of the frame elements traditionally
% set outside the body of each slide: the head, footline, and frame title. % set outside the body of each slide: the head, footline, and frame title.
@ -148,7 +148,7 @@
% \subsubsection{Head and footline} % \subsubsection{Head and footline}
% %
% All good |beamer| presentations should already remove the navigation symbols, % All good |beamer| presentations should already remove the navigation symbols,
% but \textsc{metropolis} removes them automatically (just in case). % but \themename removes them automatically (just in case).
% %
% \begin{macrocode} % \begin{macrocode}
\setbeamertemplate{navigation symbols}{} \setbeamertemplate{navigation symbols}{}

View File

@ -27,10 +27,10 @@
%<*package> %<*package>
% ------------------------------------------------------------------------- \fi % ------------------------------------------------------------------------- \fi
% %
% \subsection{\textsc{metropolis} main theme} % \subsection{\themename parent theme}
% %
% The primary job of this package is to load the component sub-packages of the % The primary job of this package is to load the component sub-packages of the
% \textsc{metropolis} theme and route the theme options accordingly. It also % \themename theme and route the theme options accordingly. It also
% provides some custom commands and environments for the user. % provides some custom commands and environments for the user.
% %
% Load the required packages. % Load the required packages.