Hi all,
I have a character style that I want to have a funky typeface*. Something like
cmff. I can change the typeface in pure TeX, but I must name a size. What I'd
like is for the typeface change to occur at the current size, so if the
character style is used in a heading its size will be appropriate.
Here's the change as I made it in TeX. Is there a way to do it in LaTeX,
hopefully in such a way that I won't have to name a size?
%==== BEGIN EXAMPLE ============
\documentclass[12pt]{book}
\usepackage{newcent}
\font\specialfont = cmff12
\begin{document}
This is the normal font.
{\specialfont This is the special font}
This is the normal font.
This is the normal font {\specialfont with special font
embedded} in the normal font.
\end{document}
%==== END EXAMPLE ============
SteveT
* "Funky" is an American idiom for informal, nonprofessional.
--
Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/
(Legal Disclaimer) Follow these suggestions at your own risk.