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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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