blob: 787d44e8a329a14b70e075cc8052f13a8dcdfdb9 [file] [log] [blame]
Hao Zhuad4ea392020-08-10 01:24:50 -04001% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/light_themes.R
3\name{kable_classic}
4\alias{kable_classic}
Hao Zhud8a2e332020-08-11 01:26:32 -04005\alias{kable_classic_2}
Hao Zhuad4ea392020-08-10 01:24:50 -04006\alias{kable_minimal}
7\alias{kable_material}
Hao Zhu9bf19982020-08-11 00:50:33 -04008\alias{kable_material_dark}
Hao Zhu33b865f2020-08-18 02:10:43 -04009\alias{kable_paper}
Hao Zhuad4ea392020-08-10 01:24:50 -040010\title{Alternative HTML themes}
11\usage{
Hao Zhu33b865f2020-08-18 02:10:43 -040012kable_classic(
13 kable_input,
14 lightable_options = "basic",
15 html_font = "\\"Arial Narrow\\", \\"Source Sans Pro\\", sans-serif",
16 ...
17)
Hao Zhuad4ea392020-08-10 01:24:50 -040018
Hao Zhu33b865f2020-08-18 02:10:43 -040019kable_classic_2(
20 kable_input,
21 lightable_options = "basic",
22 html_font = "\\"Arial Narrow\\", \\"Source Sans Pro\\", sans-serif",
23 ...
24)
Hao Zhud8a2e332020-08-11 01:26:32 -040025
Hao Zhu33b865f2020-08-18 02:10:43 -040026kable_minimal(
27 kable_input,
28 lightable_options = "basic",
29 html_font = "calibri, cambria, \\"Source Sans Pro\\", sans-serif",
30 ...
31)
Hao Zhuad4ea392020-08-10 01:24:50 -040032
Hao Zhu33b865f2020-08-18 02:10:43 -040033kable_material(
34 kable_input,
35 lightable_options = "basic",
36 html_font = "\\"Source Sans Pro\\", helvetica, sans-serif",
37 ...
38)
Hao Zhu9bf19982020-08-11 00:50:33 -040039
Hao Zhu33b865f2020-08-18 02:10:43 -040040kable_material_dark(
41 kable_input,
42 lightable_options = "basic",
43 html_font = "\\"Source Sans Pro\\", helvetica, sans-serif",
44 ...
45)
46
47kable_paper(
48 kable_input,
49 lightable_options = "basic",
50 html_font = "\\"Arial Narrow\\", arial, helvetica, sans-serif",
51 ...
52)
Hao Zhuad4ea392020-08-10 01:24:50 -040053}
54\arguments{
55\item{kable_input}{A HTML kable object.}
56
Hao Zhudcbdff62020-08-10 13:29:53 -040057\item{lightable_options}{Options to customize lightable. Similar with
58\code{bootstrap_options} in \code{kable_styling}. Choices include \code{basic}, \code{striped}
59and \code{hover}.}
Hao Zhuad4ea392020-08-10 01:24:50 -040060
61\item{...}{Everything else you need to specify in \code{kable_styling}.}
62}
63\description{
64kableExtra uses the built-in bootstrap themes by default in
65\code{kable_styling()}. Alternatively, you can use a customized table themes for
66your table. This \code{lightable} table style sheet comes with three formats,
Hao Zhud8a2e332020-08-11 01:26:32 -040067namely \code{lightable-minimal}, \code{lightable-classic}, \code{lightable-material} and
68\code{lightable-material-dark} with \code{hover} and \code{striped} options.
Hao Zhuad4ea392020-08-10 01:24:50 -040069}