Math & ScienceBlack filled QED in amsthm

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
squidgy_wiji
Posts: 8
Joined: Sun Aug 09, 2009 3:29 am

Black filled QED in amsthm

Post by squidgy_wiji »

Hey when you are in the proof environment using the amsthm package the QED square at the end of the proof is unfilled. Is there a way to make it \blacksquare.

I tried searching the forum but could not find the answer.

Recommended reading 2024:

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

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

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Black filled QED in amsthm

Post by gmedina »

Hi,

redefine the \qedsymbol command (from the amsthm package):

Code: Select all

\documentclass{article}
\usepackage{amsthm,amssymb}

\renewcommand\qedsymbol{$\blacksquare$}

\begin{document}

\begin{proof}
  dummy text
\end{proof}

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
squidgy_wiji
Posts: 8
Joined: Sun Aug 09, 2009 3:29 am

Re: Black filled QED in amsthm

Post by squidgy_wiji »

Excelllent thank you so much for that.
Post Reply