Stacia Hartleben wrote:

> Is there a better way to select special special fonts other than doing
> ERT? I know under character I can change it to san serif or whatever
> but for a special font I installed I have to do something like this:
> 
> \usefont{T1}{stacish}{m}{n} \selectfont myword \usefont{T1}{ae}{m}{n}
> \selectfont
> 
> in a huge ERT snippet.
Yes, you should create a macro.

In your preamble put something like :

\newcommand\stacia [1]{\usefont{T1}{stacish}{m}{n}% 
\selectfont%
#1%
\normalfont}

and then in your text an ert with for example \stacia{Hartleben}

With LyX 1.4 you can even use the character style and do the last part
without ert. It is documented in the Wiki.

Look in your LaTeX manual how you can create macros. It is easy to do and
can save you a lot of time.

Cheers,
Charles
-- 
http://www.kde-france.org

Reply via email to