1

When I write out my own proofs by hand on paper, I use my own personal variant of Q.E.D. / square to finish out the proofs (its a cursive version of my initials).

I've doodled up this icon on paint and want to insert it into my proof environments in the end as its Q.E.D. symbol.

I know how to change the symbol to whatever using

\renewcommand{\qedsymbol}{text here}

But I don't know how to extend this to use an image file rather than text. Any advice appreciated!

2

This should be as simple as

\renewcommand{\qedsymbol}{\includegraphics[height=1ex]{<image>}}

where you can specify the options to suit your needs.

Here's a minimal example:

enter image description here

\documentclass{article}

\usepackage{graphicx}
\usepackage{amsthm}

\renewcommand{\qedsymbol}{\includegraphics[height=1ex]{example-image}}

\begin{document}

\begin{proof}
  This is a theorem proof.
\end{proof}

\end{document}
|improve this answer|||||
  • Worked like a charm, thank you so much! If you don't mind, do you have any idea of how to make the \qedsymbol create a new line for the symbol and place it on that as to avoid extending the line height too much? – wjmccann Feb 19 at 1:04
  • @wjmccann: You could consider \smashing a too-large symbol. Something like \renewcommand{\qedsymbol}{\smash{\includegraphics[<opts>]{<img>}}}. – Werner Feb 19 at 1:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.