
でタイプセットされたドキュメントの前書きで章タイトルのフォント サイズを指定するにはどうすればよいですかmemoir
? 前書き、本書き、後書きに異なるフォント サイズを設定したいです。この図のようにフォント サイズを小さくする必要があります。
答え1
クラスmemoir
には、完全に新しいスタイルを定義せずにこれを行うためのフックがいくつかあります。
この例では、動作の仕組みを示すために、奇妙な書式設定がされています。フォント設定を必要に応じて変更してください。
\documentclass{memoir}
\begin{document}
\frontmatter
\renewcommand{\chaptitlefont}{\normalfont\bfseries}
\chapter{Front}
\mainmatter
\renewcommand{\chapnumfont}{\normalfont\bfseries\huge}
\renewcommand{\chapnamefont}{\normalfont\Large}
\renewcommand{\chaptitlefont}{\normalfont\itshape\Huge}
\chapter{Main}
\backmatter
\renewcommand{\chaptitlefont}{\normalfont}
\chapter{Back}
\end{document}