Version 1.1 release
diff --git a/man/footnote.Rd b/man/footnote.Rd
index 34b3f61..063ca3c 100644
--- a/man/footnote.Rd
+++ b/man/footnote.Rd
@@ -7,9 +7,9 @@
footnote(kable_input, general = NULL, number = NULL, alphabet = NULL,
symbol = NULL, footnote_order = c("general", "number", "alphabet",
"symbol"), footnote_as_chunk = FALSE, escape = TRUE,
- threeparttable = FALSE, general_title = "Note: ",
- number_title = "", alphabet_title = "", symbol_title = "",
- title_format = "italic", symbol_manual = NULL)
+ threeparttable = FALSE, fixed_small_size = FALSE,
+ general_title = "Note: ", number_title = "", alphabet_title = "",
+ symbol_title = "", title_format = "italic", symbol_manual = NULL)
}
\arguments{
\item{kable_input}{HTML or LaTeX table generated by \code{knitr::kable}}
@@ -40,6 +40,10 @@
footnotes be the width of the original table. It's useful when you have
long paragraph of footnotes.}
+\item{fixed_small_size}{T/F When you want to keep the footnote small after
+specifying large font size with the kable_styling() (e.g. ideal font for headers
+and table content with small font in footnotes).}
+
\item{general_title}{Section header for general footnotes. Default is
"Note: ".}
diff --git a/man/group_rows.Rd b/man/group_rows.Rd
index b5b6db4..db032f5 100644
--- a/man/group_rows.Rd
+++ b/man/group_rows.Rd
@@ -2,6 +2,7 @@
% Please edit documentation in R/group_rows.R
\name{group_rows}
\alias{group_rows}
+\alias{pack_rows}
\title{Put a few rows of a table into one category}
\usage{
group_rows(kable_input, group_label = NULL, start_row = NULL,
@@ -10,6 +11,13 @@
latex_gap_space = "0.3em", escape = TRUE, latex_align = "l",
colnum = NULL, bold = TRUE, italic = FALSE, hline_before = FALSE,
hline_after = FALSE, extra_latex_after = NULL, indent = TRUE)
+
+pack_rows(kable_input, group_label = NULL, start_row = NULL,
+ end_row = NULL, index = NULL,
+ label_row_css = "border-bottom: 1px solid;",
+ latex_gap_space = "0.3em", escape = TRUE, latex_align = "l",
+ colnum = NULL, bold = TRUE, italic = FALSE, hline_before = FALSE,
+ hline_after = FALSE, extra_latex_after = NULL, indent = TRUE)
}
\arguments{
\item{kable_input}{Output of \code{knitr::kable()} with \code{format} specified}
@@ -65,6 +73,6 @@
\examples{
x <- knitr::kable(head(mtcars), "html")
# Put Row 2 to Row 5 into a Group and label it as "Group A"
-group_rows(x, "Group A", 2, 5)
+pack_rows(x, "Group A", 2, 5)
}
diff --git a/man/kable_styling.Rd b/man/kable_styling.Rd
index ea4c716..ee6de44 100644
--- a/man/kable_styling.Rd
+++ b/man/kable_styling.Rd
@@ -11,7 +11,7 @@
repeat_header_method = c("append", "replace"),
repeat_header_continued = FALSE, stripe_color = "gray!6",
stripe_index = NULL, latex_table_env = NULL, protect_latex = TRUE,
- table.envir = "table")
+ table.envir = "table", fixed_thead = FALSE)
}
\arguments{
\item{kable_input}{Output of \code{knitr::kable()} with \code{format} specified}
@@ -81,6 +81,9 @@
a plain no-caption table in a \code{table} environment in order to center the
table. You can specify this option to things like \code{table*} or \code{float*} based
on your need.}
+
+\item{fixed_thead}{HTML table option so table header row is fixed at top.
+Values can be either T/F or \code{list(enabled = T/F, background = "anycolor")}.}
}
\description{
This function provides a cleaner approach to modify the style
diff --git a/man/scroll_box.Rd b/man/scroll_box.Rd
index 1cc6742..5d4b3af 100644
--- a/man/scroll_box.Rd
+++ b/man/scroll_box.Rd
@@ -6,7 +6,7 @@
\usage{
scroll_box(kable_input, height = NULL, width = NULL,
box_css = "border: 1px solid #ddd; padding: 5px; ", extra_css = NULL,
- fixed_thead = list(enabled = F, background = "#fff"))
+ fixed_thead = TRUE)
}
\arguments{
\item{kable_input}{A HTML kable object}
@@ -19,8 +19,8 @@
\item{extra_css}{Extra CSS styles}
-\item{fixed_thead}{A list of two named element. enabled and background.
-Default is F and white, e.g. "list(enabled = T, background = "#fff")"}
+\item{fixed_thead}{HTML table option so table header row is fixed at top.
+Values can be either T/F or \code{list(enabled = T/F, background = "anycolor")}.}
}
\description{
This function will put a HTML kable object in a fixed-height,