9
$\begingroup$

How to get MathJax render the \qed-command? Is there a way to use it? Maybe aligning the $\Box$ \Box under the current line?

$\endgroup$
17
$\begingroup$

This can be obtained nicely using $$\tag*{$\blacksquare$}$$:

$$\tag*{$\blacksquare$}$$

$\endgroup$
  • 5
    $\begingroup$ Use \tag* to eliminate the brackets. $\endgroup$ – Bill Dubuque Apr 8 '14 at 15:43
  • 2
    $\begingroup$ Thank you so much for that! I looked but I didn't find it. I have MathJax is not full LaTeX drilled pretty deep and I didn't think to try this sort of intuition. $\endgroup$ – E.P. Apr 8 '14 at 16:38
16
$\begingroup$

The command that gives the tombstone is part of amsthm (or other theorem environment packages). The positioning of the tombstone is actually quite complicated, and I do not believe it is currently implemented in MathJax, nor do I think it will be in the near future.

Let me emphasize: MathJax is not, and was never intended to be a full featured dynamic LaTeX parser. It is a platform for displaying mathematics coded using TeX or MathML notation in an aesthetic way.

If you must have an Halmos symbol, you will have to kludge it yourself by inserting sufficiently much spacing (possibly with  s or \qquads inside dollar signs) and place $\Box$ (\Box) or $\blacksquare$ (\blacksquare) yourself.

But let me ask: what's wrong with just typing the three letters "q.e.d."?

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .