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!

1 Answer 1

3

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}
2
  • 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
    Commented Feb 19, 2020 at 1:04
  • @wjmccann: You could consider \smashing a too-large symbol. Something like \renewcommand{\qedsymbol}{\smash{\includegraphics[<opts>]{<img>}}}.
    – Werner
    Commented Feb 19, 2020 at 1:22

You must log in to answer this question.

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