34

Say I want to link to the "Details" section of my documentation for function foo, what do I do? \link{foo:Details} doesn't appear to work, so what is the right command?

bretauv
  • 7,756
  • 2
  • 20
  • 57
mchen
  • 9,808
  • 17
  • 72
  • 125

1 Answers1

1

You can use \linkSections{} to link to sections of an Rd file.

\linkSections{foo}

will link to the section of the foo documentation that you are currently viewing.

If you want to link to a specific section, you can use

\linkSections{foo,Details}

to link to the Details section of the foo documentation.

OliverHennhoefer
  • 677
  • 2
  • 8
  • 21
Spacewink
  • 99
  • 8