ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* how to typeset this formula ?
@ 2008-10-08  7:50 Steffen Wolfrum
  2008-10-08  8:29 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Steffen Wolfrum @ 2008-10-08  7:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 542 bytes --]

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


[-- Attachment #2: formula.doc --]
[-- Type: application/msword, Size: 23552 bytes --]

[-- Attachment #3: Type: text/plain, Size: 1 bytes --]



[-- Attachment #4: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to typeset this formula ?
  2008-10-08  7:50 how to typeset this formula ? Steffen Wolfrum
@ 2008-10-08  8:29 ` Wolfgang Schuster
  2008-10-08  8:32   ` Wolfgang Schuster
  2008-10-08  8:42   ` Steffen Wolfrum
  0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2008-10-08  8:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Oct 8, 2008 at 9:50 AM, Steffen Wolfrum <context@st.estfiles.de> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to typeset this formula ?
  2008-10-08  8:29 ` Wolfgang Schuster
@ 2008-10-08  8:32   ` Wolfgang Schuster
  2008-10-08 11:28     ` Oliver Buerschaper
  2008-10-08  8:42   ` Steffen Wolfrum
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2008-10-08  8:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Oct 8, 2008 at 10:29 AM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
> On Wed, Oct 8, 2008 at 9:50 AM, Steffen Wolfrum <context@st.estfiles.de> 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 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to typeset this formula ?
  2008-10-08  8:29 ` Wolfgang Schuster
  2008-10-08  8:32   ` Wolfgang Schuster
@ 2008-10-08  8:42   ` Steffen Wolfrum
  1 sibling, 0 replies; 5+ messages in thread
From: Steffen Wolfrum @ 2008-10-08  8:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <context@st.estfiles.de 
> > 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: how to typeset this formula ?
  2008-10-08  8:32   ` Wolfgang Schuster
@ 2008-10-08 11:28     ` Oliver Buerschaper
  0 siblings, 0 replies; 5+ messages in thread
From: Oliver Buerschaper @ 2008-10-08 11:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-10-08 11:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-08  7:50 how to typeset this formula ? Steffen Wolfrum
2008-10-08  8:29 ` Wolfgang Schuster
2008-10-08  8:32   ` Wolfgang Schuster
2008-10-08 11:28     ` Oliver Buerschaper
2008-10-08  8:42   ` Steffen Wolfrum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).