## With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

No credit card required

# Time for action – using an environment to adjust the font size

We will produce a title with a larger and bigger font:

1. Create another small document with this code:
\documentclass{article}
\begin{document}
\begin{huge}
\bfseries
A small example

\end{huge}
\bigskip
This is just another small illustrative example.
\end{document}
2. Typeset to see the result:

## What just happened?

By writing \begin{huge}, we told LaTeX to switch to a huge font size just like with the \huge command. \end{huge} informs LaTeX that this size change should end now. From this point onwards, the font size is the same as before \begin{huge}.

Inside this environment, we use the declaration ...

## With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

No credit card required