Skip to content
Prev 307737 / 398503 Next

Fonts in *.Rd files.

On 12-10-11 6:05 PM, Rolf Turner wrote:
"LaTeX-like" refers to the way the parser works, it doesn't imply that 
all LaTeX macros are supported.

I think you have two ways to get what you want.  You can look through 
the available macros (listed in the Writing R Extensions manual, section 
2.3) for something.  Most of the macros describe the type of text, 
rather than the formatting. \code{} or \verb{} might be what you're after.

The other choice, which works only for LaTeX output, is to say you want 
some actual LaTeX macros.  These would only be output when producing a 
PDF of the help page.  Then you really do have all of LaTeX at your 
disposal.  Doing that is described in 2.11 on conditional text.

Duncan Murdoch