1
1
% File src / library / tools / man / Rd2txt_options.Rd
2
2
% Part of the R package , https : // www.R - project.org
3
- % Copyright 2010 R Core Team
3
+ % Copyright 2010 - 2025 R Core Team
4
4
% Distributed under GPL 2 or later
5
5
6
6
\name {Rd2txt_options }
@@ -20,24 +20,29 @@ Rd2txt_options(...)
20
20
\details {
21
21
This function persistently sets various formatting options for the
22
22
\code {\link {Rd2txt }} function which is used in displaying text format
23
- help. Currently defined options are :
23
+ help. Currently defined options ( defaults ) are :
24
24
\describe {
25
- \item {width }{( default 80 ): The width of the output page. }
26
- \item {minIndent }{( default 10 ): The minimum indent to use in a list. }
27
- \item {extraIndent }{( default 4 ) : The extra indent to use in each
25
+ \item {width ( 80 )}{ The width of the output page. }
26
+ \item {minIndent ( 10 )}{ The minimum indent to use in a list. }
27
+ \item {extraIndent ( 4 )}{ The extra indent to use in each
28
28
level of nested lists. }
29
- \item {sectionIndent }{( default 5 ) : The indent level for a section. }
30
- \item {sectionExtra }{( default 2 ) : The extra indentation for each
29
+ \item {sectionIndent ( 5 )}{ The indent level for a section. }
30
+ \item {sectionExtra ( 2 )}{ The extra indentation for each
31
31
nested section level. }
32
- \item {itemBullet }{(default \code {" * " }, with the asterisk replaced by a
33
- Unicode bullet in UTF - 8 and most Windows locales ):
34
- The symbol to use as a bullet in itemized lists. }
35
- \item {enumFormat }{: A function to format item numbers in enumerated lists. }
36
- \item {showURLs }{(default \code {FALSE }): Whether to show URLs when
32
+ \item {itemBullet (\code {" * " }, but \code {" \\ u2022 " } in UTF - 8 locales )}{
33
+ The symbol to use as a bullet in \verb {\itemize } lists. }
34
+ \item {enumFormat (\code {function (n ) sprintf(" \% d. " , n )})}{
35
+ A function to format item numbers in \verb {\enumerate } lists. }
36
+ \item {descStyle (\code {" linebreak" })}{
37
+ How to separate the item label from the body in \verb {\describe }
38
+ lists. The alternative \code {" colon" } inserts a colon if the label
39
+ does not already end with one. Use \code {NULL } for a simple space
40
+ (as in \R < 4.6.0 ). }
41
+ \item {showURLs (\code {FALSE })}{Whether to show URLs when
37
42
expanding \verb {\href } tags. }
38
- \item {code_quote }{( default \code {TRUE }): Whether to render
43
+ \item {code_quote ( \code {TRUE })}{ Whether to render
39
44
\verb {\code } and similar with single quotes. }
40
- \item {underline_titles }{( default \code {TRUE }): Whether to render
45
+ \item {underline_titles ( \code {TRUE })}{ Whether to render
41
46
section titles with underlines (via backspacing ). }
42
47
}
43
48
}
@@ -47,7 +52,7 @@ Rd2txt_options(...)
47
52
previous values.
48
53
}
49
54
\author {
50
- Duncan Murdoch
55
+ Duncan Murdoch and the R Core Team
51
56
}
52
57
\seealso {
53
58
\code {\link {Rd2txt }}
0 commit comments