[OS X TeX] diagonal in entry in array

delanoy at math.univ-lyon1.fr delanoy at math.univ-lyon1.fr
Fri May 12 12:30:03 EDT 2006

   Hello all,

 consider the following input :

Here are the values of the function $f$ :

\put(0.4,1.4){$1$}  \put(1.0,1.4){$f(1,1)$}  \put(2.0,1.4){$f(1,2)$}
\put(0.4,0.4){$2$}  \put(1.0,0.4){$f(2,1)$}  \put(2.0,0.4){$f(2,2)$}

 it produces exactly the output I'm looking for, but I'm not quite
satisfied. Is there a way
to do it with the array environment or a related package ?

 Something like

x \diagdown y & 1 & 2 \\
1  & f(1,1) & f(1,2) \\
2  & f(2,1) & f(2,2) \\

 is close enough, but the ``diagdown" should be replaced by something else...


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/

More information about the MacOSX-TeX mailing list