Hello,
I want to ask how to control the font size (in points) of a specific line or paragraph.
Thanks in advance
Text Formatting ⇒ Font Size Help
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Font Size Help
Setting a certain fontsize needs specification of the actual size and the interleaf.
This will set the size of the actual font to 20pt and the according interleaf (about +20% of font size). For better results it is recommendable to use scalable Postscript fonts.
Best regards and welcome to the board
Thorsten
Code: Select all
\fontsize{20}{24}\selectfont
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Font Size Help
Thank you, but this makes my master thesis title somewhat unclear. Is there any other way to do that? and I didn't understand the Postscript fonts part, can you explain, please?localghost wrote:Setting a certain fontsize needs specification of the actual size and the interleaf.This will set the size of the actual font to 20pt and the according interleaf (about +20% of font size). For better results it is recommendable to use scalable Postscript fonts.Code: Select all
\fontsize{20}{24}\selectfont
Best regards and welcome to the board
Thorsten
Best regards
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Font Size Help
Explain by means of a minimal working example (MWE) what you mean with unclear. Postscript Type 1 fonts are fully scalable without loss in quality. Try the Latin Modern (LM) font which is derived from standard Computer Modern (CM).S_David wrote:Thank you, but this makes my master thesis title somewhat unclear. Is there any other way to do that? and I didn't understand the Postscript fonts part, can you explain, please? [...]
Code: Select all
\usepackage[T1]{fontenc}
\usepackage{lmodern}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10