[OS X TeX] Apple-logo
Bruno Voisin
bvoisin at mac.com
Mon May 2 08:27:58 EDT 2005
Le 2 mai 05 à 13:47, Thøger Juul Thorsen a écrit :
> Is it possible to write the Apple-logo as a glyph in LaTeX, i.e.
> does any package contain the glyph?
Given the logo is part of some OS X fonts such as Apple Symbols or
Monaco, it is possible to use this glyph in LaTeX with XeTeX. Will
Robertson's fontspec package makes its easy. Otherwise you may just
do the hard work yourself, as in (to be processed by XeLaTeX):
\documentclass{article}
\DeclareFontFamily{U}{applsym}{}
\DeclareFontShape{U}{applsym}{m}{n}{<-> "Apple\space Symbols"}{}
\DeclareTextFontCommand{\applesymbol}
{\normalfont\fontencoding{U}\fontfamily{applsym}\selectfont}
\DeclareRobustCommand{\applelogo} {\applesymbol{\XeTeXglyph1110}}
\DeclareRobustCommand{\applebiglogo} {\applesymbol{\XeTeXglyph1109}}
\DeclareRobustCommand{\appleemptylogo} {\applesymbol{\XeTeXglyph1108}}
\DeclareRobustCommand{\applestrippedlogo}{\applesymbol{\XeTeXglyph1107}}
\begin{document}
\begin{center}
\applelogo \quad
\applebiglogo \quad
\appleemptylogo \quad
\applestrippedlogo \quad
\end{center}
\end{document}
Hope this helps,
Bruno Voisin--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX
mailing list