For Programmers: Free Programming Magazines  


Home > Archive > Tex > October 2006 > Other problems with magyar and Mathematica









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Other problems with magyar and Mathematica
Panrug

2006-10-30, 7:43 pm

Hello,

Thanks again for the quick solution of the magyar vs ams problem.

I have run to another issue now. I would like to include
Mathematica-styled
code in my document. I have downloaded and installed the necessary
package.

The following does what I would expect from it:

\documentclass[12pt]{report}

\usepackage{notebook2e, latexsym}

\begin{document}

\dispSFinmath{
\MathBegin{MathArray}{l}
\Mfunction{Series}[\log [1+x],\{x,0,4\}] \\
\noalign{\vspace{0.666667ex}} \\
\Mfunction{Series}[1-1/(1+x),\{x,0,4\}]
\MathEnd{MathArray}
}

\end{document}

The Mathematica code was copied from a TeX output generated by
Mathematica.
However, when I include (now using the most recent version):

\def\magyarOptions{defaults=hu-min}
\usepackage[magyar]{babel}

just after the \documentclass, I get the error: "Illegal parameter
number in definition of \cong".
This is strange... but the correct output is still generated, so I
might as well ignore that error.
I would like to get rid of it, though.

The next problem I've got is a little bit more serious. Using the
notebook2e package messes
up normal Latex code. So for example, in:

\documentclass[12pt]{report}

\usepackage{notebook2e, latexsym}

\begin{document}

\dispSFinmath{ ... }

Let $\epsilon=\frac{\pi}{4}$.

\end{document}

The epsilon = ... part doesn't quite look like how I would expect. Do
you have any idea how to get
around this?

Thank you!

P.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com