=================================================================== RCS file: /cvs/mandoc/eqn.7,v retrieving revision 1.15 retrieving revision 1.18 diff -u -p -r1.15 -r1.18 --- mandoc/eqn.7 2011/07/22 13:48:52 1.15 +++ mandoc/eqn.7 2011/07/22 14:59:02 1.18 @@ -1,4 +1,4 @@ -.\" $Id: eqn.7,v 1.15 2011/07/22 13:48:52 kristaps Exp $ +.\" $Id: eqn.7,v 1.18 2011/07/22 14:59:02 kristaps Exp $ .\" .\" Copyright (c) 2011 Kristaps Dzonsons .\" @@ -66,6 +66,8 @@ eqn : box | eqn box box : text | "{" eqn "}" | "define" text text + | "gfont" text + | "gsize" text | "set" text text | "undef" text | box pos box @@ -89,12 +91,20 @@ non-empty quoted string. Unless within a quoted string, white-space (and enclosing literal quote pairs) is thrown away. Quoted strings are not scanned for replacement definitions. -The following text tokens are translated into an acceptable front-end -format, if available: alpha, beta, chi, delta, epsilon, eta, gamma, -iota, kappa, lambda, mu, nu, omega, omicron, phi, pi, psi, rho, sigma, -tau, theta, upsilon, xi, zeta, DELTA, GAMMA, LAMBDA, OMEGA, PHI, PI, -PSI, SIGMA, THETA, UPSILON, and XI. .Pp +The following TEXT terms are translated into a rendered glyph, if +available: alpha, beta, chi, delta, epsilon, eta, gamma, iota, kappa, +lambda, mu, nu, omega, omicron, phi, pi, psi, rho, sigma, tau, theta, +upsilon, xi, zeta, DELTA, GAMMA, LAMBDA, OMEGA, PHI, PI, PSI, SIGMA, +THETA, UPSILON, XI, inter (intersection), union (union), prod (product), +int (integral), sum (summation), grad (gradient), del (vector +differential), times (multiply), cdot (centre-dot), nothing (zero-width +space), approx (approximately equals), prime (prime), half (one-half), +partial (partial differential), inf (infinity), >> (much greater), << +(much less), \-> (left arrow), <\- (right arrow), += (plus-minus), != +(not equal), == (equivalence), <= (less-than-equal), and >= +(more-than-equal). +.Pp The following control statements are available: .Bl -tag -width Ds .It Cm define @@ -133,9 +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 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