20 Templates

20.1 Controlling the outputs

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

20.1.1 Options for HTML

Some common options for HTML include:

  • Adding tab sets
  • floating table of contents

20.1.2 Options for PDF

  • Adding page breaks
  • injecting LaTeX into your rmarkdown document

20.1.3 Options for Word

  • templates using .doct files

20.2 How do I set options specific to each output

Sometimes you might want to have specific output changes to