Memoir font size 13pt

1,403

This is a little confusing to do. Remember that class options are not dynamic, so since 13pt is not hardcoded into the class, memoir does not recognize it. Instead we need to use the provided interface (page 3-4 in the memoir manual).

Firstly you need to place your mem13.clo in a place where LaTeX can find it. For testing it is easiest to just palce it in the same folder as your .tex file. If placed elsewhere, then as Mico says in a comment, you need to update the filename DB.

Secondly, we need to use the *pt option to tell memoir to use a user defined font size file, the name of which HAS to be declared BEFORE \documentclass, as placeing it after \documentclass after it will be too late (a macro like \normalsize or \normalfont might be issued by the class while loading).

This works:

\newcommand*{\anyptfilebase}{mem}
\newcommand*{\anyptsize}{13}
\documentclass[a4paper,*pt]{memoir}
\begin{document}
test
\end{document}

I have the mem13.clo in current dir, and in the log I can find the tell-tell

 (./mem13.clo)

showing that it was loaded.

Yes the interface it a little clunky, but that is due to the fact that we need the clo to be loaded by the class at the right time. Plus memoir does not support key=value class options

Share:
1,403

Related videos on Youtube

Adriano
Author by

Adriano

Updated on May 27, 2020

Comments