Change the text  font size and its type  in LaTeX

To change the default font size of a LaTeX symbol or a text

First, add the below lmodern package to your document

\usepackage{lmodern}

Next, Use the below command to change the font size of a symbol or a text and also its type

\fontsize{size}{baselineskip}\selectfont

On the whole, The command font size has three arguments

First is size

The second is baseline skip and

The third is to select a font

Change the font size of a symbol or a text

Rendered by QuickLaTeX.com

{\fontsize{10}{10.5}{ $ \alpha $}}

Rendered by QuickLaTeX.com

{\fontsize{00}{10.5}{$ \alpha $}}

Rendered by QuickLaTeX.com

{\fontsize{30}{10.5}{$ \alpha $}}

Rendered by QuickLaTeX.com

{\fontsize{40}{10.5}{ $\alpha$}}

Rendered by QuickLaTeX.com

{\fontsize{50}{10.5}{$ \alpha $}}

Rendered by QuickLaTeX.com

{\fontsize{60}{10.5}{$ \alpha$}}

Rendered by QuickLaTeX.com

{\fontsize{70}{10.5}{$ \alpha$}}

Rendered by QuickLaTeX.com

{\fontsize{80}{10.5}{$ \alpha$}}

Rendered by QuickLaTeX.com

{\fontsize{10}{10.5}{$ \alpha$}}

Rendered by QuickLaTeX.com

{\fontsize{100}{10.5}{ $ \alpha$}}

Predefined command to change the size

Here are some predefined commands that you can use without adding any package

Tiny
{\tiny Tiny}
Script
{\scriptsize Script}
Foot
{\footnotesize Foot}
Small
{\small Small}
Normal
{\normalsize Normal}
large
{\large large}
Large
{\Large Large}
huge
{\huge huge}
Huge
{\Huge Huge}

Change the font type of a text and its size

Rendered by QuickLaTeX.com


{\fontsize{50}{10.5} $ {\rm Roman} $}

Rendered by QuickLaTeX.com


{\fontsize{50}{10.5} $ {\em Enfático} $}

Below are some more font types that you can use

{\rm Roman }
{\rm Roman }
{\em Enfático}
{\em Enfático}
{\bf Negrita }
{\bf Negrita }
{\it Itálica }
{\it Itálica }
{\sl Slanted }
{\sl Slanted }
{\sf Sans Serif }
{\sf Sans Serif }
{\sc Small Caps }
{\sc Small Caps }
{\tt Typewriter }
{\tt Typewriter }
\underline{Subrayado}
\underline{Subrayado}

Mohammed Anees

Hey there, welcome to aneescraftsmanship I am Mohammed Anees an independent developer/blogger. I like to share and discuss the craft with others plus the things which I have learned because I believe that through discussion and sharing a new world opens up

Leave a Reply

Your email address will not be published.