Text FormattingFont Size Help

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
S_David
Posts: 45
Joined: Tue Jul 07, 2009 4:16 am

Font Size Help

Post by S_David »

Hello,

I want to ask how to control the font size (in points) of a specific line or paragraph.

Thanks in advance

Recommended reading 2024:

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

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Font Size Help

Post by localghost »

Setting a certain fontsize needs specification of the actual size and the interleaf.

Code: Select all

\fontsize{20}{24}\selectfont
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
S_David
Posts: 45
Joined: Tue Jul 07, 2009 4:16 am

Font Size Help

Post by S_David »

localghost wrote:Setting a certain fontsize needs specification of the actual size and the interleaf.

Code: Select all

\fontsize{20}{24}\selectfont
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
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?

Best regards
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Font Size Help

Post by localghost »

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? [...]
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).

Code: Select all

\usepackage[T1]{fontenc}
\usepackage{lmodern}
Post Reply