MathGroup Archive 1997

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

Search the Archive

Undefined macro in LaTex file from Mma 3.0

The following LaTeX file was produced by the Save Special -> TeX
of a Mma 3.0 Notebook Cell. (sorry about the awful line spacing)
After making sure that notebook.sty was in the path of Mac Textures, 
LaTeX  complained that \RawReturn was undefined.  Would anybody
know where that macro is supposed to be defined?  

(I hardly use LaTeX, which I view as an ugly abomination of TeX.)

%% This is a LaTeX document generated by automatic conversion
%% from a 
%% Mathematica notebook using Mathematica 3.0.
%% This document uses special macros defined in the style file
%% notebook.sty.
%% To run the document, you must put this style file in a
%% directory on
%% the path searched by LaTeX.  The style file is in the
%% IncludeFiles
%% subdirectory of the SystemFiles directory in your
%% Mathematica distribution.




Shanks[Z\_]:= Module[\{m,n,shankedZ\},\RawReturn \RawReturn   \{m,n\}=Dimensions[Z]; 
\RawReturn \RawReturn   If [n<=2, Return[\{\}]];\RawReturn 
\RawReturn   shankedZ=Table[0,\{m\},\{n-2\}];\RawReturn \RawReturn   
Do [Do [\RawReturn \RawReturn       
shankedZ[[i,j]]=( Z[[i,j+2]]*  Z[[i,j]]  -Z[[i,j+1]]\RawWedge 2)/\RawReturn \RawReturn
                        (Z[[i,j+2]]-2*Z[[i,j+1]]+Z[[i,j]]),\RawReturn \RawReturn    
\{j,1,n-2\}], \{i,1,m\}];\RawReturn \RawReturn  Return[shankedZ]];\RawReturn \RawReturn  
\RawReturn \RawReturn  \$MinPrecision=16;\RawReturn \RawReturn  
S1=Shanks[N[\{\{1,1-1/2,1-1/2+1/3,1-1/2+1/3-1/4,1-1/2+1/3-1/4+1/5,\RawReturn \RawReturn
                1-1/2+1/3-1/4+1/5-1/6,1-1/2+1/3-1/4+1/5-1/6+1/7\},\RawReturn \RawReturn               
\{1,1-1/3,1-1/3+1/5,1-1/3+1/5-1/7,1-1/3+1/5-1/7+1/9,\RawReturn \RawReturn                
1-1/3+1/5-1/7+1/9-1/11,1-1/3+1/5-1/7+1/9-1/11+1/13\}\}]];\RawReturn \RawReturn  
S2=Shanks[S1]; S3=Shanks[S2];\RawReturn \RawReturn  
	0.7&0.69047619047619&0.694444444444444&0.692424242424242&0.693589743589744 \\
  \MathEnd{MathArray}  \\
\hspace{2.em} \Big)\InvisibleSpace   \\
\hspace{1.em} \Big(\MathBegin{MathArray}[c]{ccc}
	0.69327731092437&0.693105756358768&0.693163340724316 \\
  \MathEnd{MathArray}\Big)\InvisibleSpace   \\
\hspace{1.em} \Big(\MathBegin{MathArray}[c]{c}
	0.693148869332925 \\
  \MathEnd{MathArray}\Big)\InvisibleSpace \Big(\MathBegin{MathArray}[c]{c}
	0.693147 \\



  • Prev by Date: Definite integration error in MMA 3.0
  • Next by Date: Re: Incorrect result for improper integral with MMA?
  • Previous by thread: Definite integration error in MMA 3.0
  • Next by thread: Division symbol in Graphical Plots