Related question: Change Font in KOMA \extratitle Command
KOMA scrbook class. I'd like to change the size of the font on the half-title page, which is created by the \extratitle command.
I only want the font size change to apply to the half-title page and not in the rest of the document. I thought I could do this by creating a new environment but this does not seem to work.
Here is a MWE:
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass{scrbook}
\usepackage{xltxtra,xunicode}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Mapping=tex-text]{Hoefler Text}
\setsansfont[Scale=MatchLowercase,Mapping=tex-text]{Gill Sans}
\setmonofont[Scale=MatchLowercase]{Andale Mono}
%\usepackage{moresize} Can't get anything larger than HUGE
%\usepackage{relsize} scaling at 5x had no effect
\begin{document}
\newenvironment{zebratitle}{\changefontsizes{36pt}{\Huge}}
\newfontfamily\myfunt[Ligatures=TeX]{Papyrus}
\begin{zebratitle}
\extratitle{\vspace*{5\baselineskip}
\begin{center}\textbf{\Huge \myfunt Great Title}\end{center}}
\end{zebratitle}
\title{Great Title}
\author{The Author}
\date{}
\maketitle
\end{document}
zebratitleinto the\extratitleas it changes the font sizes. – TeXnician Mar 18 '17 at 07:32extratitlein the preamble:\newkomafont{extratitle}{<font settings >}. Then this can be used in\extratitle{\usekomafont{extratitle} <your extratitle>}. – esdd Mar 18 '17 at 12:28