latex and Mathematica, problems
- To: mathgroup at smc.vnet.net
- Subject: [mg30163] latex and Mathematica, problems
- From: "Martin Richter" <mrMICE.fi at cbs.dk>
- Date: Wed, 1 Aug 2001 02:19:18 -0400 (EDT)
- Organization: UNI-C
- Sender: owner-wri-mathgroup at wolfram.com
Hi I have problems with the generated Latex file from Mathematica 4.1. I'm using This is TeX, Version 3.14159 (MiKTeX 2 UP 1). All packages are loading fine. 1. Runaway argument? {General Equilibria and Dynamics of ! Paragraph ended before \title was complete. <to be read again> \par Somehow Mathematica put some extra line, this is easily manual edited. 2. ! Undefined control sequence. <argument> ...0][[1,2]],\IndentingNewLine \\ \noalign {\vspace {0.666... l.507 } This error comes from the automatic generated blok below. I have no clue what the problem is - but this happens all over the file. TIA for any help Martin Sorry this is of some lenght............ \dispSFinmath{ \MathBegin{MathArray}{l} \overvar{\omega }{\RawTilde }=0;\multsp \overvar{\overvar{\omega }{\RawTilde }}{\RawTilde }=0;{{\left( \overvar{\overvar{k}{\RawTilde }}{\RawTilde } \right) }_1}=0;{{\left( \overvar{\overvar{k}{\RawTilde }}{\RawTilde } \right) }_2}=0;{{\left( \overvar{\overvar{k}{\RawTilde }}{\RawTilde } \right) }_2}=0;{{\left( \overvar{k}{\RawTilde } \right) }_2}=0; \\ \noalign{\vspace{0.833333ex}} \\ \MathBegin{MathArray}{l} \Mfunction{If}[\Mvariable{cone}==1,\multsp \{\Mvariable{guess}=(0.5+\Mvariable{above})*\overvar{\omega }{\_}, \\ \noalign{\vspace{0.666667ex}} \hspace{2.em} \Mvariable{start1}=\Mvariable{above}*\overvar{\omega }{\_},\multsp \Mvariable{end}=\Mvariable{above}*10\RawWedge 6+\overvar{\omega }{\_}\}]; \\ \noalign{\vspace{0.666667ex}}\\ \MathEnd{MathArray} \\ \MathBegin{MathArray}{l} \Mfunction{If}[\Mvariable{cone}==2,\{\Mvariable{guess1}=0.1*\overvar{\omega }{\_},\Mvariable{guess2}=3*\overvar{\omega }{\_}, \\ \noalign{\vspace{0.666667ex}} \hspace{2.em} \Mvariable{start1}=0,\Mvariable{start2}=\overvar{\omega }{\_},\multsp \Mvariable{end}=10\RawWedge 6\}]; \\ \noalign{\vspace{0.666667ex}}\\ \MathEnd{MathArray} \\ \MathBegin{MathArray}{l} \Mfunction{If}[\Mvariable{cone}==1, \\ \noalign{\vspace{0.666667ex}} \hspace{1.em} \{\overvar{\omega }{\RawTilde }=\Mfunction{FindRoot}[\Muserfunction{P1P2}[k] ==p, \\ \noalign{\vspace{0.666667ex}} \hspace{5.em} \{k,\Mvariable{guess},\Mvariable{start1},\Mvariable{end}\}, \\ \noalign{\vspace{0.666667ex}} \hspace{5.em} \Mvariable{AccuracyGoal}\rightarrow 12, \\ \noalign{\vspace{0.666667ex}} \hspace{5.em} \Mvariable{WorkingPrecision}\rightarrow 15, \\ \noalign{\vspace{0.666667ex}} \hspace{5.em} \Mvariable{MaxIterations}\rightarrow 50][[1,2]]\}]; \\ \noalign{\vspace{0.666667ex}}\\ \MathEnd{MathArray} \\ \MathBegin{MathArray}{l} \Mfunction{If}\big[\Mvariable{cone}==2, \\ \noalign{\vspace{0.666667ex}} \hspace{1.em} \big\{\overvar{\omega }{\RawTilde }=\Mfunction{FindRoot}[\Muserfunction{P1P2 }[k]==p, \\ \noalign{\vspace{0.666667ex}} \hspace{5.em} \{k,\Mvariable{guess2},\Mvariable{start2},\Mvariable{end}\}, \\ \noalign{\vspace{0.666667ex}} \hspace{5.em} \Mvariable{AccuracyGoal}\rightarrow 8,\Mvariable{WorkingPrecision}\rightarrow 10, \\ \noalign{\vspace{0.666667ex}} \hspace{5.em} \Mvariable{MaxIterations}\rightarrow 50][[1,2]],\IndentingNewLine \\ \noalign{\vspace{0.666667ex}} \hspace{2.em} \overvar{\overvar{\omega }{\RawTilde }}{\RawTilde }=\Mfunction{FindRoot}[\Mu serfunction{P1P2}[k]==p, \\ \noalign{\vspace{0.666667ex}} \hspace{5.em} \{k,\Mvariable{guess1},\Mvariable{start1},\Mvariable{start2}\}, \\ \noalign{\vspace{0.666667ex}} \hspace{5.em} \Mvariable{AccuracyGoal}\rightarrow 8,\Mvariable{WorkingPrecision}\rightarrow 10, \\ \noalign{\vspace{0.666667ex}} \hspace{5.em} \Mvariable{MaxIterations}\rightarrow 50][[1,2]]\big\}\big]; \\ \noalign{\vspace{0.666667ex}}\\ \MathEnd{MathArray} \\ \Mfunction{If}\big[\Mvariable{cone}==1,\multsp \big\{{{\left( \overvar{k}{\RawTilde } \right) }_1}=\Muserfunction{k1}[\overvar{\omega }{\RawTilde }],{{\left( \overvar{k}{\RawTilde } \right) }_2}\multsp =\Muserfunction{k2}[\overvar{\omega }{\RawTilde }]\big\}\big]; \\ \noalign{\vspace{0.833333ex}} \\ \MathBegin{MathArray}{l} \Mfunction{If}\big[\Mvariable{cone}==2,\big\{{{\left( \overvar{\overvar{k}{\RawTilde }}{\RawTilde } \right) }_1}=\Muserfunction{k1}[\overvar{\overvar{\omega }{\RawTilde }}{\RawTilde }],{{\left( \overvar{\overvar{k}{\RawTilde }}{\RawTilde } \right) }_2}\multsp =\Muserfunction{k2}[\overvar{\overvar{\omega }{\RawTilde }}{\RawTilde }], \\ \noalign{\vspace{0.833333ex}} \hspace{2.em} {{\left( \overvar{k}{\RawTilde } \right) }_1}=\Muserfunction{k1}[\overvar{\omega }{\RawTilde }],{{\left( \overvar{k}{\RawTilde } \right) }_2}\multsp =\Muserfunction{k2}[\overvar{\omega }{\RawTilde }]\big\}\big]; \\ \noalign{\vspace{0.666667ex}}\\ \MathEnd{MathArray} \\ \MathBegin{MathArray}{l} \Mfunction{If}[\Mvariable{cone}==0,\multsp \\ \noalign{\vspace{0.666667ex}} \hspace{1.em} \Mvariable{Print}[ \\ \noalign{\vspace{0.666667ex}} \hspace{2.em} "We\multsp do\multsp not\multsp have\multsp an\multsp intersection\multsp \\ \noalign{\vspace{0.666667ex}} \hspace{4.em} \Mvariable{point\multsp "}]]; \\ \noalign{\vspace{0.666667ex}}\\ \MathEnd{MathArray} \\ \MathBegin{MathArray}{l} \Mfunction{If}\big[\Mvariable{cone}==1,\multsp \\ \noalign{\vspace{0.666667ex}} \hspace{1.em} \Mvariable{Print}\big[ \\ \noalign{\vspace{0.666667ex}} \hspace{2.em} "We\multsp have\multsp one\multsp intersection\multsp point\multsp \backslash n\multsp \\ \noalign{\vspace{0.666667ex}} \hspace{4.em} \Mstring{$\overvar{\omega }{\RawTilde }$ = "} , \overvar{\omega }{\RawTilde }, \Mstring{" with ${{\left( \overvar{k}{\RawTilde } \right) }_1}$ = "} , {{\left( \overvar{k}{\RawTilde } \right) }_1} , \\ \noalign{\vspace{0.666667ex}} \hspace{2.em} \Mstring{" and ${{\left( \overvar{k}{\RawTilde } \right) }_2}$ = "} ,{{\left( \overvar{k}{\RawTilde } \right) }_2}\big]\big]; \\ \noalign{\vspace{0.666667ex}}\\ \MathEnd{MathArray} \\ \MathBegin{MathArray}{l} \Mfunction{If}\big[\Mvariable{cone}==2,\multsp \\ \noalign{\vspace{0.666667ex}} \hspace{1.em} \Mvariable{Print}\big[ \\ \noalign{\vspace{0.666667ex}} \hspace{2.em} "We\multsp have\multsp two\multsp intersection\multsp points\multsp \backslash n\multsp \\ \noalign{\vspace{0.666667ex}} \hspace{4.em} \Mstring{$\overvar{\omega }{\RawTilde }$ = "} , \overvar{\omega }{\RawTilde }, \Mstring{" and $\overvar{\overvar{\omega }{\RawTilde }}{\RawTilde }$ = "} ,\overvar{\overvar{\omega }{\RawTilde }}{\RawTilde }, \\ \noalign{\vspace{0.833333ex}} \hspace{2.em} \Mstring{" there \backslash n ${{\left( \overvar{\overvar{k}{\RawTilde }}{\RawTilde } \right) }_2}$ = "} , {{\left( \overvar{\overvar{k}{\RawTilde }}{\RawTilde } \right) }_2}, \Mstring{" and ${{\left( \overvar{\overvar{k}{\RawTilde }}{\RawTilde } \right) }_1}$ = "} , \\ \noalign{\vspace{0.833333ex}} \hspace{2.em} {{\left( \overvar{\overvar{k}{\RawTilde }}{\RawTilde } \right) }_1},\multsp \Mstring{" \backslash n ${{\left( \overvar{\overvar{k}{\RawTilde }}{\RawTilde } \right) }_2}$ = "} , {{\left( \overvar{k}{\RawTilde } \right) }_1}, \Mstring{" and ${{\left( \overvar{k}{\RawTilde } \right) }_2}$ = "} ,{{\left( \overvar{k}{\RawTilde } \right) }_2}\multsp \big]\big];\\ \MathEnd{MathArray} \MathEnd{MathArray} } -- --------------------------------------- Please remove PET to reply by email