Text Formattingattempting to get \Box

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
diruptivetechnology
Posts: 3
Joined: Tue Jul 20, 2010 7:10 pm

attempting to get \Box

Post by diruptivetechnology »

I can get circle and triangle - but I am unable to get \Box, any ideas?

$\Box$ [$L_{\beta}$] $\triangle$ [$L_{\beta'}$] $\bigcirc$ [$L_{\alpha}$]

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

attempting to get \Box

Post by localghost »

diruptivetechnology
Posts: 3
Joined: Tue Jul 20, 2010 7:10 pm

Re: attempting to get \Box

Post by diruptivetechnology »

Hi

I want to get a box displayed within the $ $ symbols. I find that I can get the triangles and circles with $\triangle$ but $\Box$ does not work. I cannot figure out why this may be so when the \Box is labelled along with the \triangle symbol in most user guides. I wonder what is causing this?

The/op I get is confusingly:

! Missing number, treated as zero.
diruptivetechnology
Posts: 3
Joined: Tue Jul 20, 2010 7:10 pm

Re: attempting to get \Box

Post by diruptivetechnology »

User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

attempting to get \Box

Post by Stefan Kottwitz »

Hi,
diruptivetechnology wrote:but I am unable to get \Box
load the package amssymb or latexsym. For example:

Code: Select all

Code, edit and compile here:
\documentclass{article}
\usepackage{amssymb}
\begin{document}
$\Box$
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Next time please provide more information, for instance which packages you're already using.

Stefan
LaTeX.org admin
Post Reply