TeXForm and array-like output
- To: mathgroup at smc.vnet.net
- Subject: [mg37712] TeXForm and array-like output
- From: "ad" <derevianko at sbcglobal.net>
- Date: Sat, 9 Nov 2002 00:29:39 -0500 (EST)
- Organization: Prodigy Internet http://www.prodigy.com
- Sender: owner-wri-mathgroup at wolfram.com
Hi there, I would like to have a latex output for function SixJSymbol which in standard physics notation should look like this SixJSymbol[{a,b,c}, {d,e,f}] -> { a b c } { } { d e f } Notice curly brackets (should be single big { and } ). To be more accurate, here is the piece of latex code \left\{ \begin{array}[c]{ccc} a & b & c \\ d & e & f \end{array} \right\} I am trying to do the following Format[SixJSymbol[{j1_, j2_, j3_}, {l1_, l2_, l3_}], TeXForm] := SequenceForm["\\left\\{ \\begin{array}[c]{ccc}", j1, " & ", j2, " & ", j3, " \\\\ ", l1, " & ", l2, " & ", l3, "\end{array} \\right\\}" ] The problem with this implementation: I get \& (instead of simply &) in the latex output. Is there any way to protect & or any other solution to the problem? I am using mmka 4.1 Thanks, Andrei