version 1.32, 2015/01/20 19:39:34 |
version 1.37, 2017/09/04 10:35:27 |
Line 72 case-sensitive literals in the input: |
|
Line 72 case-sensitive literals in the input: |
|
.Bd -literal -offset indent |
.Bd -literal -offset indent |
eqn : box | eqn box |
eqn : box | eqn box |
box : text |
box : text |
| \*q{\*q eqn \*q}\*q |
| \(dq{\(dq eqn \(dq}\(dq |
| \*qdefine\*q text text |
| \(dqdefine\(dq text text |
| \*qndefine\*q text text |
| \(dqndefine\(dq text text |
| \*qtdefine\*q text text |
| \(dqtdefine\(dq text text |
| \*qgfont\*q text |
| \(dqgfont\(dq text |
| \*qgsize\*q text |
| \(dqgsize\(dq text |
| \*qset\*q text text |
| \(dqset\(dq text text |
| \*qundef\*q text |
| \(dqundef\(dq text |
| \*qsqrt\*q box |
| \(dqsqrt\(dq box |
| box pos box |
| box pos box |
| box mark |
| box mark |
| \*qmatrix\*q \*q{\*q [col \*q{\*q list \*q}\*q ]* |
| \(dqmatrix\(dq \(dq{\(dq [col \(dq{\(dq list \(dq}\(dq]* \(dq}\(dq |
| pile \*q{\*q list \*q}\*q |
| pile \(dq{\(dq list \(dq}\(dq |
| font box |
| font box |
| \*qsize\*q text box |
| \(dqsize\(dq text box |
| \*qleft\*q text eqn [\*qright\*q text] |
| \(dqleft\(dq text eqn [\(dqright\(dq text] |
col : \*qlcol\*q | \*qrcol\*q | \*qccol\*q | \*qcol\*q |
col : \(dqlcol\(dq | \(dqrcol\(dq | \(dqccol\(dq | \(dqcol\(dq |
text : [^space\e\*q]+ | \e\*q.*\e\*q |
text : [^space\e\(dq]+ | \e\(dq.*\e\(dq |
pile : \*qlpile\*q | \*qcpile\*q | \*qrpile\*q | \*qpile\*q |
pile : \(dqlpile\(dq | \(dqcpile\(dq | \(dqrpile\(dq | \(dqpile\(dq |
pos : \*qover\*q | \*qsup\*q | \*qsub\*q | \*qto\*q | \*qfrom\*q |
pos : \(dqover\(dq | \(dqsup\(dq | \(dqsub\(dq | \(dqto\(dq | \(dqfrom\(dq |
mark : \*qdot\*q | \*qdotdot\*q | \*qhat\*q | \*qtilde\*q | \*qvec\*q |
mark : \(dqdot\(dq | \(dqdotdot\(dq | \(dqhat\(dq | \(dqtilde\(dq | \(dqvec\(dq |
| \*qdyad\*q | \*qbar\*q | \*qunder\*q |
| \(dqdyad\(dq | \(dqbar\(dq | \(dqunder\(dq |
font : \*qroman\*q | \*qitalic\*q | \*qbold\*q | \*qfat\*q |
font : \(dqroman\(dq | \(dqitalic\(dq | \(dqbold\(dq | \(dqfat\(dq |
list : eqn |
list : eqn |
| list \*qabove\*q eqn |
| list \(dqabove\(dq eqn |
space : [\e^~ \et] |
space : [\e^~ \et] |
.Ed |
.Ed |
.Pp |
.Pp |
Line 125 int (integral), sum (summation), grad (gradient), del |
|
Line 125 int (integral), sum (summation), grad (gradient), del |
|
differential), times (multiply), cdot (center-dot), nothing (zero-width |
differential), times (multiply), cdot (center-dot), nothing (zero-width |
space), approx (approximately equals), prime (prime), half (one-half), |
space), approx (approximately equals), prime (prime), half (one-half), |
partial (partial differential), inf (infinity), >> (much greater), << |
partial (partial differential), inf (infinity), >> (much greater), << |
(much less), \-> (left arrow), <\- (right arrow), +\- (plus-minus), != |
(much less), <\- (left arrow), \-> (right arrow), +\- (plus-minus), != |
(not equal), == (equivalence), <= (less-than-equal), and >= |
(not equal), == (equivalence), <= (less-than-equal), and >= |
(more-than-equal). |
(more-than-equal). |
The character escape sequences documented in |
The character escape sequences documented in |
Line 146 is used as the delimiter for the value |
|
Line 146 is used as the delimiter for the value |
|
.Ar val . |
.Ar val . |
This allows for arbitrary enclosure of terms (not just quotes), such as |
This allows for arbitrary enclosure of terms (not just quotes), such as |
.Pp |
.Pp |
.D1 Cm define Ar foo 'bar baz' |
.D1 Cm define Ar foo \(aqbar baz\(aq |
.D1 Cm define Ar foo cbar bazc |
.D1 Cm define Ar foo cbar bazc |
.Pp |
.Pp |
It is an error to have an empty |
It is an error to have an empty |
|
|
Definitions can create arbitrary strings, for example, the following is |
Definitions can create arbitrary strings, for example, the following is |
a legal construction. |
a legal construction. |
.Bd -literal -offset indent |
.Bd -literal -offset indent |
define foo 'define' |
define foo \(aqdefine\(aq |
foo bar 'baz' |
foo bar \(aqbaz\(aq |
.Ed |
.Ed |
.Pp |
.Pp |
Self-referencing definitions will raise an error. |
Self-referencing definitions will raise an error. |
Line 434 implementation (including GNU troff). |
|
Line 434 implementation (including GNU troff). |
|
.Bl -dash -compact |
.Bl -dash -compact |
.It |
.It |
The text string |
The text string |
.Sq \e\*q |
.Sq \e\(dq |
is interpreted as a literal quote in troff. |
is interpreted as a literal quote in troff. |
In mandoc, this is interpreted as a comment. |
In mandoc, this is interpreted as a comment. |
.It |
.It |
|
|
and |
and |
.Cm down Ar n |
.Cm down Ar n |
commands are also ignored. |
commands are also ignored. |
.It |
|
Inline equations and the |
|
.Cm delim |
|
control statement are not yet implemented in |
|
.Xr mandoc 1 . |
|
.El |
.El |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr mandoc 1 , |
.Xr mandoc 1 , |