LaTeX - Basic Styling

LaTeX allows us to customize text styles and font sizes according to the supported packages. (LaTeX Macro | LaTeX Packages)


Font Size

To alter the font size, we can use the reserved size commands:

Below we have some examples of how to apply and the outcome of the size commands:

Styling

It is possible to style your text by changing the font, formatting and styling.

Please note that the application of styles is currently limited to text and may not be effective when applied to formulas or graphs.

Styles

The available styles and commands are liste below:

Style

Command

Style

Command

Roman

\textrm{text}

Typewriter

\texttt{text}

Sans serif

\textsf{text}

boldface

\textbf{text}

medium

\textmd{text}

italic

\textit{text}

slanted

\textsl{text}

upright

\textup{text}

Small cap

\textsc{text}


For advanced styling we suggest checking the documentation for each supported package (LaTeX Macro | LaTeX Packages) to understand the available options.