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
\squareSquare symbol
Table of Contents
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
\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
\documentclass{article}
\begin{document}
Proof: [proof content] $\square$
\end{document}Frequently Asked Questions about Square (□)
Which LaTeX code should I use for Square?
For the Square symbol (□), we recommend using the method marked as "Recommended" above. However, the best method depends on your specific needs:
- \square: Square symbol
Where can I use the Square symbol?
The Square symbol (□) is typically used:
- In mathematical equations (math mode)
- In regular text (if supported)
- In various LaTeX environments
Can I use the Square symbol in display mode?
Yes, the Square symbol (□) works in display mode (between $$ $$). This allows you to render the symbol on its own line with better visibility.
🔗 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