Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to change the symbol for the end of proofs (the square) used in Beamer. It is quite thin, not very visible in some colorthemes. How can I have a thicker border and still in the structure color?

share|improve this question

1 Answer 1

up vote 9 down vote accepted

Beamer defines the end-proof symbol in this way:

\def\qedsymbol{\leavevmode\hbox{\usebeamertemplate*{qed symbol}}}

therefore it is possible to change it by means of something like:

\setbeamertemplate{qed symbol}{...}

Defining a new symbol with TikZ:

\newcommand{\bigqed}{\tikz[baseline]\draw[ultra thick,structure.fg](0,0)rectangle(0.275,0.275);}

it becomes:

\setbeamertemplate{qed symbol}{\bigqed}

Complete example:

\documentclass{beamer}
\usetheme{Boadilla}
\usepackage{tikz}

\newcommand{\bigqed}{\tikz[baseline]\draw[ultra thick,structure.fg](0,0)rectangle(0.275,0.275);}

\begin{document}

\begin{frame}
\setbeamertemplate{qed symbol}{\bigqed}
\begin{proof}
\begin{itemize}
\item First item.
\item Second item.
\item Third item.
\end{itemize}
\end{proof}

\end{frame}

\end{document}

Result:

enter image description here

Notice that in order to maintain the structure color of the current theme, the command uses structure.fg.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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