Dear all,
I want to know, how to write a number in a circle, for example \circle{1}? I found that it can work if use \usepackage{tikz} . but I don't know where to find the tikz.sty file or any other files that need to use that package.
Thank you.
Text Formatting ⇒ write number in circle
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
write number in circle
Hi Zaihnah,
welcome to the board!
You could simply use
or, for better looking results, the
pifont package, such as
Perhaps have also a look at these topics:
Regarding TikZ: which TeX distribution do you use, MiKTeX or TeX Live? Both have package managers, which can install TikZ for you. Just look for the package pgf and install that, TikZ is actually a front-end for pgf.
Stefan
welcome to the board!
You could simply use
\textcircled
, such asCode: Select all
\textcircled{1}

Code: Select all
\documentclass{article}
\usepackage{pifont}
\begin{document}
\ding{172}
\ding{173}
\end{document}
Regarding TikZ: which TeX distribution do you use, MiKTeX or TeX Live? Both have package managers, which can install TikZ for you. Just look for the package pgf and install that, TikZ is actually a front-end for pgf.
Stefan
LaTeX.org admin