Generalamsthm: \qedhere does not appear

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
chrisr34000
Posts: 10
Joined: Mon Aug 15, 2011 9:40 pm

amsthm: \qedhere does not appear

Post by chrisr34000 »

I have the following code:

Code: Select all

\documentclass[a4paper, twoside, ngerman, openright, 12pt]{report}
\usepackage{amsmath, amsthm, amsfonts, amssymb, amssymb, dlfltxbcodetips}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{float}                            
\usepackage{enumerate}       
\usepackage{array}            
\usepackage{pdfpages}         
\usepackage{parskip}          
\usepackage[right]{eurosym}   
\usepackage[hyphens]{url}     
\usepackage{makeidx}          
\usepackage{multicol}        
\usepackage[numbers, square]{natbib}   
\usepackage{parskip}
\usepackage{graphicx}

\usepackage[margin=25mm,textwidth=16cm]{geometry}

\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LO,RE]{\bfseries \nouppercase \leftmark}
\fancyhead[RO,LE]{\thepage}
\fancyfoot[C]{}
\setlength{\headheight}{16pt}
\renewcommand{\headrulewidth}{0.5pt}
\fancypagestyle{plain}{
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
}

\everymath{\displaystyle}
\usepackage{bibgerm}
\usepackage[colorlinks]{hyperref}
\hypersetup{pdffitwindow=true,linkcolor=LightSkyBlue,colorlinks=true,citecolor=green
urlcolor=navy,menucolor=black}


\begin{document}

$\int_{0}^{1}\{l(x)-l(x+u)\}du\rightarrow 0$ für $ x\rightarrow\infty$.

Somit haben wir (\ref{eq:bew2}) mit $d(x)=d+\displaystyle \int_{0}^{1}\{l(x)-l(x+u)\}du$ erhalten. \qed

\end{document}
I want to use the \qedhere command instead of \qed, but \qedhere produces just blank space and does not appear in the document.
What do I need to change?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
shadgrind
Posts: 140
Joined: Thu Jul 16, 2009 12:39 am

Re: qedhere

Post by shadgrind »

I think \qedhere only works within a proof environment. When I put your "Somit haben wir..." line between a \begin{proof} and \end{proof}, the \qedhere command did produce a qed symbol, flush right on the same line.
System: TeX Live 2012, Fedora 18 x86_64, GNU Emacs 24.2
Post Reply