Answer by Douba for Pushing \qed to the right within a displayed formula
For the qed symbol to appear flushed right in the last line of aligned equations, I use: \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \renewcommand{\j}{\ensuremath{\text{j}}}...
View ArticleAnswer by Palec for Pushing \qed to the right within a displayed formula
Not sure with LaTeX, haven't worked with it for a long time, but in Plain, I would use \eqno. $$\sum_{n=1}^\infty {1 \over n^2} = {\pi^2 \over 6} \eqno\qed$$
View ArticleAnswer by egreg for Pushing \qed to the right within a displayed formula
If the QED symbol (or tombstone) is needed only rarely, I suggest to use the \qedhere feature provided by amsthm. \documentclass{article} \usepackage{amsthm} \newtheorem{thm}{Theorem} \begin{document}...
View ArticleAnswer by Hendrik Vogt for Pushing \qed to the right within a displayed formula
You can use \displaymath@qed from the amsthm package. Due to the @ in the name you'll need a wrapper macro. In the code below I "overload" \qed in such a way that it acts as \displaymath@qed in math...
View ArticleAnswer by Philippe Goutet for Pushing \qed to the right within a displayed...
You should consider using the ntheorem package which does this kind of thing from the start. But if you really need to use your custom theorem environments, you can take inspiration from what amsthm...
View ArticleAnswer by Werner for Pushing \qed to the right within a displayed formula
You can insert the display equation in text mode with a forced \displaystyle: \documentclass{article} \usepackage{lipsum}% http://ctan.org/pkg/lipsum \newcommand{\qed}{\hfill\rule{1ex}{1ex}}...
View ArticlePushing \qed to the right within a displayed formula
In my own custom theorem environment, I'm using the \qed command to create a white box. This works wonderfully when the theorem ends with a regular paragraph -- the box is pushed to the right where it...
View ArticleAnswer by Max D for Pushing \qed to the right within a displayed formula
I think I found a much easier work around. Hopefully this helps anyone else who stumbles across this question:\begin{align}&E^2 + \frac{1}{4}(-2E^2 +2B^2)\\&= 1/2 (E^2 +B^2)\\&=...
View ArticleAnswer by lucidbrot for Pushing \qed to the right within a displayed formula
A hack I can use even in mathjax when I take notes in typora is to set the equation number to the qed symbol. Example:\begin{align}k_m(x,y) =& \sum_{\substack{h, h'}} k((x,h), (y,...
View Article