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 may have misunderstood the documentation, but I believe that if I use the amsmath package in the declaration, then typing \qed should give me a Q.E.D. symbol. When I do this, it crashes with undefined control sequence.

The snippet:

\documentclass[11 pt]{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{graphicx}
\graphicspath{{/texfiles/}}
\begin{document}
...
Since we proved that any function with the property ($\pi$) is an increasing involution, we have thus proved that $f(x) = x$ is the only function which satisfies ($\pi$). 
\qed

What is going wrong here?

share|improve this question

1 Answer 1

You need the amsthm package for that:

\documentclass[11 pt]{article}
\usepackage{amsmath,amsthm}
\usepackage{amsfonts}
\usepackage{graphicx}
\graphicspath{{/texfiles/}}
\begin{document}
...
Since we proved that any function with the property ($\pi$) is an increasing involution,
we have thus proved that $f(x) = x$ is the only function which satisfies ($\pi$). 
\qed
\end{document}
share|improve this answer
    
Thank you! Can I adjust the symbol's placement? (Edit: never mind, I found that out. Thank you!) –  user1296727 Jul 30 '12 at 5:35
3  
You may add that the QED symbol is added automatically in the proof environment and that there's \qedhere for particular cases, when the proof ends with an alignment environment or a list. –  egreg Jul 30 '12 at 9:41

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.