At 02:19 PM 4/1/2002 +0200, Henning Hraban Ramm wrote:
>Ahoi!
>
>Is there a way for other type classes than roman, sans, math and mono?
>E.g. I need sometimes an additional casual/script/handwriting font family
>(think of Lucida...) and would like to address it as style=\hd or like that.
>
>I tried to define it with usual typescripts and "hand" instead of "sans" etc.
>but had no success. If such *should* work, then I'll review it and look for
>mistakes, but if it *can't* work I must abuse one of serif/sans/mono.
>
>An other way would be mapping the script font to an "exotic" style like
>\sc\it -- what do you think?
there is \hw and \cg for handwritten and calligraphy, and you can define
more if you want (peek into font-ini.tex); also, in some type-* files you
will find casuals; in principle you can create your own names (we do that
for things like semi fonts), so we do things like:
\definetypeface [mainfont] [rm] [serif] ...
\definetypeface [semifont] [rm] [semi-serif] /...
that's the nice thing of typefaces/scripts, that you can cook up your own
names.
the rm, ss, tt cg, hw entries are predefined which means that they will be
recognized and have associated commands, if you want more (with as
restiction that they should have two char names) you can define them with
\definefontstyle; in a similar fashion you can define \tfp|q|r if you want
or even map names onto families (math) etc etc
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma(a)wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
fall-back web server:
www.pragma-ade.nl
-------------------------------------------------------------------------