I am designing tikz images of numbers arranged in a tabular environment. Each number is formatted according to a particular style (different colors and shape). I first define the style for each number and then arrange them in a tabular environment.
Question: Is there a way to make my code more elegant and/or more systematic?
I would have liked to have been able to define commands for numbers in the style of \81, but couldn't work out how to do it (except for single digits) so I settled for \eightyone. However, now I would like to write a loop over a list of numbers, but the "no-number" notation makes it cumbersome. I would like to be able to handle large collections of numbers. Any suggestion?
Minimum example: Edit: In my real-word example each number has a different style, for simplicity here I made them all circled and green.
\documentclass[margin=0pt]{article}%
\usepackage[svgnames,x11names]{xcolor}%
\usepackage{tikz}%
\usepackage{rotating}% provides sideways environment
\begin{document}%
\newcommand{\mycolor}{Brown4!30!DarkGreen}%
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{%
\node[shape = circle, draw, inner sep = 1.8pt, fill = green!30!black!10] (char) {#1};}}%
\newcommand{\eightyone}{\color{\mycolor}{\circled{81}}}%
\newcommand{\eightytwo}{\color{\mycolor}{\circled{82}}}%
\newcommand{\eightythree}{\color{\mycolor}{\circled{83}}}%
\newcommand{\eightyfour}{\color{\mycolor}{\circled{84}}}%
\newcommand{\eightyfive}{\color{\mycolor}{\circled{85}}}%
\newcommand{\eightysix}{\color{\mycolor}{\circled{86}}}%
\newcommand{\eightyseven}{\color{\mycolor}{\circled{87}}}%
\newcommand{\eightyeight}{\color{\mycolor}{\circled{88}}}%
\newcommand{\eightynine}{\color{\mycolor}{\circled{89}}}%
\fontfamily{pzc}\selectfont%
\parindent=0pt%
\begin{tikzpicture}%
\node[anchor = base, inner sep = 0pt, outer sep = 0pt, scale = 6] {%
\begin{sideways}%
\begin{tabular}{ccc}%
\eightyone & \eightytwo & \eightythree \\%
\eightyfour & \eightyfive & \eightysix \\%
\eightyseven & \eightyeight & \eightynine \\%
\end{tabular}%
\end{sideways}%
};%
\end{tikzpicture}%
\end{document}%

Also, question in passing, I'd like to center the numbers a bit better, being slanted they are currently leaning too much to the right.
Edit: There is a follow-up on this, in case anyone has an interest in these things: Tikz Nodes Positions and Shapes with a General Number of Nodes

