unicode in LaTeX

As I was hurriedly trying to cram several ‘Og posts into a conference paper (!), I looked around for a way of including Unicode characters straight away. And found this solution on StackExchange:

[sourcecode language=”lang” gutter=”false”]
\usepackage[mathletters]{ucs}
\usepackage[utf8x]{inputenc}
[/sourcecode]

which just suited me fine!

3 Responses to “unicode in LaTeX”

  1. This would’ve been incredibly useful the day I spent an hour trying to work out how to get latex to display ð (the Icelandic lower-cases eth)…

  2. I use Unicode in LaTeX a lot now.
    The only issue is with Greek letters; see http://robinryder.wordpress.com/2013/04/16/unicode-in-latex/ for a workaround.

Leave a Reply

Discover more from Xi'an's Og

Subscribe now to keep reading and get access to the full archive.

Continue reading