add escape to footnote; add function documentation
diff --git a/man/footnote.Rd b/man/footnote.Rd
index 1dddc7d..b2cc29c 100644
--- a/man/footnote.Rd
+++ b/man/footnote.Rd
@@ -6,9 +6,46 @@
\usage{
footnote(kable_input, general = NULL, number = NULL, alphabet = NULL,
symbol = NULL, footnote_order = c("general", "number", "alphabet",
- "symbol"), footnote_as_chunk = FALSE, general_title = "Note: ",
- number_title = "", alphabet_title = "", symbol_title = "")
+ "symbol"), footnote_as_chunk = FALSE, escape = TRUE,
+ general_title = "Note: ", number_title = "", alphabet_title = "",
+ symbol_title = "")
+}
+\arguments{
+\item{kable_input}{HTML or LaTeX table generated by \code{knitr::kable}}
+
+\item{general}{Text for general footnote comments. Footnotes in this section
+won't be labeled with any notations}
+
+\item{number}{A vector of footnote texts. Footnotes here will be numbered.
+There is no upper cap for the number of footnotes here}
+
+\item{alphabet}{A vector of footnote texts, Footnotes here will be labeled
+with abc. The vector here should not have more than 26 elements.}
+
+\item{symbol}{A vector of footnote texts, Footnotes here will be labeled
+with special symbols. The vector here should not have more than 20 elements.}
+
+\item{footnote_order}{The order of how to arrange \code{general}, \code{number},
+\code{alphabet} and \code{symbol}.}
+
+\item{footnote_as_chunk}{T/F value. Default is FALSE. It controls whether
+the footnotes should be printed in a chunk (without line break).}
+
+\item{escape}{T/F value. It controls whether the contents and titles should
+be escaped against HTML or LaTeX. Default is TRUE.}
+
+\item{general_title}{Section header for general footnotes. Default is
+"Note: ".}
+
+\item{number_title}{Section header for number footnotes. Default is "".}
+
+\item{alphabet_title}{Section header for alphabet footnotes. Default is "".}
+
+\item{symbol_title}{Section header for symbol footnotes. Default is "".}
}
\description{
-Add footnote (new)
+\code{footnote} provides a more flexible way to add footnote. You
+can add mutiple sets of footnote using differeny notation system. It is
+also possible to specify footnote section header one by one and print
+footnotes as a chunk of texts.
}
diff --git a/man/footnote_marker_number.Rd b/man/footnote_marker_number.Rd
index cfa0c16..c16664c 100644
--- a/man/footnote_marker_number.Rd
+++ b/man/footnote_marker_number.Rd
@@ -2,10 +2,27 @@
% Please edit documentation in R/footnote_marker.R
\name{footnote_marker_number}
\alias{footnote_marker_number}
+\alias{footnote_marker_alphabet}
+\alias{footnote_marker_symbol}
\title{Footnote marker}
\usage{
footnote_marker_number(x, format)
+
+footnote_marker_alphabet(x, format)
+
+footnote_marker_symbol(x, format)
+}
+\arguments{
+\item{x}{a number. For example, for \code{footnote_marker_alphabet(2)} will
+return "b" in HTML.}
+
+\item{format}{Either \code{html} or \code{latex}. All functions here can read
+default value from global option \code{knitr.table.format}.}
}
\description{
-Footnote marker
+Put footnote mark in superscription in table. Unless you are
+using it in the \code{caption} of \code{kable}, you will need to put \code{escape = F}
+in \code{kable} (similar with \code{cell_spec}). Again, similar with \code{cell_spec}, the
+\code{format} option here can read default value from global option
+\code{knitr.table.format}.
}