21 Templates

21.1 Controlling the outputs

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

21.1.1 Options for HTML

Some common options for HTML include:

  • Adding tab sets
  • floating table of contents

21.1.2 Options for PDF

  • Adding page breaks
  • injecting LaTeX into your R Markdown document

21.1.3 Options for Word

  • templates using .doct files

21.2 How do I set options specific to each output

Sometimes you might want to have specific output changes to