Text Formatting ⇒ write number in circle
write number in circle
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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
write number in circle
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