Consistently use 'small caps'/\texttt{smallcaps}

Use 'small caps' when mentioning it in normal text. Use '\texttt{smallcaps}' when referring to the command.
Similarly for 'title format' and '\texttt{titleformat}'.

N.B.: There are no instances of '\texttt{titleformat}'.
This commit is contained in:
Vijay Kartik 2017-10-01 21:23:10 +02:00 committed by GitHub
parent b4b6c001ad
commit 671aa01b99
1 changed files with 14 additions and 14 deletions

View File

@ -52,15 +52,15 @@
for which \themename provides a nice progress indicator \ldots for which \themename provides a nice progress indicator \ldots
\end{frame} \end{frame}
\section{Titleformats} \section{Title formats}
\begin{frame}{Metropolis titleformats} \begin{frame}{Metropolis title formats}
\themename supports 4 different titleformats: \themename supports 4 different title formats:
\begin{itemize} \begin{itemize}
\item Regular \item Regular
\item \textsc{Smallcaps} \item \textsc{Small caps}
\item \textsc{allsmallcaps} \item \textsc{all small caps}
\item ALLCAPS \item ALL CAPS
\end{itemize} \end{itemize}
They can either be set at once for every title type or individually. They can either be set at once for every title type or individually.
\end{frame} \end{frame}
@ -68,10 +68,10 @@
{ {
\metroset{titleformat frame=smallcaps} \metroset{titleformat frame=smallcaps}
\begin{frame}{Small caps} \begin{frame}{Small caps}
This frame uses the \texttt{smallcaps} titleformat. This frame uses the \texttt{smallcaps} title format.
\begin{alertblock}{Potential Problems} \begin{alertblock}{Potential Problems}
Be aware that not every font supports smallcaps. If for example you typeset your presentation with pdfTeX and the Computer Modern Sans Serif font, every text in smallcaps will be typeset with the Computer Modern Serif font instead. Be aware that not every font supports small caps. If for example you typeset your presentation with pdfTeX and the Computer Modern Sans Serif font, every text in small caps will be typeset with the Computer Modern Serif font instead.
\end{alertblock} \end{alertblock}
\end{frame} \end{frame}
} }
@ -79,10 +79,10 @@
{ {
\metroset{titleformat frame=allsmallcaps} \metroset{titleformat frame=allsmallcaps}
\begin{frame}{All small caps} \begin{frame}{All small caps}
This frame uses the \texttt{allsmallcaps} titleformat. This frame uses the \texttt{allsmallcaps} title format.
\begin{alertblock}{Potential problems} \begin{alertblock}{Potential problems}
As this titleformat also uses smallcaps you face the same problems as with the \texttt{smallcaps} titleformat. Additionally this format can cause some other problems. Please refer to the documentation if you consider using it. As this title format also uses small caps you face the same problems as with the \texttt{smallcaps} title format. Additionally this format can cause some other problems. Please refer to the documentation if you consider using it.
As a rule of thumb: just use it for plaintext-only titles. As a rule of thumb: just use it for plaintext-only titles.
\end{alertblock} \end{alertblock}
@ -92,10 +92,10 @@
{ {
\metroset{titleformat frame=allcaps} \metroset{titleformat frame=allcaps}
\begin{frame}{All caps} \begin{frame}{All caps}
This frame uses the \texttt{allcaps} titleformat. This frame uses the \texttt{allcaps} title format.
\begin{alertblock}{Potential Problems} \begin{alertblock}{Potential Problems}
This titleformat is not as problematic as the \texttt{allsmallcaps} format, but basically suffers from the same deficiencies. So please have a look at the documentation if you want to use it. This title format is not as problematic as the \texttt{allsmallcaps} format, but basically suffers from the same deficiencies. So please have a look at the documentation if you want to use it.
\end{alertblock} \end{alertblock}
\end{frame} \end{frame}
} }
@ -117,10 +117,10 @@ or show \textbf{bold} results.\end{verbatim}
\begin{itemize} \begin{itemize}
\item Regular \item Regular
\item \textit{Italic} \item \textit{Italic}
\item \textsc{SmallCaps} \item \textsc{Small Caps}
\item \textbf{Bold} \item \textbf{Bold}
\item \textbf{\textit{Bold Italic}} \item \textbf{\textit{Bold Italic}}
\item \textbf{\textsc{Bold SmallCaps}} \item \textbf{\textsc{Bold Small Caps}}
\item \texttt{Monospace} \item \texttt{Monospace}
\item \texttt{\textit{Monospace Italic}} \item \texttt{\textit{Monospace Italic}}
\item \texttt{\textbf{Monospace Bold}} \item \texttt{\textbf{Monospace Bold}}