MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: TeXForm and array-like output

  • To: mathgroup at smc.vnet.net
  • Subject: [mg37755] Re: TeXForm and array-like output
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Mon, 11 Nov 2002 05:10:23 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <aqi7mq$6b5$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

SixJSymbol[{j, 2, 3}, {i, l, m}] // TraditionalForm // TeXForm

does already what you want.

Regards
  Jens

ad wrote:
> 
> 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


  • Prev by Date: Re: FindRoot and Inequalities
  • Next by Date: Re: help with simple data transform
  • Previous by thread: TeXForm and array-like output
  • Next by thread: AW: problem