]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/return/basic.in
Implement the roff(7) .shift and .return requests,
[mandoc.git] / regress / roff / return / basic.in
1 .\" $OpenBSD: basic.in,v 1.1 2018/08/23 14:16:12 schwarze Exp $
2 .Dd $Mdocdate: August 23 2018 $
3 .Dt RETURN-BASIC 1
4 .Os
5 .Sh NAME
6 .Nm return-basic
7 .Nd the return request
8 .Sh DESCRIPTION
9 return before macro
10 .return
11 .Pp
12 .de mymacro
13 text from macro (\\n(.$ argument: "\\$1"),
14 .return
15 not printed,
16 ..
17 .mymacro myarg
18 \n(.$ arguments after return: "\$1",
19 .Pp
20 return after macro
21 .return
22 .Pp
23 final text