[XeTeX] No underdot in Adobe Garamond Pro?
Rembrandt Wolpert
wolpert at uark.edu
Thu May 7 22:12:16 CEST 2009
Hi Ulrike,
this finally solved my personal problem: in Chinese transliteration you need
on an Umlaut (actually, just on ü) "accents" which actually denote the tones
of Chinese; so modifying your suggestion to
\newcommand\zhtone[2]{%
{\fontencoding{OT1}\selectfont
#1{\fontencoding{EU1}\selectfont #2}}}
allows the four different tones of standard Chinese, e.g. lü
first tone: l\zhtone{\=}{ü}\\
second tone: l\zhtone{\'}{ü}\\
third tone l\zhtone{\u}{ü}\\
fourth tone l\zhtone{\`}{ü} \\
(see attached file)
(and -- unicode or no unicode -- there are only very few fonts that cater
for pinyin-with-tones-over-umlaut; I know the result isn't "perfect" -- but
it is correct.)
Now I can drop my xunicode :-).
Many thanks, again,
Rembrandt
On Thu, May 7, 2009 at 02:25, Ulrike Fischer <news3 at nililand.de> wrote:
> Am Thu, 7 May 2009 09:17:23 +0530 schrieb Shrisha Rao:
>
>
> > Yes, that does it for me too; thanks. The polyglossia package must be
> > loaded later, and the correct order is apparently
> > \usepackage{xunicode,xltxtra}
>
> That's not the correct order. As I already have tried to explain
> this will disable most of xunicode. If you really want this is
> probably easier not to load xtlxtra but only fontspec.
>
> I don't have Garamond pro but I tried with calibri which hasn't the
> glyphs either. Try the following with your font. Try at first if the
> \Undeclare-command helps. If not use the \mydaccent.
>
> \documentclass[12pt]{article}
> \usepackage{xltxtra}
> \setsansfont{Calibri}
> %\UndeclareUTFcomposite[\UTFencname]{x1E47}{\d}{n}
>
> \newcommand\mydaccent[1]{%
> {\fontencoding{OT1}\selectfont
> \d{\fontencoding{EU1}\selectfont #1}}}
> \begin{document}
> \d{A}, \d{n}
>
> \sffamily
> \d{A}, \d{n}
>
> \mydaccent{n}, \mydaccent{A}
> \end{document}
>
>
> --
> Ulrike Fischer
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>
--
人有不為也而後可有為
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20090507/6d70da08/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4tones.png
Type: image/png
Size: 8998 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20090507/6d70da08/attachment.png
More information about the XeTeX
mailing list