Fonts & Character SetsFont Size of the continuous Text

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
Superfox_il_Volpone
Posts: 3
Joined: Sat Nov 17, 2012 1:08 am

Font Size of the continuous Text

Post by Superfox_il_Volpone »

Hi,

I want to change the font size of the content to 14pt. I've tried with the extreport class from the extsizes bundle.

Code: Select all

\documentclass[14pt,a4paper]{extreport}
But this will scale also the equations, the tables, the table of content, the verbatim, the captions, the chapter margins, etc. while I would like to scale only the content text, not everything.


Regards
- s.fox

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
Joined: Mon Mar 10, 2008 9:44 pm

Font Size of the continuous Text

Post by Stefan Kottwitz »

That's a meaning of a class option for the font size: besides adjusting the base font, other font sizes are scaled in a matching way. It's for people who want that.

If you would just change the base font size, you could redefine \normalsize. But this has also effect on math formulas, for example, since the size is treated the same. It's also valid for text in tables. You could change that again... here's an example:

Code: Select all

\documentclass{report}
\let\stdsize\normalsize% saves the default standard size
\makeatletter
% now we change the base text font size
\renewcommand*{\normalsize}{\@setfontsize{\normalsize}{14}{16}}
\makeatother
\everydisplay{\stdsize}% uses the default standard size for displayed formulas
\begin{document}
Text
\begin{equation}
  ax^2 + bx + c = 0
\end{equation}
\end{document}
fontsize.png
fontsize.png (3.07 KiB) Viewed 2897 times
Stefan
LaTeX.org admin
Post Reply