[Tex/LaTex] Change font in a single paragraph


How do I use a particular font for a small section of text in my document?

How is it possible to use a new font for just a single section of a document and switch back to the original font after that paragraph?

I have:


Which works fine for part way through a document changing the font. But how do I revert back?

Best Answer

You can always restrict the scope of font changing commands by enclosing the paragraph in braces

{\fontfamily{ppl}\selectfont ... }

If this is something you will be doing a lot, it would make more sense to turn it into a proper environment:


Then you use it like any other environment:

Some text in the new font.
Related Question