Copyright (c) 2003 Jason McIntyre <jmc@openbsd.org>
Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
Copyright (c) 2011, 2013, 2015 Ingo Schwarze <schwarze@openbsd.org>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.Dd $Mdocdate: September 2 2015 $ .Dt MANDOC_CHAR 5 .Os .Sh NAME .Nm mandoc_char .Nd mandoc special characters .Sh DESCRIPTION This page documents the .Xr mandoc_roff 5 escape sequences accepted by .Xr mandoc 1 to represent special characters in .Xr mdoc 5 and .Xr man 5 documents.
p The rendering depends on the .Xr mandoc 1 output mode; in ASCII output, most characters are completely unintelligible. For that reason, using any of the special characters documented here, except those discussed in the .Sx DESCRIPTION , is strongly discouraged; they are supported merely for backwards compatibility with existing documents.
p In particular, in English manual pages, do not use special-character escape sequences to represent national language characters in author names; instead, provide ASCII transcriptions of the names. .Ss Dashes and Hyphens In typography there are different types of dashes of various width: the hyphen (-), the minus sign (-), the en-dash (\(en), and the em-dash (\(em).
p Hyphens are used for adjectives; to separate the two parts of a compound word; or to separate a word across two successive lines of text. The hyphen does not need to be escaped: d -unfilled -offset indent blue-eyed lorry-driver .Ed
p The mathematical minus sign is used for negative numbers or subtraction. It should be written as .Sq \e(mi : d -unfilled -offset indent a = 3 \e(mi 1; b = \e(mi2; .Ed
p The en-dash is used to separate the two elements of a range, or can be used the same way as an em-dash. It should be written as .Sq \e(en : d -unfilled -offset indent pp. 95\e(en97. Go away \e(en or else! .Ed
p The em-dash can be used to show an interruption or can be used the same way as colons, semi-colons, or parentheses. It should be written as .Sq \e(em : d -unfilled -offset indent Three things \e(em apples, oranges, and bananas. This is not that \e(em rather, this is that. .Ed
p Note: hyphens, minus signs, and en-dashes look identical under normal ASCII output. Other formats, such as PostScript, render them correctly, with differing widths. .Ss Spaces To separate words in normal text, for indenting and alignment in literal context, and when none of the following special cases apply, just use the normal space character
q Sq .
p When filling text, output lines may be broken between words, i.e. at space characters. To prevent a line break between two particular words, use the unpaddable non-breaking space escape sequence
q Sq \e \& instead of the normal space character. For example, the input string .Dq number\e 1 will be kept together as .Dq number 1 on the same output line.
p On request and macro lines, the normal space character serves as an argument delimiter. To include whitespace into arguments, quoting is usually the best choice; see the MACRO SYNTAX section in .Xr mandoc_roff 5 . In some cases, using the non-breaking space escape sequence
q Sq \e \& may be preferable.
p To escape macro names and to protect whitespace at the end of input lines, the zero-width space
q Sq \e& is often useful. For example, in .Xr mdoc 5 , a normal space character can be displayed in single quotes in either of the following ways:
p .Dl .Sq \(dq \(dq .Dl .Sq \e \e& .Ss Quotes On request and macro lines, the double-quote character
q Sq \(dq is handled specially to allow quoting. One way to prevent this special handling is by using the .Sq \e(dq escape sequence.
p Note that on text lines, literal double-quote characters can be used verbatim. All other quote-like characters can be used verbatim as well, even on request and macro lines. .Ss Accents In output modes supporting such special output characters, for example .Fl T Cm pdf , some .Xr mandoc_roff 5 formatters convert the following ASCII input characters to the following Unicode special output characters: l -column x(ga U+2018 -offset indent t \(ga Ta U+2018 Ta left single quotation mark t \(aq Ta U+2019 Ta right single quotation mark t \(ti Ta U+02DC Ta small tilde .El
p In prose, this automatic substitution is often desirable; but when these characters have to be displayed as plain ASCII characters, for example in source code samples, they require escaping to render as follows: l -column x(ga U+2018 -offset indent t \e(ga Ta U+0060 Ta grave accent t \e(aq Ta U+0027 Ta apostrophe t \e(ti Ta U+007E Ta tilde .El .Ss Periods The period
q Sq . is handled specially at the beginning of an input line, where it introduces a .Xr mandoc_roff 5 request or a macro, and when appearing alone as a macro argument in .Xr mdoc 5 . In such situations, prepend a zero-width space
q Sq \e&. to make it behave like normal text.
p Do not use the .Sq \e. escape sequence. It does not prevent special handling of the period. .Ss Backslashes To include a literal backslash
q Sq \e into the output, use the
q Sq \ee escape sequence.
p Note that doubling it
q Sq \e\e is not the right way to output a backslash. Because .Xr mandoc 1 does not implement full .Xr mandoc_roff 5 functionality, it may work with .Xr mandoc 1 , but it may have weird effects on complete .Xr mandoc_roff 5 implementations. .Sh SPECIAL CHARACTERS Special characters are encoded as .Sq \eX
q for a one-character escape , .Sq \e(XX
q two-character , and .Sq \e[N]
q N-character . For details, see the .Em Special Characters subsection of the .Xr mandoc_roff 5 manual.
p Spacing: l -column "Input" "Description" -offset indent -compact t Em Input Ta Em Description t Sq \e Ta unpaddable non-breaking space t \e\(ti Ta paddable non-breaking space t \e0 Ta unpaddable, breaking digit-width space t \e| Ta one-sixth \e(em narrow space, zero width in nroff mode t \e^ Ta one-twelfth \e(em half-narrow space, zero width in nroff t \e& Ta zero-width space t \e% Ta zero-width space allowing hyphenation .El
p Lines: l -column "Input" "Rendered" "Description" -offset indent -compact t Em Input Ta Em Rendered Ta Em Description t \e(ba Ta \(ba Ta bar t \e(br Ta \(br Ta box rule t \e(ul Ta \(ul Ta underscore t \e(rn Ta \(rn Ta overline t \e(bb Ta \(bb Ta broken bar t \e(sl Ta \(sl Ta forward slash t \e(rs Ta \(rs Ta backward slash .El
p Text markers: l -column "Input" "Rendered" "Description" -offset indent -compact t Em Input Ta Em Rendered Ta Em Description t \e(ci Ta \(ci Ta circle t \e(bu Ta \(bu Ta bullet t \e(dd Ta \(dd Ta double dagger t \e(dg Ta \(dg Ta dagger t \e(lz Ta \(lz Ta lozenge t \e(sq Ta \(sq Ta white square t \e(ps Ta \(ps Ta paragraph t \e(sc Ta \(sc Ta section t \e(lh Ta \(lh Ta left hand t \e(rh Ta \(rh Ta right hand t \e(at Ta \(at Ta at t \e(sh Ta \(sh Ta hash (pound) t \e(CR Ta \(CR Ta carriage return t \e(OK Ta \(OK Ta check mark .El
p Legal symbols: l -column "Input" "Rendered" "Description" -offset indent -compact t Em Input Ta Em Rendered Ta Em Description t \e(co Ta \(co Ta copyright t \e(rg Ta \(rg Ta registered t \e(tm Ta \(tm Ta trademarked .El
p Punctuation: l -column "Input" "Rendered" "Description" -offset indent -compact t Em Input Ta Em Rendered Ta Em Description t \e(em Ta \(em Ta em-dash t \e(en Ta \(en Ta en-dash t \e(hy Ta \(hy Ta hyphen t \ee Ta \e Ta back-slash t \e. Ta \. Ta period t \e(r! Ta \(r! Ta upside-down exclamation t \e(r? Ta \(r? Ta upside-down question .El
p Quotes: l -column "Input" "Rendered" "Description" -offset indent -compact t Em Input Ta Em Rendered Ta Em Description t \e(Bq Ta \(Bq Ta right low double-quote t \e(bq Ta \(bq Ta right low single-quote t \e(lq Ta " Ta left double-quote t \e(rq Ta " Ta right double-quote t \e(oq Ta \(oq Ta left single-quote t \e(cq Ta \(cq Ta right single-quote t \e(aq Ta \(aq Ta apostrophe quote (text) t \e(dq Ta \(dq Ta double quote (text) t \e(Fo Ta \(Fo Ta left guillemet t \e(Fc Ta \(Fc Ta right guillemet t \e(fo Ta \(fo Ta left single guillemet t \e(fc Ta \(fc Ta right single guillemet .El
p Brackets: l -column "xxbracketrightbtx" Rendered Description -offset indent -compact t Em Input Ta Em Rendered Ta Em Description t \e(lB Ta \(lB Ta left bracket t \e(rB Ta \(rB Ta right bracket t \e(lC Ta \(lC Ta left brace t \e(rC Ta \(rC Ta right brace t \e(la Ta \(la Ta left angle t \e(ra Ta \(ra Ta right angle t \e(bv Ta \(bv Ta brace extension t \e[braceex] Ta \[braceex] Ta brace extension t \e[bracketlefttp] Ta \[bracketlefttp] Ta top-left hooked bracket t \e[bracketleftbt] Ta \[bracketleftbt] Ta bottom-left hooked bracket t \e[bracketleftex] Ta \[bracketleftex] Ta left hooked bracket extension t \e[bracketrighttp] Ta \[bracketrighttp] Ta top-right hooked bracket t \e[bracketrightbt] Ta \[bracketrightbt] Ta bottom-right hooked bracket t \e[bracketrightex] Ta \[bracketrightex] Ta right hooked bracket extension t \e(lt Ta \(lt Ta top-left hooked brace t \e[bracelefttp] Ta \[bracelefttp] Ta top-left hooked brace t \e(lk Ta \(lk Ta mid-left hooked brace t \e[braceleftmid] Ta \[braceleftmid] Ta mid-left hooked brace t \e(lb Ta \(lb Ta bottom-left hooked brace t \e[braceleftbt] Ta \[braceleftbt] Ta bottom-left hooked brace t \e[braceleftex] Ta \[braceleftex] Ta left hooked brace extension t \e(rt Ta \(rt Ta top-left hooked brace t \e[bracerighttp] Ta \[bracerighttp] Ta top-right hooked brace t \e(rk Ta \(rk Ta mid-right hooked brace t \e[bracerightmid] Ta \[bracerightmid] Ta mid-right hooked brace t \e(rb Ta \(rb Ta bottom-right hooked brace t \e[bracerightbt] Ta \[bracerightbt] Ta bottom-right hooked brace t \e[bracerightex] Ta \[bracerightex] Ta right hooked brace extension t \e[parenlefttp] Ta \[parenlefttp] Ta top-left hooked parenthesis t \e[parenleftbt] Ta \[parenleftbt] Ta bottom-left hooked parenthesis t \e[parenleftex] Ta \[parenleftex] Ta left hooked parenthesis extension t \e[parenrighttp] Ta \[parenrighttp] Ta top-right hooked parenthesis t \e[parenrightbt] Ta \[parenrightbt] Ta bottom-right hooked parenthesis t \e[parenrightex] Ta \[parenrightex] Ta right hooked parenthesis extension .El
p Arrows: l -column "Input" "Rendered" "Description" -offset indent -compact t Em Input Ta Em Rendered Ta Em Description t \e(<- Ta \(<- Ta left arrow t \e(-> Ta \(-> Ta right arrow t \e(<> Ta \(<> Ta left-right arrow t \e(da Ta \(da Ta down arrow t \e(ua Ta \(ua Ta up arrow t \e(va Ta \(va Ta up-down arrow t \e(lA Ta \(lA Ta left double-arrow t \e(rA Ta \(rA Ta right double-arrow t \e(hA Ta \(hA Ta left-right double-arrow t \e(uA Ta \(uA Ta up double-arrow t \e(dA Ta \(dA Ta down double-arrow t \e(vA Ta \(vA Ta up-down double-arrow .El
p Logical: l -column "Input" "Rendered" "Description" -offset indent -compact t Em Input Ta Em Rendered Ta Em Description t \e(AN Ta \(AN Ta logical and t \e(OR Ta \(OR Ta logical or t \e(no Ta \(no Ta logical not t \e[tno] Ta \[tno] Ta logical not (text) t \e(te Ta \(te Ta existential quantifier t \e(fa Ta \(fa Ta universal quantifier t \e(st Ta \(st Ta such that t \e(tf Ta \(tf Ta therefore t \e(3d Ta \(3d Ta therefore t \e(or Ta \(or Ta bitwise or .El
p Mathematical: l -column "xxcoproductxx" "Rendered" "Description" -offset indent -compact t Em Input Ta Em Rendered Ta Em Description t \e(pl Ta \(pl Ta plus t \e(mi Ta - Ta minus t \e- Ta - Ta minus (text) t \e(-+ Ta \(-+ Ta minus-plus t \e(+- Ta \(+- Ta plus-minus t \e[t+-] Ta \[t+-] Ta plus-minus (text) t \e(pc Ta \(pc Ta center-dot t \e(mu Ta \(mu Ta multiply t \e[tmu] Ta \[tmu] Ta multiply (text) t \e(c* Ta \(c* Ta circle-multiply t \e(c+ Ta \(c+ Ta circle-plus t \e(di Ta \(di Ta divide t \e[tdi] Ta \[tdi] Ta divide (text) t \e(f/ Ta \(f/ Ta fraction t \e(** Ta \(** Ta asterisk t \e(<= Ta \(<= Ta less-than-equal t \e(>= Ta \(>= Ta greater-than-equal t \e(<< Ta \(<< Ta much less t \e(>> Ta \(>> Ta much greater t \e(eq Ta \(eq Ta equal t \e(!= Ta \(!= Ta not equal t \e(== Ta \(== Ta equivalent t \e(ne Ta \(ne Ta not equivalent t \e(ap Ta \(ap Ta tilde operator t \e(|= Ta \(|= Ta asymptotically equal t \e(=\(ti Ta \(=~ Ta approximately equal t \e(\(ti\(ti Ta \(~~ Ta almost equal t \e(\(ti= Ta \(~= Ta almost equal t \e(pt Ta \(pt Ta proportionate t \e(es Ta \(es Ta empty set t \e(mo Ta \(mo Ta element t \e(nm Ta \(nm Ta not element t \e(sb Ta \(sb Ta proper subset t \e(nb Ta \(nb Ta not subset t \e(sp Ta \(sp Ta proper superset t \e(nc Ta \(nc Ta not superset t \e(ib Ta \(ib Ta reflexive subset t \e(ip Ta \(ip Ta reflexive superset t \e(ca Ta \(ca Ta intersection t \e(cu Ta \(cu Ta union t \e(/_ Ta \(/_ Ta angle t \e(pp Ta \(pp Ta perpendicular t \e(is Ta \(is Ta integral t \e[integral] Ta \[integral] Ta integral t \e[sum] Ta \[sum] Ta summation t \e[product] Ta \[product] Ta product t \e[coproduct] Ta \[coproduct] Ta coproduct t \e(gr Ta \(gr Ta gradient t \e(sr Ta \(sr Ta square root t \e[sqrt] Ta \[sqrt] Ta square root t \e(lc Ta \(lc Ta left-ceiling t \e(rc Ta \(rc Ta right-ceiling t \e(lf Ta \(lf Ta left-floor t \e(rf Ta \(rf Ta right-floor t \e(if Ta \(if Ta infinity t \e(Ah Ta \(Ah Ta aleph t \e(Im Ta \(Im Ta imaginary t \e(Re Ta \(Re Ta real t \e(pd Ta \(pd Ta partial differential t \e(-h Ta \(-h Ta Planck constant over 2\(*p t \e[12] Ta \[12] Ta one-half t \e[14] Ta \[14] Ta one-fourth t \e[34] Ta \[34] Ta three-fourths .El
p Ligatures: l -column "Input" "Rendered" "Description" -offset indent -compact t Em Input Ta Em Rendered Ta Em Description t \e(ff Ta \(ff Ta ff ligature t \e(fi Ta \(fi Ta fi ligature t \e(fl Ta \(fl Ta fl ligature t \e(Fi Ta \(Fi Ta ffi ligature t \e(Fl Ta \(Fl Ta ffl ligature t \e(AE Ta \(AE Ta AE t \e(ae Ta \(ae Ta ae t \e(OE Ta \(OE Ta OE t \e(oe Ta \(oe Ta oe t \e(ss Ta \(ss Ta German eszett t \e(IJ Ta \(IJ Ta IJ ligature t \e(ij Ta \(ij Ta ij ligature .El
p Accents: l -column "Input" "Rendered" "Description" -offset indent -compact t Em Input Ta Em Rendered Ta Em Description t \e(a" Ta \(a" Ta Hungarian umlaut t \e(a- Ta \(a- Ta macron t \e(a. Ta \(a. Ta dotted t \e(a^ Ta \(a^ Ta circumflex t \e(aa Ta \(aa Ta acute t \e\(aq Ta \' Ta acute t \e(ga Ta \(ga Ta grave t \e\(ga Ta \` Ta grave t \e(ab Ta \(ab Ta breve t \e(ac Ta \(ac Ta cedilla t \e(ad Ta \(ad Ta dieresis t \e(ah Ta \(ah Ta caron t \e(ao Ta \(ao Ta ring t \e(a\(ti Ta \(a~ Ta tilde t \e(ho Ta \(ho Ta ogonek t \e(ha Ta \(ha Ta hat (text) t \e(ti Ta \(ti Ta tilde (text) .El
p Accented letters: l -column "Input" "Rendered" "Description" -offset indent -compact t Em Input Ta Em Rendered Ta Em Description t \e(\(aqA Ta \('A Ta acute A t \e(\(aqE Ta \('E Ta acute E t \e(\(aqI Ta \('I Ta acute I t \e(\(aqO Ta \('O Ta acute O t \e(\(aqU Ta \('U Ta acute U t \e(\(aqa Ta \('a Ta acute a t \e(\(aqe Ta \('e Ta acute e t \e(\(aqi Ta \('i Ta acute i t \e(\(aqo Ta \('o Ta acute o t \e(\(aqu Ta \('u Ta acute u t \e(\(gaA Ta \(`A Ta grave A t \e(\(gaE Ta \(`E Ta grave E t \e(\(gaI Ta \(`I Ta grave I t \e(\(gaO Ta \(`O Ta grave O t \e(\(gaU Ta \(`U Ta grave U t \e(\(gaa Ta \(`a Ta grave a t \e(\(gae Ta \(`e Ta grave e t \e(\(gai Ta \(`i Ta grave i t \e(\(gao Ta \(`i Ta grave o t \e(\(gau Ta \(`u Ta grave u t \e(\(tiA Ta \(~A Ta tilde A t \e(\(tiN Ta \(~N Ta tilde N t \e(\(tiO Ta \(~O Ta tilde O t \e(\(tia Ta \(~a Ta tilde a t \e(\(tin Ta \(~n Ta tilde n t \e(\(tio Ta \(~o Ta tilde o t \e(:A Ta \(:A Ta dieresis A t \e(:E Ta \(:E Ta dieresis E t \e(:I Ta \(:I Ta dieresis I t \e(:O Ta \(:O Ta dieresis O t \e(:U Ta \(:U Ta dieresis U t \e(:a Ta \(:a Ta dieresis a t \e(:e Ta \(:e Ta dieresis e t \e(:i Ta \(:i Ta dieresis i t \e(:o Ta \(:o Ta dieresis o t \e(:u Ta \(:u Ta dieresis u t \e(:y Ta \(:y Ta dieresis y t \e(^A Ta \(^A Ta circumflex A t \e(^E Ta \(^E Ta circumflex E t \e(^I Ta \(^I Ta circumflex I t \e(^O Ta \(^O Ta circumflex O t \e(^U Ta \(^U Ta circumflex U t \e(^a Ta \(^a Ta circumflex a t \e(^e Ta \(^e Ta circumflex e t \e(^i Ta \(^i Ta circumflex i t \e(^o Ta \(^o Ta circumflex o t \e(^u Ta \(^u Ta circumflex u t \e(,C Ta \(,C Ta cedilla C t \e(,c Ta \(,c Ta cedilla c t \e(/L Ta \(/L Ta stroke L t \e(/l Ta \(/l Ta stroke l t \e(/O Ta \(/O Ta stroke O t \e(/o Ta \(/o Ta stroke o t \e(oA Ta \(oA Ta ring A t \e(oa Ta \(oa Ta ring a .El
p Special letters: l -column "Input" "Rendered" "Description" -offset indent -compact t Em Input Ta Em Rendered Ta Em Description t \e(-D Ta \(-D Ta Eth t \e(Sd Ta \(Sd Ta eth t \e(TP Ta \(TP Ta Thorn t \e(Tp Ta \(Tp Ta thorn t \e(.i Ta \(.i Ta dotless i t \e(.j Ta \(.j Ta dotless j .El
p Currency: l -column "Input" "Rendered" "Description" -offset indent -compact t Em Input Ta Em Rendered Ta Em Description t \e(Do Ta \(Do Ta dollar t \e(ct Ta \(ct Ta cent t \e(Eu Ta \(Eu Ta Euro symbol t \e(eu Ta \(eu Ta Euro symbol t \e(Ye Ta \(Ye Ta yen t \e(Po Ta \(Po Ta pound t \e(Cs Ta \(Cs Ta Scandinavian t \e(Fn Ta \(Fn Ta florin .El
p Units: l -column "Input" "Rendered" "Description" -offset indent -compact t Em Input Ta Em Rendered Ta Em Description t \e(de Ta \(de Ta degree t \e(%0 Ta \(%0 Ta per-thousand t \e(fm Ta \(fm Ta minute t \e(sd Ta \(sd Ta second t \e(mc Ta \(mc Ta micro .El
p Greek letters: l -column "Input" "Rendered" "Description" -offset indent -compact t Em Input Ta Em Rendered Ta Em Description t \e(*A Ta \(*A Ta Alpha t \e(*B Ta \(*B Ta Beta t \e(*G Ta \(*G Ta Gamma t \e(*D Ta \(*D Ta Delta t \e(*E Ta \(*E Ta Epsilon t \e(*Z Ta \(*Z Ta Zeta t \e(*Y Ta \(*Y Ta Eta t \e(*H Ta \(*H Ta Theta t \e(*I Ta \(*I Ta Iota t \e(*K Ta \(*K Ta Kappa t \e(*L Ta \(*L Ta Lambda t \e(*M Ta \(*M Ta Mu t \e(*N Ta \(*N Ta Nu t \e(*C Ta \(*C Ta Xi t \e(*O Ta \(*O Ta Omicron t \e(*P Ta \(*P Ta Pi t \e(*R Ta \(*R Ta Rho t \e(*S Ta \(*S Ta Sigma t \e(*T Ta \(*T Ta Tau t \e(*U Ta \(*U Ta Upsilon t \e(*F Ta \(*F Ta Phi t \e(*X Ta \(*X Ta Chi t \e(*Q Ta \(*Q Ta Psi t \e(*W Ta \(*W Ta Omega t \e(*a Ta \(*a Ta alpha t \e(*b Ta \(*b Ta beta t \e(*g Ta \(*g Ta gamma t \e(*d Ta \(*d Ta delta t \e(*e Ta \(*e Ta epsilon t \e(*z Ta \(*z Ta zeta t \e(*y Ta \(*y Ta eta t \e(*h Ta \(*h Ta theta t \e(*i Ta \(*i Ta iota t \e(*k Ta \(*k Ta kappa t \e(*l Ta \(*l Ta lambda t \e(*m Ta \(*m Ta mu t \e(*n Ta \(*n Ta nu t \e(*c Ta \(*c Ta xi t \e(*o Ta \(*o Ta omicron t \e(*p Ta \(*p Ta pi t \e(*r Ta \(*r Ta rho t \e(*s Ta \(*s Ta sigma t \e(*t Ta \(*t Ta tau t \e(*u Ta \(*u Ta upsilon t \e(*f Ta \(*f Ta phi t \e(*x Ta \(*x Ta chi t \e(*q Ta \(*q Ta psi t \e(*w Ta \(*w Ta omega t \e(+h Ta \(+h Ta theta variant t \e(+f Ta \(+f Ta phi variant t \e(+p Ta \(+p Ta pi variant t \e(+e Ta \(+e Ta epsilon variant t \e(ts Ta \(ts Ta sigma terminal .El .Sh PREDEFINED STRINGS Predefined strings are inherited from the macro packages of historical troff implementations. They are .Em not recommended for use, as they differ across implementations. Manuals using these predefined strings are almost certainly not portable.
p Their syntax is similar to special characters, using .Sq \e*X
q for a one-character escape , .Sq \e*(XX
q two-character , and .Sq \e*[N]
q N-character . For details, see the .Em Predefined Strings subsection of the .Xr mandoc_roff 5 manual. l -column "Input" "Rendered" "Description" -offset indent t Em Input Ta Em Rendered Ta Em Description t \e*(Ba Ta \*(Ba Ta vertical bar t \e*(Ne Ta \*(Ne Ta not equal t \e*(Ge Ta \*(Ge Ta greater-than-equal t \e*(Le Ta \*(Le Ta less-than-equal t \e*(Gt Ta \*(Gt Ta greater-than t \e*(Lt Ta \*(Lt Ta less-than t \e*(Pm Ta \*(Pm Ta plus-minus t \e*(If Ta \*(If Ta infinity t \e*(Pi Ta \*(Pi Ta pi t \e*(Na Ta \*(Na Ta NaN t \e*(Am Ta \*(Am Ta ampersand t \e*R Ta ® Ta restricted mark t \e*(Tm Ta TM Ta trade mark t \e*q Ta \*q Ta double-quote t \e*(Rq Ta \*(Rq Ta right-double-quote t \e*(Lq Ta \*(Lq Ta left-double-quote t \e*(lp Ta \*(lp Ta right-parenthesis t \e*(rp Ta \*(rp Ta left-parenthesis t \e*(lq Ta \*(lq Ta left double-quote t \e*(rq Ta \*(rq Ta right double-quote t \e*(ua Ta \*(ua Ta up arrow t \e*(va Ta \*(va Ta up-down arrow t \e*(<= Ta \*(<= Ta less-than-equal t \e*(>= Ta \*(>= Ta greater-than-equal t \e*(aa Ta \*(aa Ta acute t \e*(ga Ta \*(ga Ta grave t \e*(Px Ta \*(Px Ta POSIX standard name t \e*(Ai Ta \*(Ai Ta ANSI standard name .El .Sh UNICODE CHARACTERS The escape sequences
p .Dl \e[uXXXX] and \eC\(aquXXXX\(aq
p are interpreted as Unicode codepoints. The codepoint must be in the range above U+0080 and less than U+10FFFF. For compatibility, the hexadecimal digits .Sq A to .Sq F must be given as uppercase characters, and points must be zero-padded to four characters; if greater than four characters, no zero padding is allowed. Unicode surrogates are not allowed. .Sh NUMBERED CHARACTERS For backward compatibility with existing manuals, .Xr mandoc 1 also supports the
p .Dl \eN\(aq Ns Ar number Ns \(aq
p escape sequence, inserting the character .Ar number from the current character set into the output. Of course, this is inherently non-portable and is already marked as deprecated in the Heirloom roff manual. For example, do not use \eN\(aq34\(aq, use \e(dq, or even the plain .Sq \(dq character where possible. .Sh COMPATIBILITY This section documents compatibility between mandoc and other troff implementations, at this time limited to GNU troff
q Qq groff .
p l -dash -compact t The \eN\(aq\(aq escape sequence is limited to printable characters; in groff, it accepts arbitrary character numbers. t In .Fl T Ns Cm ascii , the \e(ss, \e(nm, \e(nb, \e(nc, \e(ib, \e(ip, \e(pp, \e[sum], \e[product], \e[coproduct], \e(gr, \e(-h, and \e(a. special characters render differently between mandoc and groff. t In .Fl T Ns Cm html and .Fl T Ns Cm xhtml , the \e(\(ti=, \e(nb, and \e(nc special characters render differently between mandoc and groff. t The .Fl T Ns Cm ps and .Fl T Ns Cm pdf modes format like .Fl T Ns Cm ascii instead of rendering glyphs as in groff. t The \e[radicalex], \e[sqrtex], and \e(ru special characters have been omitted from mandoc either because they are poorly documented or they have no known representation. .El .Sh SEE ALSO .Xr mandoc 1 , .Xr man 5 , .Xr mandoc_roff 5 , .Xr mdoc 5 .Sh AUTHORS The .Nm manual page was written by .An Kristaps Dzonsons Aq Mt kristaps@bsd.lv . .Sh CAVEATS The predefined string .Sq \e*(Ba mimics the behaviour of the .Sq | character in .Xr mdoc 5 ; thus, if you wish to render a vertical bar with no side effects, use the .Sq \e(ba escape.