3

I'm writing a document using Memoir documentclass that requires just one page of the text to be in Arial font and for this I'm using the following code:

 \usepackage{helvet}
 \renewcommand{\familydefault}{\sfdefault}

For the rest I'd like to use mathpazo, so I've loaded the mathpazo package (with small capitals support). When I use the code above the entire document gets the Arial font, so how can I restore back or change the font to Mathpazo?

1

1 Answer 1

2
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{mathpazo}
\usepackage{blindtext}
\renewcommand\familydefault{\sfdefault}
\begin{document}

Palatino: \blindtext
\newpage

\begingroup
\fontfamily{phv}\selectfont
Helvetica (Arial): \blindtext
\endgroup
\newpage

Palatino: \blindtext

\end{document}

The second page is in Helvetica, called Arial by Microsoft

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .