[XeTeX] Insert Smileys in XeLaTeX

Marek Stepanek marek at munich-taxis.de
Tue Dec 16 12:24:42 CET 2014

Hello all!

It's quite a while, that I am reading this newsgroup. But I was always
using LaTeX. Now I am close to switch to XeLaTeX or even XeTeX.

I want to offer for Christmas a large dialogue with SMS put into a
LaTeX-file. And it turns out to be a huge problem, because one day my
girl-friend discovered the icons and smileys on her iPhone ... You
imagine the disaster :-)

My first step was going to wikipedia: http://en.wikipedia.org/wiki/XeTeX

I put together a test file, based on the first example. I replaced the
"Linux Libertine O", which is not installed on my computer, with Lucida
Grande. This font is displaying these smileys well in my text editor
BBEdit and my Terminal too (with an other font: Menlo Regular), but not
in the compiled XeLaTeX-file.

Here my example:

- And thank you for your help - it is urgent - for obvious reasons :-)



% from an other example to test the smiley:
% not installed:
% \setmainfont[Ligatures=TeX]{Linux Libertine O}
% and here are some Problems:
% \setmainfont[Ligatures=TeX]{Menlo Regular}
\setmainfont[Ligatures=TeX]{Lucida Grande}
\section{Unicode support}

All human beings are born free and equal in dignity and rights.

Hver maður er borinn frjáls og jafn öðrum að virðingu og réttindum.

Все люди рождаются свободными и равными в своем достоинстве и

\subsection{Tiếng Việt}
Tất cả mọi người sinh ra đều được tự do và bình đẳng về nhân phẩm và
quyền lợi.

Ὅλοι οἱ ἄνθρωποι γεννιοῦνται ἐλεύθεροι καὶ ἴσοι στὴν ἀξιοπρέπεια
καὶ τὰ δικαιώματα.

\section{Legacy syntax}
When he goes---``Hello World!''\\
She replies—“Hello dear!”

% \section{Ligatures}
% \fontspec[Ligatures={Common, Historical}]{Lucida Grande Bold}
% Questo è strano assai!

% \section{Numerals}
% \fontspec[Numbers={OldStyle}]{Lucida Grande}Old style: 1234567\\
% \fontspec[Numbers={Lining}]{Lucida Grande}Lining: 1234567

�� - �� - ������������ - �� - ���� - �� - �� - ������ - ���������� ...


More information about the XeTeX mailing list