I've tried to compile (both pdfTeX and XeTeX) simple code:


But in result I have a plain page, without anything. What's wrong?

  • 6
    Have you loaded a font with the appropriate symbol present? – Joseph Wright Nov 30 '13 at 9:36

In XeTeX you need a font with this character:

\font\dejavusans="DejaVu Sans" at 10pt
{\dejavusans ☺}

Same for PDFTeX, but good luck with setting up fonts there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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