I'm trying to create a graph using TikZ with a foreach loop. I'd like to label the nodes with characters, but I'm unable to do so.
\def \n {5}
\foreach \s in {1,...,\n} {
\node[mynodestyle] (\s) at ({360/\n * (\s - 1)}:3) {$\s$};
}
(I've been inspired by http://www.texample.net/tikz/examples/cycle/.)
The nodes are named 1 to 5, but they should be named a to e instead. I could not find any chr(\s) function. The 5 is pretty much fixed, so a lookup/makro might also be appropriate.
Thank you for any hints.
Howard