Hello:
Has anybody an idea how to use a grey square in latex text? Just like the $\blacksquare$ command for a black square.
Thanks
Text Formatting ⇒ grey square in text
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
grey square in text
You could use a color package, such as
xcolor, and define your own macro, such as:
Stefan

Code: Select all
\usepackage[svgnames]{xcolor}
\newcommand*{\greysquare}{\textcolor{gray}{\blacksquare}}
LaTeX.org admin