Fonts & Character Sets ⇒ Change the font to any size
-
- Posts: 30
- Joined: Fri Nov 23, 2007 12:56 am
Change the font to any size
I asked before about how I can change the font size to any size. I had an answer that I must use the extsizes package. The problem is that I want for example:
new home to stay in (in font size 16pt)
and then later in the document I want to change the font size to 12 pt
Could you please show me what the commands will be?
Thanks in advance
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
Change the font to any size
Code: Select all
\newcommand{\bigsize}{\fontsize{16pt}{20pt}\selectfont}
Code: Select all
{\bigsize This text is written at 16pt}
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Change the font to any size
welcome to the board! See Low-level font commands in the manual, it's the line spacing, the distance between the base of two consecutive text lines.
Stefan