Forums » Using AMC (english) »
add checkbox uncheckbox in info
Added by red sea over 12 years ago
Tried to add the following sentence, but I can not.
"Do not put a signal true \checkedbox or x \xbox in the signal box and the only shade the box completely. \blacksquare ."
http://www.artofproblemsolving.com/Wiki/index.php/LaTeX:Symbols
can you help me.
regards
Replies (5)
RE: add checkbox uncheckbox in info - Added by Alexis Bienvenüe over 12 years ago
These symbols are not defined by default in LaTeX: you have to load some additional packages. I think adding
\usepackage{marvosym} \usepackage{amssymb}
begore
\begin{document}
should be sufficient. Note that LaTeX commands are case sensitive: you have to type \CheckedBox
and \XBox
. Furthermore, \blacksquare
is only valid in mathematic environment: type $\blacksquare$
RE: add checkbox uncheckbox in info - Added by red sea over 12 years ago
i got this messege:
LaTeX Error: File `marvosym.sty' not found.
Emergency stop.
RE: add checkbox uncheckbox in info - Added by Alexis Bienvenüe over 12 years ago
Try to install the texlive-fonts-recommended
package (see Ubuntu search page).
RE: add checkbox uncheckbox in info - Added by red sea over 12 years ago
thank you.
i sloved the problem by added:
\usepackage{amssymb}
into the head
\newcommand{\tickYes}{\checkmark}
$\tickYes$
\newcommand{\tickno}{\times}
$\tickno$
\newcommand{\tickblk}{\blacksquare}
$\tickblk$
inside the document.
regards
RE: add checkbox uncheckbox in info - Added by red sea over 12 years ago
sorry this is the best:
\usepackage{amssymb} % into the head
the past this in any line:
\mbox{\mathsurround=0pt \makebox[0pt][l]{$\checkmark$}$\square$}
\mbox{\mathsurround=0pt \makebox[0pt][l]{$\times$}$\square$}
\mbox{\mathsurround=0pt \makebox[0pt][l]{$\blacksquare$}$\square$}
(1-5/5)