]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/esc/o.in
Surprisingly, every escape sequence can also be used as an argument
[mandoc.git] / regress / roff / esc / o.in
1 .\" $OpenBSD: o.in,v 1.3 2022/06/08 13:08:00 schwarze Exp $
2 .Dd $Mdocdate: June 8 2022 $
3 .Dt ESC-O 1
4 .Os
5 .Sh NAME
6 .Nm esc-o
7 .Nd the roff escape o sequence: overstrike
8 .Sh DESCRIPTION
9 empty: x\o''x
10 .br
11 one character: x\o'|'x
12 .br
13 wide/narrow: x\o'O|'x
14 .br
15 narrow/wide: x\o'|O'x
16 .br
17 wide/narrow/narrow: x\o'O-|'x
18 .br
19 narrow/narrow/wide: x\o'|-O'x
20 .Ss Argument delimiters
21 unsupported \er: \o\rxy\ru
22 .br
23 ignored \e&: \o\&xy\&u
24 .br
25 useless \e.: \o\.xy.u
26 .br
27 invalid \eG: \o\GxyGu
28 .br
29 special \e-: \o\-xy\-u
30 .br
31 break \ep: \o\pxy\pu
32 .br
33 nospace \ec: \o\cxy\cu
34 .\".br
35 .\"XXX skipchar \ec: \o\zxy\zu
36 .br
37 .ds mystr zx
38 string expansion: \o\*[mystr]yzu
39 .br
40 .nr myreg 12
41 register expansion: \o\n[myreg]31u
42 .br
43 ignored \eON: \o\O1xy\O2u
44 .br
45 special character: \o\(hyxy\(hyu
46 .br
47 ignored \eZ\(aqstr\(aq: \o\Z'foo'xy\Z'bar'u
48 .br
49 horizontal motion: \o\h'1'xy\h'3'u
50 .br
51 horizontal line: \o\l'4'xy\l'2'u
52 .br
53 overstrike: \o\o'ab'xy\o'cd'u
54 .br
55 unterminated: \o'xy