3

I'd like to retain multiple spaces in the \details{} section's text of an Rd help file, which by default are compressed to one single space. The result should look like:

enter image description here

Either this is super trivial or impossible. Any ideas out there?

Andri Signorell
  • 1,279
  • 12
  • 23

1 Answers1

1

Just add \verb{ } or in roxygen2 ` `, with proper numer of spaces .

polkas
  • 3,797
  • 1
  • 12
  • 25
  • Yes! Works perfectly in the HTML and PDF view. Thanks a lot. Where did you get your information from? – Andri Signorell Jun 18 '21 at 07:19
  • I tested a few ideas add hoc. Normally i know about \text{} trick e.g. in Latex/Math so tried to look for sth similar. – polkas Jun 18 '21 at 07:21