summaryrefslogtreecommitdiffstats
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
commit581b17ce0c02a39a5fd6e297867f2ade9b2f3c63 (patch)
treecef51f2be08f7d2ae3a32b594b759ec0f7b63f7e /eqn.7
parent2252d1a2cee8d276065b3b219c4566d375827af8 (diff)
downloadmandoc-581b17ce0c02a39a5fd6e297867f2ade9b2f3c63.tar.gz
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.74
1 files changed, 3 insertions, 1 deletions
diff --git a/eqn.7 b/eqn.7
index 05656558..48625e74 100644
--- a/eqn.7
+++ b/eqn.7
@@ -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]