How to use the todo
package in R Markdown-generated LaTeX documents?
To load packages, it is possible to add them to the document's header with header-includes:
. This successfully works with \usepackage{hyperref}
and its styling (\hypersetup{colorlinks=true}
), but doesn't seem to allow to add inline todo{}
s.
---title: "Untitled"author: "Test"date: "7/24/2017"output: pdf_documentheader-includes: - \usepackage{todo} - \usepackage{hyperref} - \hypersetup{colorlinks=true}---[Link styling works](www.example.com) but \todo{todo does not}.
which generates