# How do I select font for an environment?

I use \usepackage{fouriernc}. Now, I want to select the font chancery for theorem environment. How can I choose the font for an environment, for example, theorem environment?

\documentclass{book}
\usepackage{amsmath,amsthm}
\usepackage{fouriernc}
\newtheorem{theorem}{Theorem}
\usepackage{lipsum}
\begin{document}
\chapter{These Real Numbers}
\lipsum[1-2]
\begin{theorem}
\fontfamily{qzc}\selectfont\large
This is a theorem Pythagore
$$a^2 + b^2 = c^2.$$
\end{theorem}
\end{document}


How can I input \fontfamily{qzc}\selectfont\large at \newtheorem{theorem}{Theorem} before \begin{document}?

-
Related question: How do I install two fonts into a document?. –  Speravir Dec 31 '12 at 2:19

You can choose the font Chancery by:

\fontfamily{qzc}\selectfont


including it into a \begingroup ... \endgroup sequence holds the change local

\documentclass{book}
\usepackage{amsmath,amsthm}
\usepackage{fouriernc}
\newtheorem{theorem}{Theorem}
\usepackage{lipsum}
\newtheoremstyle{Special}%
{3pt}%      ⟨Space above⟩
{3pt}%      ⟨Space below⟩
{\large\fontfamily{qzc}\selectfont}%⟨Body font⟩
{}%         ⟨Indent amount⟩1
{}%         ⟨Theorem head spec (can be left empty, meaning ‘normal’)⟩
\theoremstyle{Special}
\newtheorem{Theorem}{Special}

\begin{document}
\chapter{These Real Numbers}
\lipsum[1-2]
\begin{Theorem}
This is a theorem Pythagore
$$a^2 + b^2 = c^2.$$
\end{Theorem}
\end{document}

-
Thank you. I tried \begin{theorem} \fontfamily{qzc}\selectfont\Large This is a theorem This is a theorem This is a theorem This is a theorem This is a theorem \end{theorem}. How to input fontfamily{qzc}\selectfont\Large at premable \newtheorem{theorem}{Theorem}? –  minthao_2011 Dec 30 '12 at 9:40
create a complete example! How should I know, what other packages do you load? –  Herbert Dec 30 '12 at 9:51
How do I get font size in body Theorem equal to font size outside \begin{Theorem} \end{Theorem}? For example 12 pt at body Theorem. –  minthao_2011 Apr 30 at 10:46
if you have 11pt for the document wide font size then use \large for 12pt –  Herbert Apr 30 at 20:35
I did so. But then font math in Theorem is bigger than document wide font size. –  minthao_2011 Apr 30 at 23:45