I read several posts but still could not figure out how to do the following. I want to use handwriting font, say, Augie font, within proof environment. I installed the package emerald. Then I read someone suggested to define a new environment like
\newenvironment{myfont}{\fontfamily{<familyname>}\selectfont}{\par}
I could not make it work since I could not find its font family in the first place. Could any one provide me with a concrete example, please? Thank you! Here is the codes I have at the moment.
\documentclass[english]{scrartcl}
\usepackage{bm}
\usepackage{graphics}
\usepackage{relsize}
\usepackage{color}
\usepackage{bigints}
\usepackage{graphicx}
\DeclareGraphicsExtensions{.eps, .pdf, .jpeg, .png}
\usepackage{epstopdf}
\usepackage{float}
\usepackage{hyperref}
\usepackage{environ}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{amsmath}
\setkomafont{disposition}{\normalfont}
\usepackage{graphicx}
\usepackage{emerald}
\usepackage{geometry}
\geometry{
a4paper,
left=20mm,
right=20mm,
top=10mm,
bottom=10mm
}
\usepackage{listings}
\usepackage{color}
\setcounter{tocdepth}{1}
\usepackage{tocloft}
\definecolor{blue}{rgb}{0,0,1}
\definecolor{red}{rgb}{1,0,0}
\newenvironment{myfont}{\fontfamily{<familyname>}\selectfont}{\par}
\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}
\newcommand*\ruleline[1]{\par\noindent\raisebox{.8ex}{\makebox[\linewidth]{\hrulefill\hspace{1ex}\raisebox{-.8ex}{#1}\hspace{1ex}\hrulefill}}}
\begin{document}
\section{Question One}
\begin{proof}
\begin{myfont}
Some text in the new font.
\end{myfont}
\end{proof}
\end{document}
\documentclass{...}
and ending with\end{document}
.\ECFAugie This is Augie font
\fontfamily ... \selectfont
if you want to restrict the font within the proof to some part only and use other fonts in other parts of the proof.