[NTG-context] Re: Spacing problem in formula

2024-01-15 Thread Henning Hraban Ramm

Am 15.01.24 um 13:21 schrieb Hans Hagen:

On 1/15/2024 8:00 AM, Shiv Shankar Dayal wrote:

Thanks a lot Mikael.


in addition: in context lmtx {} are grouping symbols not (ordinary) 
empty atoms


Only in math, or generally?

\startquotation
{}[…] Here I need the empty group, otherwise the brackets belong to \start…
\stopquotation

Hraban

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Spacing problem in formula

2024-01-15 Thread Hans Hagen

On 1/15/2024 8:00 AM, Shiv Shankar Dayal wrote:

Thanks a lot Mikael.


in addition: in context lmtx {} are grouping symbols not (ordinary) 
empty atoms


On Mon, Jan 15, 2024 at 12:24 PM Mikael Sundqvist > wrote:


Hi,

ConTeXt supports prescripts:

\startTEXpage[offset=1DK]

\m{1 - {}^nC_2\tan^2\theta + {}^nC_4 }

\m{1 - C_2^^n \tan^2\theta + C_4^^n }

\stopTEXpage

If you want them below, use double _.

/Mikael

On Mon, Jan 15, 2024 at 7:45 AM Shiv Shankar Dayal
mailto:shivshankar.da...@gmail.com>>
wrote:
 >
 > Suppose I want to typeset the formula: 1 - {}^nC_2\tan^2\theta +
{}^nC_4 then it appears as if n is power of - and +. The same
formula in LaTeX comes out nicely. Is there something I need to change?
 >
 > --
 > Respect,
 > Shiv Shankar Dayal
 >

___
 > If your question is of interest to others as well, please add an
entry to the Wiki!
 >
 > maillist : ntg-context@ntg.nl  /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl

 > webpage  : https://www.pragma-ade.nl 
/ https://context.aanhet.net  (mirror)
 > archive  : https://github.com/contextgarden/context

 > wiki     : https://wiki.contextgarden.net

 >

___

___
If your question is of interest to others as well, please add an
entry to the Wiki!

maillist : ntg-context@ntg.nl  /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl

webpage  : https://www.pragma-ade.nl  /
https://context.aanhet.net  (mirror)
archive  : https://github.com/contextgarden/context

wiki     : https://wiki.contextgarden.net


___



--
Respect,
Shiv Shankar Dayal

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Spacing problem in formula

2024-01-14 Thread Shiv Shankar Dayal
Thanks a lot Mikael.

On Mon, Jan 15, 2024 at 12:24 PM Mikael Sundqvist  wrote:

> Hi,
>
> ConTeXt supports prescripts:
>
> \startTEXpage[offset=1DK]
>
> \m{1 - {}^nC_2\tan^2\theta + {}^nC_4 }
>
> \m{1 - C_2^^n \tan^2\theta + C_4^^n }
>
> \stopTEXpage
>
> If you want them below, use double _.
>
> /Mikael
>
> On Mon, Jan 15, 2024 at 7:45 AM Shiv Shankar Dayal
>  wrote:
> >
> > Suppose I want to typeset the formula: 1 - {}^nC_2\tan^2\theta + {}^nC_4
> then it appears as if n is power of - and +. The same formula in LaTeX
> comes out nicely. Is there something I need to change?
> >
> > --
> > Respect,
> > Shiv Shankar Dayal
> >
> ___
> > If your question is of interest to others as well, please add an entry
> to the Wiki!
> >
> > maillist : ntg-context@ntg.nl /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> > webpage  : https://www.pragma-ade.nl / https://context.aanhet.net
> (mirror)
> > archive  : https://github.com/contextgarden/context
> > wiki : https://wiki.contextgarden.net
> >
> ___
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
>
> ___
>


-- 
Respect,
Shiv Shankar Dayal
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Spacing problem in formula

2024-01-14 Thread Mikael Sundqvist
Hi,

ConTeXt supports prescripts:

\startTEXpage[offset=1DK]

\m{1 - {}^nC_2\tan^2\theta + {}^nC_4 }

\m{1 - C_2^^n \tan^2\theta + C_4^^n }

\stopTEXpage

If you want them below, use double _.

/Mikael

On Mon, Jan 15, 2024 at 7:45 AM Shiv Shankar Dayal
 wrote:
>
> Suppose I want to typeset the formula: 1 - {}^nC_2\tan^2\theta + {}^nC_4 then 
> it appears as if n is power of - and +. The same formula in LaTeX comes out 
> nicely. Is there something I need to change?
>
> --
> Respect,
> Shiv Shankar Dayal
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
>
> maillist : ntg-context@ntg.nl / 
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
> ___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___