help / color / mirror / Atom feed
From: "Anthony J. Bentley" <>
Subject: eqn(7): Precedence of from/to/sub/sup
Date: Mon, 03 Jul 2017 21:56:07 -0600	[thread overview]
Message-ID: <> (raw)


Kernighan & Cherry's "Typesetting Mathematics: User's Guide" (2e) says:

    If you don't use braces, eqn(1) will do operations in the order
    shown in this list.

    dyad vec under bar tilde hat dot dotdot
    fwd back down up
    fat roman italic bold size
    sub sup sqrt over
    from to

Now consider this example:

int from a sub 1 to b sup 2 dx

groff treats this correctly, as "int from {a sub 1} to {b sup 2} dx".
mandoc instead treats it as "int from {a sub {1 to {b sup 2}}} dx".

Anthony J. Bentley
 To unsubscribe send an email to

             reply	other threads:[~2017-07-04  3:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-04  3:56 Anthony J. Bentley [this message]
2017-07-06  0:26 ` Ingo Schwarze

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:

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

  git send-email \ \ \ \
    --subject='Re: eqn(7): Precedence of from/to/sub/sup' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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