ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bruce Horrocks via ntg-context <ntg-context@ntg.nl>
To: ntg-context mailing list <ntg-context@ntg.nl>
Cc: Bruce Horrocks <ntg@scorecrow.com>
Subject: Re: [NTG-context] Problem with exponent
Date: Fri, 28 Apr 2023 22:17:46 +0100	[thread overview]
Message-ID: <1615DB64-A208-44CC-A0A8-CB13A5A5524A@scorecrow.com> (raw)
In-Reply-To: <CACyK-eqh1yhBtSn-EqmdJRwSx8+DYFRjcPnbg4Tn1__vhJx59w@mail.gmail.com>



> On 28 Apr 2023, at 19:21, Fabrice Couvreur via ntg-context <ntg-context@ntg.nl> wrote:
> 
> Hi,
> I want to write x'² . Only, I get x²'.
> Thanks
> Fabrice
> 
> \starttext
> \m{{x'}²+{y'}²}
> \stoptext

This came up before [1]. The solution is to use \primed{...}

\starttext
\m{{x'}²+{y'}²} 
\quad
\m{\primed{x}^2+\primed{y}^2} 
\stoptext


[1] <https://www.mail-archive.com/ntg-context@ntg.nl/msg103779.html>
—
Bruce Horrocks
Hampshire, UK

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2023-04-28 21:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-28 18:21 Fabrice Couvreur via ntg-context
2023-04-28 21:17 ` Bruce Horrocks via ntg-context [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1615DB64-A208-44CC-A0A8-CB13A5A5524A@scorecrow.com \
    --to=ntg-context@ntg.nl \
    --cc=ntg@scorecrow.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).