I wanted to know how to set font of a document to Times New Roman and size to 12 for text and for Chapter Heading 14 only, for the whole document. I don't want to use the fontspec
package for this. Please help me out on this.
[Tex/LaTex] How to set document font to times new roman by command
chaptersfontsfontsizeformatting
Best Answer
Let's construct what you're after:
12 point text font
For this you can pass a
12pt
option to the document class. For example, useTimes New Roman font
While there is no actual Times New Roman font in native LaTeX, the closest you'll get is by adding the
mathptmx
packageor the
newtx
bundleto your document preamble. To check the actual font is included when doing this, see How do I find out what fonts are used in a document/picture?.
14 point chapter heading
Under the
12pt
document class option, the closest to14pt
is provided by the\large
switch (see What point (pt) font size are\Large
etc.?) - it'll actually be14.4pt
, but that would be what the font has to offer. However, the current\chapter
heading is set (by default) in a combination of\huge
and\Huge
(the former for the chapter heading -Chapter X
, and the latter for the chapter titleA chapter
). So, we can patch the appropriate macro(s) (\@makechapterhead
and\@makechaptershead
) and substitute\large
for\huge
(with the aid ofetoolbox
):Here's a MWE that contains the above suggestions:
Note how the
\section
title is now larger (set using\normalfont\Large\bfseries
) than the\chapter
title - a definite problem. However, you requested Chapter Heading 14 only.