I want to enter a GREEK CAPITAL LETTER ALPHA (U+0391) into my LaTeX document. I do not want a LATIN CAPITAL A. How do I do this?

\symbol{"0391} % hex
\symbol{913}   % dec
\symbol{'1621} % oct

You need a true Unicode TeX engine (XeLaTeX or LuaLaTeX) to get proper glyphs.

Full example code:

\setmainfont{TeX Gyre Termes}


\symbol{"0393} % hex
\symbol{915}   % dec
\symbol{'1623} % oct

  • 9
    Also possible notation is ^^^^0391. It is preferable for those languages where double qoute is declared to be active symbol. – Igor Kotelnikov Oct 24 '11 at 2:11
  • 2
    @Igor: Sure. If you use XeLaTeX or LuaLaTeX, it is better to use ö directly than \"o, or "o with polyglossia etc. – Leo Liu Oct 24 '11 at 4:50
  • it depends! ö can be broken if you ocassinally save your file in an encoding different from utf8. – Igor Kotelnikov Oct 25 '11 at 6:02
  • @Igor: Well, we are talking about Unicode only TeX engines: XeTeX and LuaTeX. You can't get U+0391 in pdfTeX engine directly. Never use an encoding other than UTF-8 in XeTeX and LuaTeX, although possible. – Leo Liu Oct 25 '11 at 6:10

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.