Hi, I have a DOC-file with a lot of quite complex math formulae. Trying to find a good workflow from doc to context I was experimenting with the Word plugin MathType, resp. with the different translator options (any better tip very welcome!). The best results I had with typesetting the code with newmath. Only one kind of formula with arrays gave errors. I attach the respective formula as a doc file here. Does anybody know a better way to deal with this kind of formulae in ConTeXt? Any help very much appreciated!! Steffen
On Wed, Oct 8, 2008 at 9:50 AM, Steffen Wolfrum
Hi,
I have a DOC-file with a lot of quite complex math formulae.
Trying to find a good workflow from doc to context I was experimenting with the Word plugin MathType, resp. with the different translator options (any better tip very welcome!).
The best results I had with typesetting the code with newmath. Only one kind of formula with arrays gave errors.
I attach the respective formula as a doc file here.
Does anybody know a better way to deal with this kind of formulae in ConTeXt?
Any help very much appreciated!!
\starttext \startformula \frac{g_a}{\theta} = \startcases[left={\left[},right={\right]}] \NC \displaystyle H_M \cdot z^{1 - \phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot \frac{(1 - \phi) \cdot \gamma}{1 - \sigma} - H_S \cdot z^{-\phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot \frac{(1 - \phi) \cdot \gamma}{1 - \sigma} + \gamma \cdot H_S \cdot z^{-\phi} \NR \NC \displaystyle - \gamma \cdot z^{-\phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot z \cdot H_M + \gamma \cdot z^{-\phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot H_S \NR \stopcases \stopformula \stoptext Wolfgang
On Wed, Oct 8, 2008 at 10:29 AM, Wolfgang Schuster
On Wed, Oct 8, 2008 at 9:50 AM, Steffen Wolfrum
wrote: Hi,
I have a DOC-file with a lot of quite complex math formulae.
Trying to find a good workflow from doc to context I was experimenting with the Word plugin MathType, resp. with the different translator options (any better tip very welcome!).
The best results I had with typesetting the code with newmath. Only one kind of formula with arrays gave errors.
I attach the respective formula as a doc file here.
Does anybody know a better way to deal with this kind of formulae in ConTeXt?
Any help very much appreciated!!
\starttext
\startformula \frac{g_a}{\theta} = \startcases[left={\left[},right={\right]}] \NC \displaystyle
\startcases[left={\left[},right={\right]},style=\displaystyle] \NC
H_M \cdot z^{1 - \phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot \frac{(1 - \phi) \cdot \gamma}{1 - \sigma} - H_S \cdot z^{-\phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot \frac{(1 - \phi) \cdot \gamma}{1 - \sigma} + \gamma \cdot H_S \cdot z^{-\phi} \NR \NC \displaystyle
\NC
- \gamma \cdot z^{-\phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot z \cdot H_M + \gamma \cdot z^{-\phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot H_S \NR \stopcases \stopformula
\stoptext
Wolfgang
If you are allowed to make some minor adjustments you may probably even leave out most of the \cdot commands, which will turn the formula even sleeker ... Just my two cents, Oliver
\starttext
\startformula \frac{g_a}{\theta} = \startcases[left={\left[},right={\right]}] \NC \displaystyle
\startcases[left={\left[},right={\right]},style=\displaystyle] \NC
H_M \cdot z^{1 - \phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot \frac{(1 - \phi) \cdot \gamma}{1 - \sigma} - H_S \cdot z^{-\phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot \frac{(1 - \phi) \cdot \gamma}{1 - \sigma} + \gamma \cdot H_S \cdot z^{-\phi} \NR \NC \displaystyle
\NC
- \gamma \cdot z^{-\phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot z \cdot H_M + \gamma \cdot z^{-\phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot H_S \NR \stopcases \stopformula
\stoptext
Potzblitz! Wolfgang wieder, wer sonst ;o) Ja, genau so soll das aussehen. Aber ich fürchte, Du hast das "von Hand" geschrieben, richtig? Da ich in der originalen DOC-Datei aber noch hunderte in dieser Preisklasse habe, wäre ich für einen sehr guten Konvertierungs-Tipp super-dankbar!!! Steffen Am 08.10.2008 um 10:29 schrieb Wolfgang Schuster:
On Wed, Oct 8, 2008 at 9:50 AM, Steffen Wolfrum
wrote: Hi,
I have a DOC-file with a lot of quite complex math formulae.
Trying to find a good workflow from doc to context I was experimenting with the Word plugin MathType, resp. with the different translator options (any better tip very welcome!).
The best results I had with typesetting the code with newmath. Only one kind of formula with arrays gave errors.
I attach the respective formula as a doc file here.
Does anybody know a better way to deal with this kind of formulae in ConTeXt?
Any help very much appreciated!!
\starttext
\startformula \frac{g_a}{\theta} = \startcases[left={\left[},right={\right]}] \NC \displaystyle H_M \cdot z^{1 - \phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot \frac{(1 - \phi) \cdot \gamma}{1 - \sigma} - H_S \cdot z^{-\phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot \frac{(1 - \phi) \cdot \gamma}{1 - \sigma} + \gamma \cdot H_S \cdot z^{-\phi} \NR \NC \displaystyle - \gamma \cdot z^{-\phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot z \cdot H_M + \gamma \cdot z^{-\phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot H_S \NR \stopcases \stopformula
\stoptext
Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (3)
-
Oliver Buerschaper
-
Steffen Wolfrum
-
Wolfgang Schuster