19 Templates

19.1 Controlling the outputs

Depending on the output type, HTML, PDF, or word, you can actually control how the document looks

19.1.1 Options for HTML

Some common options for HTML include:

  • Adding tab sets
  • floating table of contents

19.1.2 Options for PDF

  • Adding page breaks
  • injecting LaTeX into your rmarkdown document

19.1.3 Options for Word

  • templates using .doct files

19.2 How do I set options specific to each output

Sometimes you might want to have specific output changes to