[Tex/LaTex] Force font size for entire document

fontsize

I am writing a document for my university, and it requires that the entire document be written in 12pt font (including title, TOC, header, subheaders, references, body text, etc.). Is there a way to force it so that nothing in the document can be a different size?

Best Answer

Adjust all the font size changing macros to mean \normalsize:

\documentclass[12pt]{report}

\renewcommand{\tiny}{\normalsize}
\renewcommand{\footnotesize}{\normalsize}
\renewcommand{\small}{\normalsize}
\renewcommand{\large}{\normalsize}
\renewcommand{\Large}{\normalsize}
\renewcommand{\LARGE}{\normalsize}
\renewcommand{\huge}{\normalsize}
\renewcommand{\Huge}{\normalsize}

\usepackage{fancyhdr,blindtext}
\pagestyle{fancy}

\title{A Title}
\author{An Author}
\date{\today}

\begin{document}

\maketitle
\tableofcontents
\Blinddocument

\end{document}

For the most part, this will ensure that all font size switches are "no-ops". Direct font switches using \fontsize is still in play.

Note that this does not change any of the math font sizes. However, that wasn't part of the request and it would horrible.