This is a a follow-up question to this answer.
Here there is a minor modification of the MWE provided by the user (where I put \bigg
instead of \bigl
/\bigr
):
\documentclass{article}
\usepackage{amsmath,amsthm}
\theoremstyle{definition}
\newtheorem{examplex}{Example}
\newenvironment{example}
{\pushQED{\qed}\renewcommand{\qedsymbol}{$\triangle$}\examplex}
{\popQED\endexamplex}
\begin{document}
\begin{example}
This has only text.
\end{example}
\begin{example}
This has also a display at the end:
\begin{align*}
f(x) &= \bigg( g(x) \bigg) \\
h(x) &= \bigg( r(x) \bigg).\qedhere
\end{align*}
\end{example}
\end{document}
As it can be noticed, the symbol at the end of the example is in line with the dot at the end of the align
(i.e. it is in line with the center of the bracket). However, I would like to have it in line with the bottom of the bracket.
Notice that the very same issue arises with the standard environment of proof
.
Is it possible to achieve what I am looking for?
(Of course, \bigg)
is just a reference point. The solution should work for any kind of symbol that does not take the standard spacing in a formula.)