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.

Possible Duplicate:
Escape character in LaTeX

How do you write the # character in LaTeX?

share|improve this question
    
Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other, otherwise you won't be able to comment on or accept answers or edit your question. –  N.N. Jan 3 '12 at 12:21
add comment

migrated from stackoverflow.com Jan 3 '12 at 12:18

This question came from our site for professional and enthusiast programmers.

marked as duplicate by topskip, N.N., lockstep, Joseph Wright Jan 3 '12 at 12:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

\#

You just escape the #.

share|improve this answer
add comment

\#?

This works well in mathmode

share|improve this answer
add comment