I'm designing the title page of a memoir document. My document is using 12pt font, and I'm using some title templates/macros that uses internally \Large, \Small and that expect my page title to be in 10 pts. Since I don't want to change these commands to absolute font size, I instead loaded size10.clo to switch back temporarily to 10pts as suggested here. I also saw here that I can center my page title using adjustwidth. But unfortunately, when I combine both of these solution, my title is not anymore centered:
Any idea how I could center my title back while keeping \Large commands relative to the 10pts font?
MWE:
\documentclass[a4paper,12pt]{memoir}
\usepackage{lipsum}
\begin{document}
{
\makeatletter\let\newcommand\renewcommand\input{size10.clo}
\begin{titlingpage}
\calccentering{\unitlength}
\begin{adjustwidth*}{\unitlength}{-\unitlength}
\begin{center}
\rule[0.5ex]{\linewidth}{1pt}\\[\baselineskip]
\Large Hello
\rule[0.5ex]{\linewidth}{1pt}\\[\baselineskip]
\end{center}
\end{adjustwidth*}
\end{titlingpage}
}
\lipsum[1-2]
\end{document}

size??.clofiles were never intended to be used locally or with other classes. I don't understand the use case here.\Largein size10.clo is 14pt which is\largeat 12pt, so why not use\large? – David Carlisle Jun 21 '21 at 09:55\textwidth,\oddsidemarginetc It does far more than just set the size used for\Large. – David Carlisle Jun 21 '21 at 10:01\Largeif you have specific size requirements for the title page, i'd use\fontsize{...}{...}\selectfontdirectly. This is just a mess. – daleif Jun 21 '21 at 10:01