For my thesis, I want to mention that Apple Pay is often stylized as  Pay, but the compiler warns me that this is an unknown character. It outputs Ô£ø. I have found that this symbol is encoded as \uF8FF.

How can I put this so that it outputs the apple symbol?

  • 2
    You need to find a font that has that character defined. It is possible to use one of the Apple system fonts if you are using either Xetex or Luatex. – Charles Stewart May 11 '15 at 15:28
  • 1
    \DeclareUnicodeCharacter{F8FF}{<whatever you want the symbol  to print>} – Manuel May 11 '15 at 15:36
  • 1
    Related (albeit old): How to typeset special Apple Mac keyboard symbols? – Alenanno May 11 '15 at 15:42

You need

  1. a font -- likely an OpenType or TrueType font -- that features the Apple symbol and
  2. a typesetting engine that can work with this font.

For the latter, both Xe(La)TeX and Lua(La)TeX qualify. Examples of font families that feature the symbol are Apple Chancery, Helvetica (Neue), and Zapfino.

enter image description here

% !TEX TS-program = lualatex    
\setmainfont{Apple Chancery} abc \apple{} def

\setmainfont{Helvetica Neue} abc \apple{} def

\setmainfont{Zapfino} abc \apple{} def
  • You don't need to define a new command. Most fonts support the direct typing of . – Alenanno May 11 '15 at 15:41
  • @Alenanno - Umm, my keyboard doesn't have a key for , so how am I supposed to type it directly? And, speaking for myself, I find it much easier to type \apple than \char"F8FF. Separately, what do you mean by "most fonts" in this context? On my system, most fonts do not feature this symbol. – Mico May 11 '15 at 15:44
  • 2
    On an American or Canadian keyboard layout the apple symbol is option-shift-K. On a German layout it's option-shift-+. – Alan Munn May 11 '15 at 16:05
  • 1
    @AlanMunn - Thanks. I indeed use the US keyboard layout. (I occasionally use the Swiss German keyboard layout; I just found out that for that layout, option-shift-- ("dash") generates .) That said, I find easier to type \apple than to have to remember whether the applicable key combination is option-shift-K, option-shift-"dash", or whatever else it may be for a given keyboard layout... – Mico May 11 '15 at 16:08
  • 1
    i find it disconcerting that with zapfino, the apple symbol is obliqued. seems like an overcompensation. – barbara beeton May 11 '15 at 20:00

Not the answer you're looking for? Browse other questions tagged or ask your own question.