I'm typing my thesis in Farsi, and I'm using LiveTeX. I want to change my font in some parts of my documents. I checked most of the relevant questions and answers but unfortunately I couldn't find out my answer. There are two questions:
How can I change the font of some specific parts of my thesis?
What are font families?
I already used {\fontfamily{ppl}\selectfont ... }
but it didn't work.
I used it as:
\documentclass[a4]{book}
\usepackage{graphicx}
\newenvironment{ppl}{\fontfamily{ppl}\selectfont}{Times New Roman}
\textwidth =12cm
\textheight =19cm
\usepackage{amsmath,amssymb}
\usepackage{xepersian}
\settextfont[Scale=1]{XB Zar}
\setdigitfont[Scale=1]{XB Zar}
\begin{document}
من این همه را خودم نوشته ام و این یکی را می خواهم به صورت امتحانی در زیر با فونت دیگری بنویسم .
\begin{ppl}
من این را به صورت امتحانی مینویسم .
\end{ppl}
\end{document}