Hao Zhu | b1bc0aa | 2015-11-12 11:23:42 -0500 | [diff] [blame] | 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/footnote.R |
| 3 | \name{add_footnote} |
| 4 | \alias{add_footnote} |
| 5 | \title{Add footnote} |
| 6 | \usage{ |
| 7 | add_footnote(input, label = NULL, notation = "alphabet") |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{input}{The direct output of your \code{kable} function or your last |
| 11 | \code{kableExtra} function.} |
| 12 | |
| 13 | \item{label}{A vector of footnotes you want to add. You don't need to add |
| 14 | notations in your notes.} |
| 15 | |
| 16 | \item{notation}{You can select the format of your footnote notation from |
| 17 | "number", "alphabet" and "symbol".} |
| 18 | } |
| 19 | \description{ |
| 20 | Add footnote to your favorite kable output. So far this function |
| 21 | only works when you define \code{format} in your kable function or in the |
| 22 | global knitr option \code{knitr.table.format}. In latex, we are using the |
| 23 | \code{threeparttable} package so you need to import this package in your |
| 24 | \code{YAML} header. |
| 25 | } |
| 26 | |