GROFF_CHAR
Section: Environments, Tables, and Troff Macros (7)
Updated: 4 November 2014
Index
Return to Main Contents
NAME
groff_char - groff glyph names
DESCRIPTION
This manual page lists the standard
groff
glyph names and the default input mapping, latin1.
The glyphs in this document look different depending on which output
device was chosen (with option
-T
for the
man(1)
program or the roff formatter).
Glyphs not available for the device that is being used to print or
view this manual page are marked with
[oq](N/A)[cq].
In the actual version,
groff
provides only 8-bit characters for direct input and named entities
for further glyphs.
On ASCII platforms, input character codes in the range 0 to 127
(decimal) represent the usual 7-bit ASCII characters, while codes
between 127 and 255 are interpreted as the corresponding characters in
the
latin1
(
ISO-8859-1)
code set by default.
This mapping is contained in the file
latin1.tmac
and can be changed by loading a different input encoding.
Note that some of the input characters are reserved by
groff,
either for internal use or for special input purposes.
On EBCDIC platforms, only code page
cp1047
is supported (which contains the same characters as latin1; the
input encoding file is called
cp1047.tmac).
Again, some input characters are reserved for internal and special purposes.
All roff systems provide the concept of named glyphs.
In traditional roff systems, only names of length 2 were used, while
groff also provides support for longer names.
It is strongly suggested that only named glyphs are used for all
character representations outside of the printable 7-bit ASCII range.
Some of the predefined groff escape sequences (with names of length 1)
also produce single glyphs; these exist for historical reasons or
are printable versions of syntactical characters.
They include [oq]
\\[cq], [oq]
\'[cq],
[oq]
\`[cq], [oq]
\-[cq], [oq]
\.[cq],
and [oq]
\e[cq]; see
groff(7).
In groff, all of these different types of characters and glyphs can be
tested positively with the [oq]
.if c[cq] conditional.
REFERENCE
In this section, the glyphs in groff are specified in tabular
form.
The meaning of the columns is as follows.
- Output
-
shows how the glyph is printed for the current device; although
this can have quite a different shape on other devices, it always
represents the same glyph.
- Input
-
specifies how the glyph is input either directly by a key on the
keyboard, or by a groff escape sequence.
- Code
-
applies to glyphs which can be input with a single character, and
gives the ISO latin1 decimal code of that input character.
Note that this code is equivalent to the lowest 256 Unicode characters,
including 7-bit ASCII in the range 0 to 127.
- PostScript
-
gives the usual PostScript name of the glyph.
- Unicode
-
is the glyph name used in composite glyph names.
The names in the Unicode column look like
u0021
or
u0041_0300.
In groff, the corresponding Unicode characters can be constructed
by adding a backslash and a pair of square brackets, for example
\[u0021]
or
\[u0041_0300].
7-bit Character Codes 32-126
These are the basic glyphs having 7-bit ASCII code values assigned.
They are identical to the printable characters of the
character standards ISO-8859-1 (latin1) and Unicode (range
Basic Latin).
The glyph names used in composite glyph names are [oq]u0020[cq] up
to [oq]u007E[cq].
Note that input characters in the range 0-31 and character 127 are
not
printable characters.
Most of them are invalid input characters for
groff
anyway, and the valid ones have special meaning.
For EBCDIC, the printable characters are in the range 66-255.
- 48-57
-
Decimal digits 0 to 9 (print as themselves).
- 65-90
-
Upper case letters A-Z (print as themselves).
- 97-122
-
Lower case letters a-z (print as themselves).
Most of the remaining characters not in the just described ranges print as
themselves; the only exceptions are the following characters:
- `
-
the ISO latin1 [oq]Grave Accent[cq] (code 96) prints as [oq], a
left single quotation mark; the original character can be obtained
with [oq]\`[cq].
- aq
-
the ISO latin1 [oq]Apostrophe[cq] (code 39) prints as ', a right
single quotation mark; the original character can be obtained with
[oq]\(aq[cq].
- -
-
the ISO latin1 [oq]Hyphen, Minus Sign[cq] (code 45) prints as a
hyphen; a minus sign can be obtained with [oq]\-[cq].
- ~
-
the ISO latin1 [oq]Tilde[cq] (code 126) is reduced in size to be
usable as a diacritic; a larger glyph can be obtained with
[oq]\(ti[cq].
- ^
-
the ISO latin1 [oq]Circumflex Accent[cq] (code 94) is reduced in
size to be usable as a diacritic; a larger glyph can be obtained with
[oq]\(ha[cq].
Output | Input | Code | PostScript | Unicode | Notes
|
|
[char33] | [char33] | 33 | exclam | u0021 | exclamation mark (bang)
|
[char34] | [char34] | 34 | quotedbl | u0022 | double quote
|
[char35] | [char35] | 35 | numbersign | u0023 | number sign
|
[char36] | [char36] | 36 | dollar | u0024 | currency dollar sign
|
[char37] | [char37] | 37 | percent | u0025 | percent
|
[char38] | [char38] | 38 | ampersand | u0026 | ampersand
|
[char39] | [char39] | 39 | quoteright | u0027 | right quote
|
[char40] | [char40] | 40 | parenleft | u0028 | parentheses left
|
[char41] | [char41] | 41 | parenright | u0029 | parentheses right
|
[char42] | [char42] | 42 | asterisk | u002A | asterisk
|
[char43] | [char43] | 43 | plus | u002B | plus
|
[char44] | [char44] | 44 | comma | u002C | comma
|
[char45] | [char45] | 45 | hyphen | u2010 | hyphen
|
[char46] | [char46] | 46 | period | u002E | period, dot
|
[char47] | [char47] | 47 | slash | u002F | slash
|
[char58] | [char58] | 58 | colon | u003A | colon
|
[char59] | [char59] | 59 | semicolon | u003B | semicolon
|
[char60] | [char60] | 60 | less | u003C | less than
|
[char61] | [char61] | 61 | equal | u003D | equal
|
[char62] | [char62] | 62 | greater | u003E | greater than
|
[char63] | [char63] | 63 | question | u003F | question mark
|
[char64] | [char64] | 64 | at | u0040 | at
|
[char91] | [char91] | 91 | bracketleft | u005B | square bracket left
|
[char92] | [char92] | 92 | backslash | u005C | backslash
|
[char93] | [char93] | 93 | bracketright | u005D | square bracket right
|
[char94] | [char94] | 94 | circumflex | u005E | circumflex accent
|
[char95] | [char95] | 95 | underscore | u005F | underscore
|
[char96] | [char96] | 96 | quoteleft | u0060 | quote left
|
[char123] | [char123] | 123 | braceleft | u007B | curly brace left
|
[char124] | [char124] | 124 | bar | u007C | bar
|
[char125] | [char125] | 125 | braceright | u007D | curly brace right
|
[char126] | [char126] | 126 | tilde | u007E | tilde accent
|
8-bit Character Codes 160 to 255
They are interpreted as printable characters according to the
latin1
(
ISO-8859-1)
code set, being identical to the Unicode range
Latin-1 Supplement.
Input characters in range 128-159 (on non-EBCDIC hosts) are not
printable characters.
- 160
-
the ISO latin1
no-break space
is mapped to [oq]\ti[cq], the stretchable space
character.
- 173
-
the soft hyphen control character.
groff
never uses this character for output (thus it is omitted in the table
below); the input character 173 is mapped onto [oq]\%[cq].
The remaining ranges (161-172, 174-255)
are printable characters that print as themselves.
Although they can be specified directly with the keyboard on systems
with a latin1 code page, it is better to use their glyph names;
see next section.
Output | Input | Code | PostScript | Unicode | Notes
|
|
[char161] | [char161] | 161 | exclamdown | u00A1 | inverted exclamation mark
|
[char162] | [char162] | 162 | cent | u00A2 | currency unit
|
[char163] | [char163] | 163 | sterling | u00A3 | pound sterling
|
[char164] | [char164] | 164 | currency | u00A4 | generic currency symbol
|
[char165] | [char165] | 165 | yen | u00A5 | Japanese currency symbol
|
[char166] | [char166] | 166 | brokenbar | u00A6 | broken bar
|
[char167] | [char167] | 167 | section | u00A7 | section sign
|
[char168] | [char168] | 168 | dieresis | u00A8 | dieresis (umlaut)
|
[char169] | [char169] | 169 | copyright | u00A9 | copyright symbol
|
[char170] | [char170] | 170 | ordfeminine | u00AA | feminine ordinal (Spanish)
|
[char171] | [char171] | 171 | guillemotleft | u00AB | left guillemet [sic]
|
[char172] | [char172] | 172 | logicalnot | u00AC | logical not
|
[char174] | [char174] | 174 | registered | u00AE | registered mark symbol
|
[char175] | [char175] | 175 | macron | u00AF | overbar accent
|
[char176] | [char176] | 176 | degree | u00B0 | degree sign
|
[char177] | [char177] | 177 | plusminus | u00B1 | plus-minus sign
|
[char178] | [char178] | 178 | twosuperior | u00B2 | superscript 2
|
[char179] | [char179] | 179 | threesuperior | u00B3 | superscript 3
|
[char180] | [char180] | 180 | acute | u00B4 | acute accent
|
[char181] | [char181] | 181 | mu | u00B5 | micro sign
|
[char182] | [char182] | 182 | paragraph | u00B6 | end of paragraphs marker
|
[char183] | [char183] | 183 | periodcentered | u00B7 | centered period
|
[char184] | [char184] | 184 | cedilla | u00B8 | cedilla accent
|
[char185] | [char185] | 185 | onesuperior | u00B9 | superscript 1
|
[char186] | [char186] | 186 | ordmasculine | u00BA | masculine ordinal (Spanish)
|
[char187] | [char187] | 187 | guillemotright | u00BB | right guillemet [sic]
|
[char188] | [char188] | 188 | onequarter | u00BC | 1/4 symbol
|
[char189] | [char189] | 189 | onehalf | u00BD | 1/2 symbol
|
[char190] | [char190] | 190 | threequarters | u00BE | 3/4 symbol
|
[char191] | [char191] | 191 | questiondown | u00BF | inverted question mark
|
[char192] | [char192] | 192 | Agrave | u0041_0300 | A grave
|
[char193] | [char193] | 193 | Aacute | u0041_0301 | A acute
|
[char194] | [char194] | 194 | Acircumflex | u0041_0302 | A circumflex
|
[char195] | [char195] | 195 | Atilde | u0041_0303 | A tilde
|
[char196] | [char196] | 196 | Adieresis | u0041_0308 | A dieresis (umlaut)
|
[char197] | [char197] | 197 | Aring | u0041_030A | A ring
|
[char198] | [char198] | 198 | AE | u00C6 | A+E combined
|
[char199] | [char199] | 199 | Ccedilla | u0043_0327 | C cedilla
|
[char200] | [char200] | 200 | Egrave | u0045_0300 | E grave
|
[char201] | [char201] | 201 | Eacute | u0045_0301 | E acute
|
[char202] | [char202] | 202 | Ecircumflex | u0045_0302 | E circumflex
|
[char203] | [char203] | 203 | Edieresis | u0045_0308 | E dieresis (umlaut)
|
[char204] | [char204] | 204 | Igrave | u0049_0300 | I grave
|
[char205] | [char205] | 205 | Iacute | u0049_0301 | I acute
|
[char206] | [char206] | 206 | Icircumflex | u0049_0302 | I circumflex
|
[char207] | [char207] | 207 | Idieresis | u0049_0308 | I dieresis
|
[char208] | [char208] | 208 | Eth | u00D0 | E th
|
[char209] | [char209] | 209 | Ntilde | u004E_0303 | N tilde
|
[char210] | [char210] | 210 | Ograve | u004F_0300 | O grave
|
[char211] | [char211] | 211 | Oacute | u004F_0301 | O acute
|
[char212] | [char212] | 212 | Ocircumflex | u004F_0302 | O circumflex
|
[char213] | [char213] | 213 | Otilde | u004F_0303 | O tilde
|
[char214] | [char214] | 214 | Odieresis | u004F_0308 | O dieresis (umlaut)
|
[char215] | [char215] | 215 | multiply | u00D7 | multiply
|
[char216] | [char216] | 216 | Oslash | u00D8 | O slash
|
[char217] | [char217] | 217 | Ugrave | u0055_0300 | U grave
|
[char218] | [char218] | 218 | Uacute | u0055_0301 | U acute
|
[char219] | [char219] | 219 | Ucircumflex | u0055_0302 | U circumflex
|
[char220] | [char220] | 220 | Udieresis | u0055_0308 | U dieresis (umlaut)
|
[char221] | [char221] | 221 | Yacute | u0059_0301 | Y acute
|
[char222] | [char222] | 222 | Thorn | u00DE | Thorn
|
[char223] | [char223] | 223 | germandbls | u00DF | German double s (sharp s)
|
[char224] | [char224] | 224 | agrave | u0061_0300 | a grave
|
[char225] | [char225] | 225 | aacute | u0061_0301 | a acute
|
[char226] | [char226] | 226 | acircumflex | u0061_0302 | a circumflex
|
[char227] | [char227] | 227 | atilde | u0061_0303 | a tilde
|
[char228] | [char228] | 228 | adieresis | u0061_0308 | a dieresis (umlaut)
|
[char229] | [char229] | 229 | aring | u0061_030A | a ring
|
[char230] | [char230] | 230 | ae | u00E6 | a+e combined
|
[char231] | [char231] | 231 | ccedilla | u0063_0327 | c cedilla
|
[char232] | [char232] | 232 | egrave | u0065_0300 | e grave
|
[char233] | [char233] | 233 | eacute | u0065_0301 | e acute
|
[char234] | [char234] | 234 | ecircumflex | u0065_0302 | e circumflex
|
[char235] | [char235] | 235 | edieresis | u0065_0308 | e dieresis (umlaut)
|
[char236] | [char236] | 236 | igrave | u0069_0300 | i grave
|
[char237] | [char237] | 237 | iacute | u0069_0301 | i acute
|
[char238] | [char238] | 238 | icircumflex | u0069_0302 | i circumflex
|
[char239] | [char239] | 239 | idieresis | u0069_0308 | i dieresis (umlaut)
|
[char240] | [char240] | 240 | eth | u00F0 | e th
|
[char241] | [char241] | 241 | ntilde | u006E_0303 | n tilde
|
[char242] | [char242] | 242 | ograve | u006F_0300 | o grave
|
[char243] | [char243] | 243 | oacute | u006F_0301 | o acute
|
[char244] | [char244] | 244 | ocircumflex | u006F_0302 | o circumflex
|
[char245] | [char245] | 245 | otilde | u006F_0303 | o tilde
|
[char246] | [char246] | 246 | odieresis | u006F_0308 | o dieresis (umlaut)
|
[char247] | [char247] | 247 | divide | u00F7 | divide
|
[char248] | [char248] | 248 | oslash | u00F8 | o slash
|
[char249] | [char249] | 249 | ugrave | u0075_0300 | u grave
|
[char250] | [char250] | 250 | uacute | u0075_0301 | u acute
|
[char251] | [char251] | 251 | ucircumflex | u0075_0302 | u circumflex
|
[char252] | [char252] | 252 | udieresis | u0075_0308 | u dieresis (umlaut)
|
[char253] | [char253] | 253 | yacute | u0079_0301 | y acute
|
[char254] | [char254] | 254 | thorn | u00FE | thorn
|
[char255] | [char255] | 255 | ydieresis | u0079_0308 | y dieresis (umlaut)
|
Named Glyphs
Glyph names can be embedded into the document text by using escape
sequences.
groff(7)
describes how these escape sequences look.
Glyph names can consist of quite arbitrary characters from the
ASCII or latin1 code set, not only alphanumeric characters.
Here some examples:
- \(ch
-
A glyph having the 2-character name
ch.
- \[,char_name/]
-
A glyph having the name
char_name
(having length 1, 2, 3, ...).
Note that [oq]c[cq] is not the same as
[oq]\[,c/][cq] (,c a single
character): The latter is internally mapped to glyph name
[oq]\c[cq].
By default, groff defines a single glyph name starting with a
backslash, namely [oq]\-[cq], which can be either accessed as
[oq]\-[cq] or [oq]\[-][cq].
- \[,base_glyph composite_1 composite_2 .../]
-
A composite glyph; see below for a more detailed description.
In groff, each 8-bit input character can also referred to by the construct
[oq]\[char,n/][cq] where
n
is the decimal code of the character, a number between 0 and 255
without leading zeros (those entities are
not
glyph names).
They are normally mapped onto glyphs using the .trin request.
Another special convention is the handling of glyphs with names directly
derived from a Unicode code point; this is shown in the
[oq]Unicode[cq] column of the table below.
In general, all glyphs not having a name as listed in this manual page can
be accessed with the [oq]\[u,XXXX/][cq]
construct; please go to section [oq]Using Symbols[cq] in the groff info
manual for more details.
Moreover, new glyph names can be created by the .char request; see
groff(7).
In the following, a plus sign in the [oq]Notes[cq] column indicates
that this particular glyph name appears in the PS version of the
original troff documentation, CSTR 54.
Entries marked with [oq]***[cq] denote glyphs for mathematical
purposes (mainly used for DVI output).
Normally, such glyphs have metrics which make them unusable in normal
text.
Output | Input | PostScript | Unicode | Notes
|
|
[-D] | \[-D] | Eth | u00D0 | uppercase eth
|
[Sd] | \[Sd] | eth | u00F0 | lowercase eth
|
[TP] | \[TP] | Thorn | u00DE | uppercase thorn
|
[Tp] | \[Tp] | thorn | u00FE | lowercase thorn
|
[ss] | \[ss] | germandbls | u00DF | German double s (sharp s)
|
Ligatures and Other Latin Glyphs
Output | Input | PostScript | Unicode | Notes
|
|
[ff] | \[ff] | ff | u0066_0066 | ff ligature +
|
[fi] | \[fi] | fi | u0066_0069 | fi ligature +
|
[fl] | \[fl] | fl | u0066_006C | fl ligature +
|
[Fi] | \[Fi] | ffi | u0066_0066_0069 | ffi ligature +
|
[Fl] | \[Fl] | ffl | u0066_0066_006C | ffl ligature +
|
[/L] | \[/L] | Lslash | u0141 | L slash (Polish)
|
[/l] | \[/l] | lslash | u0142 | l slash (Polish)
|
[/O] | \[/O] | Oslash | u00D8 | O slash (Scandinavian)
|
[/o] | \[/o] | oslash | u00F8 | o slash (Scandinavian)
|
[AE] | \[AE] | AE | u00C6 | A+E combined
|
[ae] | \[ae] | ae | u00E6 | a+e combined
|
[OE] | \[OE] | OE | u0152 | O+E combined
|
[oe] | \[oe] | oe | u0153 | o+e combined
|
[IJ] | \[IJ] | IJ | u0132 | I+J combined (Dutch)
|
[ij] | \[ij] | ij | u0133 | i+j combined(Dutch)
|
[.i] | \[.i] | dotlessi | u0131 | i without a dot (Turkish)
|
[.j] | \[.j] | dotlessj | u0237 | j without a dot
|
Accented Characters
Output | Input | PostScript | Unicode | Notes
|
|
['A] | \['A] | Aacute | u0041_0301 | A acute
|
['C] | \['C] | Cacute | u0043_0301 | C acute
|
['E] | \['E] | Eacute | u0045_0301 | E acute
|
['I] | \['I] | Iacute | u0049_0301 | I acute
|
['O] | \['O] | Oacute | u004F_0301 | O acute
|
['U] | \['U] | Uacute | u0055_0301 | U acute
|
['Y] | \['Y] | Yacute | u0059_0301 | Y acute
|
['a] | \['a] | aacute | u0061_0301 | a acute
|
['c] | \['c] | cacute | u0063_0301 | c acute
|
['e] | \['e] | eacute | u0065_0301 | e acute
|
['i] | \['i] | iacute | u0069_0301 | i acute
|
['o] | \['o] | oacute | u006F_0301 | o acute
|
['u] | \['u] | uacute | u0075_0301 | u acute
|
['y] | \['y] | yacute | u0079_0301 | y acute
|
[:A] | \[:A] | Adieresis | u0041_0308 | A dieresis (umlaut)
|
[:E] | \[:E] | Edieresis | u0045_0308 | E dieresis (umlaut)
|
[:I] | \[:I] | Idieresis | u0049_0308 | I dieresis (umlaut)
|
[:O] | \[:O] | Odieresis | u004F_0308 | O dieresis (umlaut)
|
[:U] | \[:U] | Udieresis | u0055_0308 | U dieresis (umlaut)
|
[:Y] | \[:Y] | Ydieresis | u0059_0308 | Y dieresis (umlaut)
|
[:a] | \[:a] | adieresis | u0061_0308 | a dieresis (umlaut)
|
[:e] | \[:e] | edieresis | u0065_0308 | e dieresis (umlaut)
|
[:i] | \[:i] | idieresis | u0069_0308 | i dieresis (umlaut)
|
[:o] | \[:o] | odieresis | u006F_0308 | o dieresis (umlaut)
|
[:u] | \[:u] | udieresis | u0075_0308 | u dieresis (umlaut)
|
[:y] | \[:y] | ydieresis | u0079_0308 | y dieresis (umlaut)
|
[^A] | \[^A] | Acircumflex | u0041_0302 | A circumflex
|
[^E] | \[^E] | Ecircumflex | u0045_0302 | E circumflex
|
[^I] | \[^I] | Icircumflex | u0049_0302 | I circumflex
|
[^O] | \[^O] | Ocircumflex | u004F_0302 | O circumflex
|
[^U] | \[^U] | Ucircumflex | u0055_0302 | U circumflex
|
[^a] | \[^a] | acircumflex | u0061_0302 | a circumflex
|
[^e] | \[^e] | ecircumflex | u0065_0302 | e circumflex
|
[^i] | \[^i] | icircumflex | u0069_0302 | i circumflex
|
[^o] | \[^o] | ocircumflex | u006F_0302 | o circumflex
|
[^u] | \[^u] | ucircumflex | u0075_0302 | u circumflex
|
[`A] | \[`A] | Agrave | u0041_0300 | A grave
|
[`E] | \[`E] | Egrave | u0045_0300 | E grave
|
[`I] | \[`I] | Igrave | u0049_0300 | I grave
|
[`O] | \[`O] | Ograve | u004F_0300 | O grave
|
[`U] | \[`U] | Ugrave | u0055_0300 | U grave
|
[`a] | \[`a] | agrave | u0061_0300 | a grave
|
[`e] | \[`e] | egrave | u0065_0300 | e grave
|
[`i] | \[`i] | igrave | u0069_0300 | i grave
|
[`o] | \[`o] | ograve | u006F_0300 | o grave
|
[`u] | \[`u] | ugrave | u0075_0300 | u grave
|
[~A] | \[~A] | Atilde | u0041_0303 | A tilde
|
[~N] | \[~N] | Ntilde | u004E_0303 | N tilde
|
[~O] | \[~O] | Otilde | u004F_0303 | O tilde
|
[~a] | \[~a] | atilde | u0061_0303 | a tilde
|
[~n] | \[~n] | ntilde | u006E_0303 | n tilde
|
[~o] | \[~o] | otilde | u006F_0303 | o tilde
|
[vS] | \[vS] | Scaron | u0053_030C | S caron
|
[vs] | \[vs] | scaron | u0073_030C | s caron
|
[vZ] | \[vZ] | Zcaron | u005A_030C | Z caron
|
[vz] | \[vz] | zcaron | u007A_030C | z caron
|
[,C] | \[,C] | Ccedilla | u0043_0327 | C cedilla
|
[,c] | \[,c] | ccedilla | u0063_0327 | c cedilla
|
[oA] | \[oA] | Aring | u0041_030A | A ring
|
[oa] | \[oa] | aring | u0061_030A | a ring
|
Accents
The
composite
request is used to map most of the accents to non-spacing glyph names;
the values given in parentheses are the original (spacing) ones.
Output | Input | PostScript | Unicode | Notes
|
|
[a"] | \[a"] | hungarumlaut | u030B (u02DD) | Hungarian umlaut
|
[a-] | \[a-] | macron | u0304 (u00AF) | overbar accent
|
[a.] | \[a.] | dotaccent | u0307 (u02D9) | dot accent
|
[a^] | \[a^] | circumflex | u0302 (u005E) | circumflex accent
|
[aa] | \[aa] | acute | u0301 (u00B4) | acute accent
|
[ga] | \[ga] | grave | u0300 (u0060) | grave accent
|
[ab] | \[ab] | breve | u0306 (u02D8) | breve accent
|
[ac] | \[ac] | cedilla | u0327 (u00B8) | cedilla accent
|
[ad] | \[ad] | dieresis | u0308 (u00A8) | umlaut accent
|
[ah] | \[ah] | caron | u030C (u02C7) | caron accent
|
[ao] | \[ao] | ring | u030A (u02DA) | small circle, ring accent
|
[a~] | \[a~] | tilde | u0303 (u007E) | tilde accent
|
[ho] | \[ho] | ogonek | u0328 (u02DB) | hook accent
|
[ha] | \[ha] | asciicircum | u005E |
high circumflex, ASCII character, in mathematics the power sign
|
[ti] | \[ti] | asciitilde | u007E |
tilde in vertical middle, ASCII, in Unix-like the home directory
|
Quotes
Output | Input | PostScript | Unicode | Notes
|
|
[Bq] | \[Bq] | quotedblbase | u201E | low double comma quote
|
[bq] | \[bq] | quotesinglbase | u201A | low single comma quote
|
[lq] | \[lq] | quotedblleft | u201C | left double quote
|
[rq] | \[rq] | quotedblright | u201D | right double quote
|
[oq] | \[oq] | quoteleft | u2018 | single open (left) quote
|
[cq] | \[cq] | quoteright | u2019 | single closing (right) quote
|
[aq] | \[aq] | quotesingle | u0027 | apostrophe quote (ASCII 39)
|
[dq] | \[dq] | quotedbl | u0022 | double quote (ASCII 34)
|
[Fo] | \[Fo] | guillemotleft | u00AB | left guillemet [sic]
|
[Fc] | \[Fc] | guillemotright | u00BB | right guillemet [sic]
|
[fo] | \[fo] | guilsinglleft | u2039 |
single left-pointing angle quotation mark
|
[fc] | \[fc] | guilsinglright | u203A |
single right-pointing angle quotation mark
|
Punctuation
Output | Input | PostScript | Unicode | Notes
|
|
[r!] | \[r!] | exclamdown | u00A1 | inverted exclamation mark
|
[r?] | \[r?] | questiondown | u00BF | inverted question mark
|
[em] | \[em] | emdash | u2014 | em-dash symbol
|
[en] | \[en] | endash | u2013 | en-dash symbol
|
[hy] | \[hy] | hyphen | u2010 | hyphen symbol
|
Brackets
The extensible bracket pieces are font-invariant glyphs.
In classical troff only one glyph was available to vertically extend
brackets, braces, and parentheses: [oq]bv[cq].
We map it rather arbitrarily to u23AA.
Note that not all devices contain extensible bracket pieces which can
be piled up with [oq]\b[cq] due to the restrictions of the
escape[aq]s piling algorithm.
A general solution to build brackets out of pieces is the following
macro:
- .\" Make a pile centered vertically 0.5em.\" above the baseline..\" The first argument is placed at the top..\" The pile is returned in string `pile'.eo
.de pile-make
. nr pile-wd 0
. nr pile-ht 0
. ds pile-args
.
. nr pile-# \n[.$]
. while \n[pile-#] \{\
. nr pile-wd (\n[pile-wd] >? \w'\$[\n[pile-#]]')
. nr pile-ht +(\n[rst] - \n[rsb])
. as pile-args \v'\n[rsb]u'\". as pile-args \Z'\$[\n[pile-#]]'\". as pile-args \v'-\n[rst]u'\". nr pile-# -1
. \}
.
. ds pile \v'(-0.5m + (\n[pile-ht]u / 2u))'\". as pile \*[pile-args]\". as pile \v'((\n[pile-ht]u / 2u) + 0.5m)'\". as pile \h'\n[pile-wd]u'\"..
.ec
Another complication is the fact that some glyphs which represent
bracket pieces in original troff can be used for other mathematical
symbols also, for example [oq]lf[cq] and [oq]rf[cq] which provide
the [oq]floor[cq] operator.
Other devices (most notably for DVI output) don[aq]t unify such
glyphs.
For this reason, the four glyphs [oq]lf[cq], [oq]rf[cq],
[o]lc[cq], and [oq]rc[cq] are not unified with similarly looking
bracket pieces.
In
groff,
only glyphs with long names are guaranteed to pile up correctly for all
devices (provided those glyphs exist).
Output | Input | PostScript | Unicode | Notes
|
|
[lB] | \[lB] | bracketleft | u005B |
left square bracket
|
[rB] | \[rB] | bracketright | u005D |
right square bracket
|
[lC] | \[lC] | braceleft | u007B |
left curly brace
|
[rC] | \[rC] | braceright | u007D |
right curly brace
|
[la] | \[la] | angleleft | u27E8 |
left angle bracket
|
[ra] | \[ra] | angleright | u27E9 |
right angle bracket
|
| | | |
|
[bv] | \[bv] | braceex | u23AA |
curly brace vertical extension
|
[braceex] | \[braceex] | braceex | u23AA |
curly brace vertical extension
|
| | | |
|
[bracketlefttp] | \[bracketlefttp] | bracketlefttp | u23A1 |
left square bracket top
|
[bracketleftbt] | \[bracketleftbt] | bracketleftbt | u23A3 |
left square bracket bottom
|
[bracketleftex] | \[bracketleftex] | bracketleftex | u23A2 |
left square bracket extension
|
[bracketrighttp] | \[bracketrighttp] | bracketrighttp | u23A4 |
right square bracket top
|
[bracketrightbt] | \[bracketrightbt] | bracketrightbt | u23A6 |
right square bracket bottom
|
[bracketrightex] | \[bracketrightex] | bracketrightex | u23A5 |
right square bracket extension
|
| | | |
|
[lt] | \[lt] | bracelefttp | u23A7 |
left curly brace top
|
[bracelefttp] | \[bracelefttp] | bracelefttp | u23A7 |
left curly brace top
|
[lk] | \[lk] | braceleftmid | u23A8 |
left curly brace middle
|
[braceleftmid] | \[braceleftmid] | braceleftmid | u23A8 |
left curly brace middle
|
[lb] | \[lb] | braceleftbt | u23A9 |
left curly brace bottom
|
[braceleftbt] | \[braceleftbt] | braceleftbt | u23A9 |
left curly brace bottom
|
[braceleftex] | \[braceleftex] | braceleftex | u23AA |
left curly brace extension
|
[rt] | \[rt] | bracerighttp | u23AB |
right curly brace top
|
[bracerighttp] | \[bracerighttp] | bracerighttp | u23AB |
right curly brace top
|
[rk] | \[rk] | bracerightmid | u23AC |
right curly brace middle
|
[bracerightmid] | \[bracerightmid] | bracerightmid | u23AC |
right curly brace middle
|
[rb] | \[rb] | bracerightbt | u23AD |
right curly brace bottom
|
[bracerightbt] | \[bracerightbt] | bracerightbt | u23AD |
right curly brace bottom
|
[bracerightex] | \[bracerightex] | bracerightex | u23AA |
right curly brace extension
|
[parenlefttp] | \[parenlefttp] | parenlefttp | u239B |
left parenthesis top
|
[parenleftbt] | \[parenleftbt] | parenleftbt | u239D |
left parenthesis bottom
|
[parenleftex] | \[parenleftex] | parenleftex | u239C |
left parenthesis extension
|
[parenrighttp] | \[parenrighttp] | parenrighttp | u239E |
right parenthesis top
|
[parenrightbt] | \[parenrightbt] | parenrightbt | u23A0 |
right parenthesis bottoom
|
[parenrightex] | \[parenrightex] | parenrightex | u239F |
right parenthesis extension
|
Arrows
Output | Input | PostScript | Unicode | Notes
|
|
[<-] | \[<-] | arrowleft | u2190 | horizontal arrow left
|
[->] | \[->] | arrowright | u2192 | horizontal arrow right
|
[<>] | \[<>] | arrowboth | u2194 |
horizontal arrow in both directions
|
[da] | \[da] | arrowdown | u2193 | vertical arrow down
|
[ua] | \[ua] | arrowup | u2191 | vertical arrow up
|
[va] | \[va] | arrowupdn | u2195 |
vertical arrow in both directions
|
[lA] | \[lA] | arrowdblleft | u21D0 | horizontal double arrow left
|
[rA] | \[rA] | arrowdblright | u21D2 | horizontal double arrow right
|
[hA] | \[hA] | arrowdblboth | u21D4 |
horizontal double arrow in both directions
|
[dA] | \[dA] | arrowdbldown | u21D3 | vertical double arrow down
|
[uA] | \[uA] | arrowdblup | u21D1 | vertical double arrow up
|
[vA] | \[vA] | uni21D5 | u21D5 |
vertical double arrow in both directions
|
[an] | \[an] | arrowhorizex | u23AF | horizontal arrow extension
|
Lines
The font-invariant glyphs [oq]br[cq], [oq]ul[cq], and [oq]rn[cq]
form corners; they can be used to build boxes.
Note that both the PostScript and the Unicode-derived names of
these three glyphs are just rough approximations.
[oq]rn[cq] also serves in classical troff as the horizontal
extension of the square root sign.
[oq]ru[cq] is a font-invariant glyph, namely a rule of length 0.5m.
Output | Input | PostScript | Unicode | Notes
|
|
[ba] | \[ba] | bar | u007C | bar
|
[br] | \[br] | SF110000 | u2502 | box rule
|
[ul] | \[ul] | underscore | u005F | underscore
|
[rn] | \[rn] | overline | u203E | overline
|
[ru] | \[ru] | --- | --- | baseline rule
|
[bb] | \[bb] | brokenbar | u00A6 | broken bar
|
[sl] | \[sl] | slash | u002F | slash, solidus
|
[rs] | \[rs] | backslash | u005C | reverse slash, reverse solidus
|
Use [oq]\[radicalex][cq], not
[oq]\[overline][cq], for continuation of square root.
Text markers
Output | Input | PostScript | Unicode | Notes
|
|
[ci] | \[ci] | circle | u25CB | circle
|
[bu] | \[bu] | bullet | u2022 | bullet
|
[dd] | \[dd] | daggerdbl | u2021 | double dagger sign
|
[dg] | \[dg] | dagger | u2020 | dagger
|
[lz] | \[lz] | lozenge | u25CA | lozenge, diamond, pound key
|
[sq] | \[sq] | uni25A1 | u25A1 | white square
|
[ps] | \[ps] | paragraph | u00B6 | end of paragraphs marker
|
[sc] | \[sc] | section | u00A7 | section sign
|
[lh] | \[lh] | uni261C | u261C | hand pointing left
|
[rh] | \[rh] | a14 | u261E | hand pointing right
|
[at] | \[at] | at | u0040 | at
|
[sh] | \[sh] | numbersign | u0023 | number sign
|
[CR] | \[CR] | carriagereturn | u21B5 | carriage return
|
[OK] | \[OK] | a19 | u2713 | check mark, tick
|
Legal Symbols
Output | Input | PostScript | Unicode | Notes
|
|
[co] | \[co] | copyright | u00A9 | copyright sign
|
[rg] | \[rg] | registered | u00AE | registered mark
|
[tm] | \[tm] | trademark | u2122 | trademark symbol
|
[bs] | \[bs] | --- | --- | AT&T Bell Labs logo +
|
The Bell Labs logo is not supported in groff.
Currency symbols
Output | Input | PostScript | Unicode | Notes
|
|
[Do] | \[Do] | dollar | u0024 | dollar
|
[ct] | \[ct] | cent | u00A2 | cent
|
[eu] | \[eu] | --- | u20AC | official Euro symbol
|
[Eu] | \[Eu] | Euro | u20AC | font-specific Euro glyph variant
|
[Ye] | \[Ye] | yen | u00A5 | Japanese Yen
|
[Po] | \[Po] | sterling | u00A3 | pound sterling (British)
|
[Cs] | \[Cs] | currency | u00A4 | Scandinavian currency sign
|
[Fn] | \[Fn] | florin | u0192 | Dutch currency sign
|
Units
Output | Input | PostScript | Unicode | Notes
|
|
[de] | \[de] | degree | u00B0 | degree
|
[%0] | \[%0] | perthousand | u2030 | per thousand, per mille sign
|
[fm] | \[fm] | minute | u2032 | arc minute sign
|
[sd] | \[sd] | second | u2033 | acr second sign
|
[mc] | \[mc] | mu | u00B5 | mu, micro sign
|
[Of] | \[Of] | ordfeminine | u00AA | feminine ordinal (Spanish)
|
[Om] | \[Om] | ordmasculine | u00BA | masculine ordinal (Spanish)
|
Logical Symbols
Output | Input | PostScript | Unicode | Notes
|
|
[AN] | \[AN] | logicaland | u2227 | logical and
|
[OR] | \[OR] | logicalor | u2228 | logical or
|
[no] | \[no] | logicalnot | u00AC | logical not
|
[tno] | \[tno] | logicalnot | u00AC | text variant of [oq]no[cq]
|
[te] | \[te] | existential | u2203 | there exists
|
[fa] | \[fa] | universal | u2200 | for all
|
[st] | \[st] | suchthat | u220B | sucht that
|
[3d] | \[3d] | therefore | u2234 | therefore
|
[tf] | \[tf] | therefore | u2234 | therefore
|
[or] | \[or] | bar | u007C |
bitwise OR operator (as used in C)
|
Mathematical Symbols
Output | Input | PostScript | Unicode | Notes
|
|
[12] | \[12] | onehalf | u00BD | 1/2 symbol
|
[14] | \[14] | onequarter | u00BC | 1/4 symbol
|
[34] | \[34] | threequarters | u00BE | 3/4 symbol
|
[18] | \[18] | oneeighth | u215B | 1/8 symbol
|
[38] | \[38] | threeeighths | u215C | 3/8 symbol
|
[58] | \[58] | fiveeighths | u215D | 5/8 symbol
|
[78] | \[78] | seveneighths | u215E | 7/8 symbol
|
[S1] | \[S1] | onesuperior | u00B9 | superscript 1
|
[S2] | \[S2] | twosuperior | u00B2 | superscript 2
|
[S3] | \[S3] | threesuperior | u00B3 | superscript 3
|
| | | |
|
[pl] | \[pl] | plus | u002B | plus in special font
|
[mi] | \[mi] | minus | u2212 | minus in special font
|
[-+] | \[-+] | uni2213 | u2213 | minus-plus
|
[+-] | \[+-] | plusminus | u00B1 | plus-minus
|
[t+-] | \[t+-] | plusminus | u00B1 | text variant of \[+-]
|
[pc] | \[pc] | periodcentered | u00B7 | period centered
|
[md] | \[md] | dotmath | u22C5 | multiplication dot
|
[mu] | \[mu] | multiply | u00D7 | multiply sign
|
[tmu] | \[tmu] | multiply | u00D7 | text variant of \[mu]
|
[c*] | \[c*] | circlemultiply | u2297 | multiply sign in circle
|
[c+] | \[c+] | circleplus | u2295 | plus sign in circle
|
[di] | \[di] | divide | u00F7 | division sign
|
[tdi] | \[tdi] | divide | u00F7 | text variant of \[di]
|
[f/] | \[f/] | fraction | u2044 | bar for fractions
|
[**] | \[**] | asteriskmath | u2217 | mathematical asterisk
|
| | | |
|
[<=] | \[<=] | lessequal | u2264 | less or equal
|
[>=] | \[>=] | greaterequal | u2265 | greater or equal
|
[<<] | \[<<] | uni226A | u226A | much less
|
[>>] | \[>>] | uni226B | u226B | much greater
|
[eq] | \[eq] | equal | u003D | equals in special font
|
[!=] | \[!=] | notequal | u003D_0338 | not equal
|
[==] | \[==] | equivalence | u2261 | equivalent
|
[ne] | \[ne] | uni2262 | u2261_0338 | not equivalent
|
[=~] | \[=~] | congruent | u2245 |
congruent, approx. equal
|
[|=] | \[|=] | uni2243 | u2243 | asymptot. equal to
|
[ap] | \[ap] | similar | u223C | similar
|
[~~] | \[~~] | approxequal | u2248 | almost equal to
|
[~=] | \[~=] | approxequal | u2248 | almost equal to
|
[pt] | \[pt] | proportional | u221D | proportional
|
| | | |
|
[es] | \[es] | emptyset | u2205 | empty set
|
[mo] | \[mo] | element | u2208 | element of a set
|
[nm] | \[nm] | notelement | u2208_0338 | not element of set
|
[sb] | \[sb] | propersubset | u2282 | proper subset
|
[nb] | \[nb] | notsubset | u2282_0338 | not supset
|
[sp] | \[sp] | propersuperset | u2283 | proper superset
|
[nc] | \[nc] | uni2285 | u2283_0338 | not superset
|
[ib] | \[ib] | reflexsubset | u2286 | subset or equal
|
[ip] | \[ip] | reflexsuperset | u2287 | superset or equal
|
[ca] | \[ca] | intersection | u2229 | intersection, cap
|
[cu] | \[cu] | union | u222A | union, cup
|
| | | |
|
[/_] | \[/_] | angle | u2220 | angle
|
[pp] | \[pp] | perpendicular | u22A5 | perpendicular
|
[is] | \[is] | integral | u222B | integral
|
[integral] | \[integral] | integral | u222B | integral
|
[sum] | \[sum] | summation | u2211 | summation
|
[product] | \[product] | product | u220F | product
|
[coproduct] | \[coproduct] | uni2210 | u2210 | coproduct
|
[gr] | \[gr] | gradient | u2207 | gradient
|
[sr] | \[sr] | radical | u221A | square root
|
[sqrt] | \[sqrt] | radical | u221A | square root
|
[radicalex] | \[radicalex] | radicalex | --- |
square root continuation
|
[sqrtex] | \[sqrtex] | radicalex | --- |
square root continuation
|
| | | |
|
[lc] | \[lc] | uni2308 | u2308 | left ceiling
|
[rc] | \[rc] | uni2309 | u2309 | right ceiling
|
[lf] | \[lf] | uni230A | u230A | left floor
|
[rf] | \[rf] | uni230B | u230B | right floor
|
| | | |
|
[if] | \[if] | infinity | u221E | infinity
|
[Ah] | \[Ah] | aleph | u2135 | aleph
|
[Im] | \[Im] | Ifraktur | u2111 | Gothic I, imaginary
|
[Re] | \[Re] | Rfraktur | u211C | Gothic R, real
|
[wp] | \[wp] | weierstrass | u2118 | Weierstrass~p
|
[pd] | \[pd] | partialdiff | u2202 |
partial differentiation
|
[-h] | \[-h] | uni210F | u210F |
Planck constant / 2pi (h-bar)
|
[hbar] | \[hbar] | uni210F | u210F |
Planck constant / 2pi (h-bar)
|
Greek glyphs
These glyphs are intended for technical use, not for real Greek; normally,
the uppercase letters have upright shape, and the lowercase ones are
slanted.
There is a problem with the mapping of letter phi to Unicode.
Prior to Unicode version 3.0, the difference between U+03C6, GREEK
SMALL LETTER PHI, and U+03D5, GREEK PHI SYMBOL, was not clearly described;
only the glyph shapes in the Unicode book could be used as a reference.
Starting with Unicode 3.0, the reference glyphs have been exchanged and
described verbally also: In mathematical context, U+03D5 is the stroked
variant and U+03C6 the curly glyph.
Unfortunately, most font vendors didn[aq]t update their fonts to
this (incompatible) change in Unicode.
At the time of this writing (January 2006), it is not clear yet
whether the Adobe Glyph Names [oq]phi[cq] and [oq]phi1[cq] also
change its meaning if used for mathematics, thus compatibility
problems are likely to happen [en] being conservative, groff
currently assumes that [oq]phi[cq] in a PostScript symbol font is
the stroked version.
In groff, symbol [oq]\[*f][cq] always denotes the stroked
version of phi, and [oq]\[+f][cq] the curly variant.
Output | Input | PostScript | Unicode | Notes
|
|
[*A] | \[*A] | Alpha | u0391 | Alpha
|
[*B] | \[*B] | Beta | u0392 | Beta
|
[*G] | \[*G] | Gamma | u0393 | Gamma
|
[*D] | \[*D] | Delta | u0394 | Delta
|
[*E] | \[*E] | Epsilon | u0395 | Epsilon
|
[*Z] | \[*Z] | Zeta | u0396 | Zeta
|
[*Y] | \[*Y] | Eta | u0397 | Eta
|
[*H] | \[*H] | Theta | u0398 | Theta
|
[*I] | \[*I] | Iota | u0399 | Iota
|
[*K] | \[*K] | Kappa | u039A | Kappa
|
[*L] | \[*L] | Lambda | u039B | Lamda
|
[*M] | \[*M] | Mu | u039C | Mu
|
[*N] | \[*N] | Nu | u039D | Nu
|
[*C] | \[*C] | Xi | u039E | Xi
|
[*O] | \[*O] | Omicron | u039F | Omicron
|
[*P] | \[*P] | Pi | u03A0 | Pi
|
[*R] | \[*R] | Rho | u03A1 | Rho
|
[*S] | \[*S] | Sigma | u03A3 | Sigma
|
[*T] | \[*T] | Tau | u03A4 | Tau
|
[*U] | \[*U] | Upsilon | u03A5 | Upsilon
|
[*F] | \[*F] | Phi | u03A6 | Phi
|
[*X] | \[*X] | Chi | u03A7 | Chi
|
[*Q] | \[*Q] | Psi | u03A8 | Psi
|
[*W] | \[*W] | Omega | u03A9 | Omega
|
[*a] | \[*a] | alpha | u03B1 | alpha
|
[*b] | \[*b] | beta | u03B2 | beta
|
[*g] | \[*g] | gamma | u03B3 | gamma
|
[*d] | \[*d] | delta | u03B4 | delta
|
[*e] | \[*e] | epsilon | u03B5 | epsilon
|
[*z] | \[*z] | zeta | u03B6 | zeta
|
[*y] | \[*y] | eta | u03B7 | eta
|
[*h] | \[*h] | theta | u03B8 | theta
|
[*i] | \[*i] | iota | u03B9 | iota
|
[*k] | \[*k] | kappa | u03BA | kappa
|
[*l] | \[*l] | lambda | u03BB | lambda
|
[*m] | \[*m] | mu | u03BC | mu
|
[*n] | \[*n] | nu | u03BD | nu
|
[*c] | \[*c] | xi | u03BE | xi
|
[*o] | \[*o] | omicron | u03BF | omicron
|
[*p] | \[*p] | pi | u03C0 | pi
|
[*r] | \[*r] | rho | u03C1 | rho
|
[ts] | \[ts] | sigma1 | u03C2 | terminal sigma
|
[*s] | \[*s] | sigma | u03C3 | sigma
|
[*t] | \[*t] | tau | u03C4 | tau
|
[*u] | \[*u] | upsilon | u03C5 | upsilon
|
[*f] | \[*f] | phi | u03D5 | phi oked glyph)
|
[*x] | \[*x] | chi | u03C7 | chi
|
[*q] | \[*q] | psi | u03C8 | psi
|
[*w] | \[*w] | omega | u03C9 | omega
|
[+h] | \[+h] | theta1 | u03D1 | variant theta
|
[+f] | \[+f] | phi1 | u03C6 | variant phi (curly shape)
|
[+p] | \[+p] | omega1 | u03D6 | variant pi, looking like omega
|
[+e] | \[+e] | uni03F5 | u03F5 | variant epsilon
|
Card symbols
Output | Input | PostScript | Unicode | Notes
|
|
[CL] | \[CL] | club | u2663 | black club suit
|
[SP] | \[SP] | spade | u2660 | black spade suit
|
[HE] | \[HE] | heart | u2665 | black heart suit
|
[u2661] | \[u2661] | uni2661 | u2661 | white heart suit
|
[DI] | \[DI] | diamond | u2666 | black diamond suit
|
[u2662] | \[u2662] | uni2662 | u2662 | white diamond suit
|
SEE ALSO
- groff(1)
-
the GNU roff formatter
- groff(7)
-
a short reference of the groff formatting language
An extension to the troff character set for Europe,
E.G. Keizer, K.J. Simonsen, J. Akkerhuis; EUUG Newsletter, Volume 9,
No. 2, Summer 1989
The Unicode Standard
COPYING
Copyright © 1989-2014 Free Software Foundation, Inc.
This file is part of groff (GNU roff), which is a free software project.
You can redistribute it and/or modify it under the terms of the GNU
General Public License as published by the Free Software Foundation,
either version 2 of the License, or (at your option) any later
version.
You should have received a copy of the GNU General Public License
along with this program.
If not, see
GPL2
AUTHORS
This document was written by
James Clark
with additions by
Werner Lemberg
and
Bernd Warken
This document was revised to use real tables by
Eric S. Raymond
Index
- NAME
-
- DESCRIPTION
-
- REFERENCE
-
- 7-bit Character Codes 32-126
-
- 8-bit Character Codes 160 to 255
-
- Named Glyphs
-
- SEE ALSO
-
- COPYING
-
- AUTHORS
-