ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Spacing problem in formula
@ 2024-01-15  6:43 Shiv Shankar Dayal
  2024-01-15  6:51 ` [NTG-context] " Mikael Sundqvist
  0 siblings, 1 reply; 5+ messages in thread
From: Shiv Shankar Dayal @ 2024-01-15  6:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 232 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 431 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

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

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

* [NTG-context] Re: Spacing problem in formula
  2024-01-15  6:43 [NTG-context] Spacing problem in formula Shiv Shankar Dayal
@ 2024-01-15  6:51 ` Mikael Sundqvist
  2024-01-15  7:00   ` Shiv Shankar Dayal
  0 siblings, 1 reply; 5+ messages in thread
From: Mikael Sundqvist @ 2024-01-15  6:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
<shivshankar.dayal@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
___________________________________________________________________________________

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

* [NTG-context] Re: Spacing problem in formula
  2024-01-15  6:51 ` [NTG-context] " Mikael Sundqvist
@ 2024-01-15  7:00   ` Shiv Shankar Dayal
  2024-01-15 12:21     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Shiv Shankar Dayal @ 2024-01-15  7:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1863 bytes --]

Thanks a lot Mikael.

On Mon, Jan 15, 2024 at 12:24 PM Mikael Sundqvist <mickep@gmail.com> 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
> <shivshankar.dayal@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

[-- Attachment #1.2: Type: text/html, Size: 3400 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

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

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

* [NTG-context] Re: Spacing problem in formula
  2024-01-15  7:00   ` Shiv Shankar Dayal
@ 2024-01-15 12:21     ` Hans Hagen
  2024-01-15 13:52       ` Henning Hraban Ramm
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2024-01-15 12:21 UTC (permalink / raw)
  To: ntg-context

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 <mickep@gmail.com 
> <mailto:mickep@gmail.com>> 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
>     <shivshankar.dayal@gmail.com <mailto:shivshankar.dayal@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 <mailto:ntg-context@ntg.nl> /
>     https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
>     <https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl>
>      > webpage  : https://www.pragma-ade.nl <https://www.pragma-ade.nl>
>     / https://context.aanhet.net <https://context.aanhet.net> (mirror)
>      > archive  : https://github.com/contextgarden/context
>     <https://github.com/contextgarden/context>
>      > wiki     : https://wiki.contextgarden.net
>     <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 <mailto:ntg-context@ntg.nl> /
>     https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
>     <https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl>
>     webpage  : https://www.pragma-ade.nl <https://www.pragma-ade.nl> /
>     https://context.aanhet.net <https://context.aanhet.net> (mirror)
>     archive  : https://github.com/contextgarden/context
>     <https://github.com/contextgarden/context>
>     wiki     : https://wiki.contextgarden.net
>     <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
___________________________________________________________________________________

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

* [NTG-context] Re: Spacing problem in formula
  2024-01-15 12:21     ` Hans Hagen
@ 2024-01-15 13:52       ` Henning Hraban Ramm
  0 siblings, 0 replies; 5+ messages in thread
From: Henning Hraban Ramm @ 2024-01-15 13:52 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

end of thread, other threads:[~2024-01-15 13:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-15  6:43 [NTG-context] Spacing problem in formula Shiv Shankar Dayal
2024-01-15  6:51 ` [NTG-context] " Mikael Sundqvist
2024-01-15  7:00   ` Shiv Shankar Dayal
2024-01-15 12:21     ` Hans Hagen
2024-01-15 13:52       ` Henning Hraban Ramm

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).