Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

\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:

\documentclass{article}
\usepackage{fontspec}
\setmainfont{TeX Gyre Termes}

\begin{document}

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

\end{document}
share|improve this answer
4  
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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