LaTeX Square () - Complete Guide

The square symbol (□) represents a square or is used as a QED (end of proof) marker.

Symbol Preview

Square

LaTeX Code

No package required

Recommended
\square

Square symbol

What is the LaTeX Square?

The square symbol can denote a square shape geometrically, and is commonly used to mark the end of a mathematical proof (QED).

How to Use Square in LaTeX

Method 1: Using \square

No package required

Square symbol

Example: Using \square

latex
\documentclass{article}

\begin{document}

% Using the Square
Text with \square

\end{document}

Common Use Cases

The Square symbol is commonly used in the following contexts:

Proof End Marker

Mark end of proof.

Code

... therefore QED. $\square$

Output

... therefore QED. □

Complete Examples

QED Marker

QED marker at end of proof

latex
\documentclass{article}
\begin{document}

Proof: [proof content] $\square$

\end{document}

Frequently Asked Questions

Which method should I use?

We recommend using the method marked as "Recommended" above. However, the best method depends on your specific needs:

  • \square: Square symbol

Where do I use this symbol?

This symbol can be used:

  • In mathematical equations (math mode)
  • In regular text (if using text mode)
  • In various document environments

Can I use this in display mode?

Yes, symbols that work in math mode (between $ $) also work in display mode (between $$ $$). This allows you to display the symbol on its own line with larger formatting.

🔗 Related Symbols You May Need

View all symbols →

🎯 Need to Convert PDF to LaTeX?

Our free PDF to LaTeX converter preserves all mathematical symbols and formatting.

Fast & accurate

Preserves symbols

Free online

No registration

Try Converter Now →