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
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
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 ___________________________________________________________________________________
Thanks a lot Mikael.
On Mon, Jan 15, 2024 at 12:24 PM 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
___________________________________________________________________________________
-- Respect, Shiv Shankar Dayal
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
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
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 -----------------------------------------------------------------
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
participants (4)
-
Hans Hagen
-
Henning Hraban Ramm
-
Mikael Sundqvist
-
Shiv Shankar Dayal