summaryrefslogtreecommitdiffstats
path: root/regress/eqn/fromto/precedence.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-06 00:19:54 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-06 00:19:54 +0000
commit8bfd46f38d1b15589e5ffa8b44915557a3030385 (patch)
tree02789eb4144757c270da344ddd007d37cb15d92a /regress/eqn/fromto/precedence.in
parente0015d9facf740a96124938363ba25c3b6c09af8 (diff)
downloadmandoc-8bfd46f38d1b15589e5ffa8b44915557a3030385.tar.gz
Fix operator precedence according to Brian W. Kernighan and Lorinda
L. Cherry, "Typesetting Mathematics - User's Guide (Second Edition)", August 15, 1978, paragraph 23; swarm of bugs pointed out by bentley@.
Diffstat (limited to 'regress/eqn/fromto/precedence.in')
-rw-r--r--regress/eqn/fromto/precedence.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/regress/eqn/fromto/precedence.in b/regress/eqn/fromto/precedence.in
new file mode 100644
index 00000000..cbb85e36
--- /dev/null
+++ b/regress/eqn/fromto/precedence.in
@@ -0,0 +1,15 @@
+.\" $OpenBSD: precedence.in,v 1.1 2017/07/06 00:08:52 schwarze Exp $
+.Dd $Mdocdate$
+.Dt SUBSUP-PRECEDENCE 1
+.Os
+.Sh NAME
+.Nm subsup-precedence
+.Nd precedence of subscripts and superscripts
+.Sh DESCRIPTION
+.ps 36
+initial text
+.EQ
+X from a under to c hat ; roman X from bold a to italic c ;
+X sub 1 sup 2 from a sub c sup e to o sub r sup s
+.EN
+final text