Math & Sciencenewtheorem and QED

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
holysword
Posts: 3
Joined: Mon Jul 19, 2010 9:08 pm

newtheorem and QED

Post by holysword »

Hi guys...

I would like to create a theorem enviroment, but I would like it to end with the QED character (some few authors seem to prefer this option because Definitions, for instance, have nothing to mark their end). What I have been doing now is to do something like

Code: Select all

\begin{mydefinition}
blablalbal\hfill$\blacksquare$
\end{mydefinition}
However I would like to know if there is a more "elegant" way of doing this, that is, an environment that already comes with the \blacksquare at the end.

Any clues?

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

newtheorem and QED

Post by localghost »

Maybe I'm off the mark, but perhaps the ntheorem offers what you need.


Thorsten
Post Reply