aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/eqn.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-23 12:01:54 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-23 12:01:54 +0000
commitefaacbc5e152b979e7091412535d15dddd047469 (patch)
tree0c7f9619784327a9a00eb27a8f479264340c43cd /eqn.7
parentf6bc0fd9fcfb2e7b43ecfbce0031a626d9118240 (diff)
downloadmandoc-efaacbc5e152b979e7091412535d15dddd047469.tar.gz
mandoc-efaacbc5e152b979e7091412535d15dddd047469.tar.zst
mandoc-efaacbc5e152b979e7091412535d15dddd047469.zip
Add matrix support. Also remove "above" notion, as all elements in a
list are delimited by their "aboveness" and it's superfluous.
Diffstat (limited to 'eqn.7')
-rw-r--r--eqn.76
1 files changed, 4 insertions, 2 deletions
diff --git a/eqn.7 b/eqn.7
index 21d7cc19..6ebd6b61 100644
--- a/eqn.7
+++ b/eqn.7
@@ -1,4 +1,4 @@
-.\" $Id: eqn.7,v 1.19 2011/07/23 09:47:25 kristaps Exp $
+.\" $Id: eqn.7,v 1.20 2011/07/23 12:01:54 kristaps Exp $
.\"
.\" Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -72,16 +72,18 @@ box : text
| \*qundef\*q text
| box pos box
| box mark
+ | \*qmatrix\*q \*q{\*q [col \*q{\*q list \*q}\*q ]*
| pile \*q{\*q list \*q}\*q
| font box
| \*qsize\*q text box
| \*qleft\*q text eqn [\*qright\*q text]
+col : \*qlcol\*q | \*qrcol\*q | \*qccol\*q
text : [^space\e\*q]+ | \e\*q.*\e\*q
pile : \*qlpile\*q | \*qcpile\*q | \*qrpile\*q
pos : \*qover\*q | \*qsup\*q | \*qsub\*q | \*qto\*q | \*qfrom\*q
mark : \*qdot\*q | \*qdotdot\*q | \*qhat\*q | \*qtilde\*q | \*qvec\*q
| \*qdyad\*q | \*qbar\*q | \*qunder\*q
-font : \*qroman\*q | \*qitalic\*q | \*\*qbold\*q
+font : \*qroman\*q | \*qitalic\*q | \*qbold\*q
list : eqn
| list \*qabove\*q eqn
space : [\e^~ \et]