From 4a82c4b3af38df6add9f006e03fdbea531b1007e Mon Sep 17 00:00:00 2001 From: Ross Churchley Date: Sat, 6 Feb 2016 19:07:48 -0800 Subject: [PATCH] Remove hardcoded references to \textsc{metropolis} Use \themename in documentation instead. --- source/beamercolorthememetropolis.dtx | 12 ++++++------ source/beamerfontthememetropolis.dtx | 2 +- source/beamerinnerthememetropolis.dtx | 2 +- source/beamerouterthememetropolis.dtx | 4 ++-- source/beamerthememetropolis.dtx | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/source/beamercolorthememetropolis.dtx b/source/beamercolorthememetropolis.dtx index 1d5f50e..4098c81 100644 --- a/source/beamercolorthememetropolis.dtx +++ b/source/beamercolorthememetropolis.dtx @@ -27,7 +27,7 @@ %<*package> % ------------------------------------------------------------------------- \fi % -% \subsection{\textsc{metropolis} color theme} +% \subsection{\themename color theme} % % Load required packages. % \begin{macrocode} @@ -90,8 +90,8 @@ % % \subsubsection{Base styles} % -% All colors in the \textsc{metropolis} theme are derived from the definitions -% of |normal text|, |alerted text|, and |example text|. +% All colors in \themename are derived from the definitions of |normal text|, +% |alerted text|, and |example text|. % % \begin{macrocode} \newcommand{\@metropolis@colors@dark}{ @@ -133,8 +133,8 @@ % \end{macrocode} % % The “primary” palette should be used for the most important navigational -% elements, and possibly of other elements. The \textsc{metropolis} theme uses -% it for frame titles and slides. +% elements, and possibly of other elements. \themename uses it for frame +% titles and slides. % % \begin{macrocode} \setbeamercolor{palette primary}{% @@ -148,7 +148,7 @@ } % \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 % 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 diff --git a/source/beamerfontthememetropolis.dtx b/source/beamerfontthememetropolis.dtx index 4c9b451..177ac3c 100644 --- a/source/beamerfontthememetropolis.dtx +++ b/source/beamerfontthememetropolis.dtx @@ -26,8 +26,8 @@ % \iffalse %<*package> % ------------------------------------------------------------------------- \fi -% \subsection{\textsc{metropolis} font theme} % +% \subsection{\themename font theme} % % Load required packages. % \begin{macrocode} diff --git a/source/beamerinnerthememetropolis.dtx b/source/beamerinnerthememetropolis.dtx index 21446c3..a62da00 100644 --- a/source/beamerinnerthememetropolis.dtx +++ b/source/beamerinnerthememetropolis.dtx @@ -27,7 +27,7 @@ %<*package> % ------------------------------------------------------------------------- \fi % -% \subsection{\textsc{metropolis} inner theme} +% \subsection{\themename inner theme} % % A |beamer| inner theme dictates the style of the frame elements traditionally % set in the ``body'' of each slide. These include: diff --git a/source/beamerouterthememetropolis.dtx b/source/beamerouterthememetropolis.dtx index 2b3df9d..1746a30 100644 --- a/source/beamerouterthememetropolis.dtx +++ b/source/beamerouterthememetropolis.dtx @@ -27,7 +27,7 @@ %<*package> % ------------------------------------------------------------------------- \fi % -% \subsection{\textsc{metropolis} outer theme} +% \subsection{\themename outer theme} % % 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. @@ -148,7 +148,7 @@ % \subsubsection{Head and footline} % % 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} \setbeamertemplate{navigation symbols}{} diff --git a/source/beamerthememetropolis.dtx b/source/beamerthememetropolis.dtx index 0cec598..17bd88c 100644 --- a/source/beamerthememetropolis.dtx +++ b/source/beamerthememetropolis.dtx @@ -27,10 +27,10 @@ %<*package> % ------------------------------------------------------------------------- \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 -% \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. % % Load the required packages.