Is there a way to draw the little black square at the end of proof without using the environment \begin{proof}... \end{proof}?

I know that one way is like says in this question but I'd like to know if is it possible to place that little black square at determined position, say (7,-8) in coordinate scale for example?

If yes, how do it?


The QED symbol could be placed at a desired position, e.g.--

enter image description here

with a tikz node whose position is specified w.r.t. the page.center (where coordinates such as (6,9) have to be calibrated as needed):

\usepackage{showframe}     % for this example

\newcommand{\QED}[1]{\tikz[remember picture, overlay]\node 
                         at ($(current page.center) + (#1)$) 

 \textit{Proof.} Proof of simple theorems are 
                            quite easily done. \QED{6,9}

 \QED{0,0} \QED{-6,6}
  • 1
    Evidently this solution is built on the framework of Sigur and the suggestion by marmot :). – Partha D. Feb 21 at 4:44

Like this?

enter image description here

(you can use any other symbol as QED symbol; to push it to right use \hfill)

\usepackage{showframe} % for this example
\usepackage[nopar]{lipsum} % for this example
\noindent\textit{Proof.} \lipsum[1]\hfill\qedsymbol
  • 1
    should get the fastest correct answer badge ! ...just noting a slight difference in my compiled pdf-- where the black square comes on the next line. – Partha D. Feb 21 at 2:59
  • 1
    @ParthaD. That is an artifact of lipsum, which auto-adds the \par at the end of the paragraph. Load the package with the [nopar] option. – Steven B. Segletes Feb 21 at 3:04
  • You should have used \noindent\textit{Proof.} There is no such way.\hfill\qedsymbol. (+1 some time ago;-) – user121799 Feb 21 at 3:32
  • Thank you for your help Sigur, this is helpful. Though this solution is 'fixed'. The little black square is always at a determined static position. Could it be possible to place it at determined coordinate position? – user178403 Feb 21 at 3:48
  • 1
    yes, I want the square at the end of last line of the proof but with specific coordinates. Seems like Partha D.'s answer does it. – user178403 Feb 22 at 0:30

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.