Text FormattingFont size decreases instead of increasing

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Davide
Posts: 2
Joined: Thu Apr 30, 2015 12:08 pm

Font size decreases instead of increasing

Post by Davide »

Code: Select all

\documentclass[12pt]{report}
\usepackage[utf8]{inputenc}

...all the packages I need

\begin{document}


\chapter*{Abstract}
bla bla bla

\pagebreak

\input{dedication}



\chapter*{Acknowledgements}
bla bla bla

\tableofcontents

    \chapter{bla bla}
    \input{chapters/Introduction}

    \chapter{bla bla1}
    \input{chapters/Chapter1}

    \chapter{bla bla 2}
    \input{chapters/Chapter2}

    \chapter{bla bla 3}
    \input{chapters/Chapter3}

    \chapter{Conclusions}
    \input{chapters/Conclusion}

    \appendix
    \chapter{Matlab Code}
    \input{chapters/Appendix}

    \input{chapters/reference}

\end{document}
Strangely when I change the font size to 12pt to (for example) 18pt the font size decrease instead of increasing...any help?

Thank you very much!

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Font size decreases instead of increasing

Post by Johannes_B »

Hi and welcome,

the standard LaTeX classes know some basic options to selct the font size, 10pt, 11pt and 12pt. Option 18pt is not defined, and so the default 10pt is used. You get an according warning in the log-file.

If you really want to use a fontsize that large, have a look at KOMA-script, memoir or the extsize classes.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Davide
Posts: 2
Joined: Thu Apr 30, 2015 12:08 pm

Re: Font size decreases instead of increasing

Post by Davide »

Thank you very much!
Post Reply