I would like to do something along the lines of the following snippet but I instead get many errors:
\foreach \x in {0,...,8} {
\foreach \y [evaluate=\y as \z using int(4-\y)] in {0,...,4} {
\ifthenelse{\less{x}{y} \OR \equal{x}{y}}
{ \node at (\x cm,\y cm) (g-\x-\y) {$a_{\x,\z}$}; }
{ }
}
}
meaning show a node only if it belongs to the upper triangular.



\less,\ORand\equalcome from? – Gonzalo Medina Aug 20 '12 at 17:31