aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/eqn.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-22 14:59:02 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-22 14:59:02 +0000
commitfa097d3df280b2adb39ec3b99fd44d324aa2fbb1 (patch)
tree9298d2c24950bcafd6dfa799c330a9bd0e770bac /eqn.7
parent385fc5b8d80ee1a2c94f9d69fe894c36c4eeafb9 (diff)
downloadmandoc-fa097d3df280b2adb39ec3b99fd44d324aa2fbb1.tar.gz
mandoc-fa097d3df280b2adb39ec3b99fd44d324aa2fbb1.tar.zst
mandoc-fa097d3df280b2adb39ec3b99fd44d324aa2fbb1.zip
Check for and throw away `gfont' eqn macros.
Diffstat (limited to 'eqn.7')
-rw-r--r--eqn.714
1 files changed, 11 insertions, 3 deletions
diff --git a/eqn.7 b/eqn.7
index 6770594d..595d040d 100644
--- a/eqn.7
+++ b/eqn.7
@@ -1,4 +1,4 @@
-.\" $Id: eqn.7,v 1.17 2011/07/22 14:55:07 kristaps Exp $
+.\" $Id: eqn.7,v 1.18 2011/07/22 14:59:02 kristaps Exp $
.\"
.\" Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -66,6 +66,7 @@ eqn : box | eqn box
box : text
| "{" eqn "}"
| "define" text text
+ | "gfont" text
| "gsize" text
| "set" text text
| "undef" text
@@ -142,18 +143,25 @@ foo bar 'baz'
.Ed
.Pp
Self-referencing definitions will raise an error.
+.It Cm gfont
+Set the default font of subsequent output.
+Its syntax is as follows:
+.Pp
+.D1 gfont Ar font
+.Pp
+In mandoc, this value is discarded.
.It Cm gsize
Set the default size of subsequent output.
Its syntax is as follows:
.Pp
-.D1 define Ar size
+.D1 gsize Ar size
.Pp
The
.Ar size
value should be an integer.
.It Cm set
Set an equation mode.
-Both arguments are thrown away.
+In mandoc, both arguments are thrown away.
Its syntax is as follows:
.Pp
.D1 set Ar key val