[texhax] Danish character in Plain TeX
Palle Vinther
postpalle at gmail.com
Sun Oct 5 12:49:47 CEST 2014
Thank you very much --- Unicode + XeTeX, thats´s perfect!
Best,
Palle
-----Oprindelig meddelelse-----
Fra: Chaa006 . [mailto:chaa006 at gmail.com] På vegne af Philip Taylor
Sendt: 4. oktober 2014 18:00
Til: Palle Vinther; texhax at tug.org
Emne: Re: [texhax] Danish character in Plain TeX
If your files are in Unicode, XeTeX is your best bet, but you would do well to avoid using it with Computer Modern for such an application; better will be to declare the fonts you want using system fonts -- the following is the relevant part of a multilingual job which I run here using XeTeX. Obviously you will need to redefine \tenrm (etc) if you want to make no changes to your documents and continue to use font selectors such as \rm, \bf, \it, etc.
Philip Taylor
--------
\def \largescale {\magstep 1}
\def \normalfonts
{%
\font \bodyfont = "Palatino Linotype"
\font \italicbodyfont = "Palatino Linotype/I"
\font \latinfont = "Palatino Linotype/I"
\font \hebrewfont = "Arial Unicode MS"
\font \headfont = "Arial Unicode MS/B:color=FF0000"
\let \englishfont = \bodyfont
\let \greekfont = \bodyfont
\bodyfont
}
\def \boldfonts
{%
\font \bodyfont = "Palatino Linotype/B"
\font \italicbodyfont = "Palatino Linotype/BI"
\font \latinfont = "Palatino Linotype/BI"
\font \hebrewfont = "Arial Unicode MS/B"
\font \headfont = "Arial Unicode MS/B:color=FF0000"
\let \englishfont = \bodyfont
\let \greekfont = \bodyfont
\bodyfont
}
\def \largefonts
{%
\font \bodyfont = "Palatino Linotype" scaled \largescale \font \italicbodyfont = "Palatino Linotype/I" scaled \largescale \font \latinfont = "Palatino Linotype/I" scaled \largescale \font \hebrewfont = "Arial Unicode MS" scaled \largescale \font \headfont = "Arial Unicode MS/B:color=FF0000" scaled \largescale \let \englishfont = \bodyfont \let \greekfont = \bodyfont \bodyfont }
\def \largeboldfonts
{%
\font \bodyfont = "Palatino Linotype/B" scaled \largescale \font \italicbodyfont = "Palatino Linotype/BI" scaled \largescale \font \latinfont = "Palatino Linotype/BI" scaled \largescale \font \hebrewfont = "Arial Unicode MS/B" scaled \largescale \font \headfont = "Arial Unicode MS/B" scaled \largescale \let \englishfont = \bodyfont \let \greekfont = \bodyfont \bodyfont }
\normalfonts
More information about the texhax
mailing list