Hey,
How do I put a small square around a number. I have tried this with a circle. I don't have any latex-code. Otherwise I would have given it.
Thanks.
Text Formatting ⇒ small square around number
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
small square around number
Take a look at the suggestions to your related request [1]. You can adapt the provided code samples very easy by studying the pgf/tikZ manual.
Especially for circled numbers you can take a look at the pifont package from the PSNFSS. It gives you special access to the »Zapf Dingbats« font.
[1] View topic: circle around letters
Best regards
Thorsten
Code: Select all
\newcommand*\rectangled[1]{%
\tikz[baseline=(R.base)]\node[draw,rectangle,inner sep=0.5pt](R) {#1};\!
}
[1] View topic: circle around letters
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10