Last active
October 30, 2019 20:33
-
-
Save zenrabbit/e873240733977ef3f491d367e0925333 to your computer and use it in GitHub Desktop.
R Markdown YAML for knit to PDF with table of content without word contents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "" | |
author: you | |
header-includes: | |
\renewcommand{\contentsname}{} | |
output: | |
pdf_document: | |
fig_caption: no | |
toc: TRUE | |
toc_depth: 3 | |
--- | |
# \renewcommand{\contentsname}{} insert preferred word inside {} instead of Contents or leave blank as desired | |
# toc: TRUE indexes headers but ensure you set depth to match you preferred font size/header style i.e. ### 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment