119

Possible Duplicate:
How to look up a symbol?
Escape character in LaTeX

In the itemize environment, how do I use the ampersand symbol & without LaTeX trying to use it as a command?

  • 31
    enter it as \&. – barbara beeton Jan 24 '13 at 23:30
  • 1
    @barbarabeeton I can't believe that I am unable to find a duplicate for it. I even wrote the tag wiki for {ampersand} which contains the "solution" already. – mafp Jan 24 '13 at 23:49
  • @barbarabeeton Is there anything other? I cannot get it work with XeLaTeX? – Léo Léopold Hertz 준영 Jan 15 '17 at 19:23
  • 1
    @LéoLéopoldHertz준영 -- you must have a package loaded that changes the meaning (to latex) of \&, but since we don't know that that might be, can't guess at an answer. since you're not the person who asked this question, please post a new one, with a compilable example that demonstrates the problem. – barbara beeton Jan 15 '17 at 19:26
116

How about \&?

This also works fine in XeLaTeX and LuaLaTeX. For example, in XeLaTeX this code:

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Linux Libertine O}
\begin{document}
Testing... \&
\end{document}

is thus rendered:

enter image description here

| improve this answer | |
  • 1
    Thanks, this is exactly what I'm asking. I figured it out in the same moment you posted this comment. – Aei Jan 24 '13 at 23:33
  • 1
    This does not work in XeLaTeX. Maybe something there too – Léo Léopold Hertz 준영 Jan 15 '17 at 19:22
  • 1
    @LéoLéopoldHertz준영 It does. – NVaughan Jan 16 '17 at 1:37
  • 5
    @NVaughan I cannot get it work in my environment. Is there any more universal way without fontspec? - - This works {\&} instead. But it does not work inside \textbf. – Léo Léopold Hertz 준영 Aug 2 '17 at 13:37
  • Latex has set of symbols as a part of compilation. Such symbols one can use in the tex by \symbol. – Vaman Kulkarni Jun 9 at 12:35

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