I want to temporarily change fonts in latex, to arev. Usually, this would work, as described here:
\documentclass{article}
\begin{document}
{\fontencoding{T1}\fontfamily{arev} the开发者_运维知识库 font is temporarily changed}
\end{document}
it doesnt though, and I think it has to do with the fact that arev is a T1 font. I think I need to specify more?
Thanks in advance for any advice, I appreciate it!
Georg Raba
Try this:
\newcommand*{\titlefont}{\fontencoding{T1}\fontfamily{fav}\selectfont}
You need to use "fav" as the font family name. You can find this mapping by looking in arevtext.sty (for me it is in C:\Program Files\MiKTeX 2.9\tex\latex\arev)
Try:
{\fontencoding{T1}\fontfamily{arev}\selectfont
Arev looks like this}.
精彩评论