From: "Anthony J. Bentley" <anthony@anjbe.name>
To: tech@mandoc.bsd.lv
Subject: eqn(7): Precedence of from/to/sub/sup
Date: Mon, 03 Jul 2017 21:56:07 -0600 [thread overview]
Message-ID: <14094.1499140567@cathet.us> (raw)
Hi,
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:
.EQ
int from a sub 1 to b sup 2 dx
.EN
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 tech+unsubscribe@mandoc.bsd.lv
next 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:
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=14094.1499140567@cathet.us \
--to=anthony@anjbe.name \
--cc=tech@mandoc.bsd.lv \
/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).