[XeTeX] \ifFontExists

Arno Trautmann Arno.Trautmann at gmx.de
Fri Jan 2 19:31:34 CET 2009


Peter Dyballa wrote:
> Am 02.01.2009 um 18:32 schrieb Arno Trautmann:
> 
>> I wrote a package that uses some characters like • in the code. The
>> lmodern or cm-super fonts don’t have this symbol
> 
> Latin Modern has it, of course!

\documentclass{minimal}

\usepackage{lmodern}
\begin{document}
bullet: • ‣
\end{document}

I don’t see it in the pdf :(
I need it at the desired unicode position, not as an extra symbol.

> OTOH, you can also \usepackage[...] 
> {textcomp} and \textbullet.

I’m using it as an active char, like
\catcode`\•=\active
\let•\item

\begin{itemize}
• item
• item
\end{itemize}

Arno

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://tug.org/pipermail/xetex/attachments/20090102/f36344d1/attachment.bin 


More information about the XeTeX mailing list