I want to change font size globally for full document. below code not work:
\documentclass[24pt]{article}
\usepackage{geometry}
\geometry{
a4paper,
total={170mm,257mm},
left=20mm,
top=20mm,
}
\begin{document}
test
\end{document}
It says:
LaTeX Warning: Unused global option(s):
[24pt].
24pt. If you really need such a large text font size, you should either use another class likememoirorscrartclor use a package likescrextendorfontsize. But note, that in most cases you would also need a scalable font, e.g., using\usepackage{lmoderm}or LuaLaTeX or XeLaTeX instead of PDFLaTeX. – cabohah May 06 '23 at 15:21