blob: 1883eb9e90555ba9596e5e5b4be269dbdf16c553 [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",
Hao Zhu5fe235c2020-08-26 00:26:49 -040029 html_font = "\\"Trebuchet MS\\", verdana, sans-serif",
Hao Zhu33b865f2020-08-18 02:10:43 -040030 ...
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
Hao Zhuf2f42022020-08-18 22:48:52 -040061\item{html_font}{A string for HTML css font. For example,
62\code{html_font = '"Arial Narrow", arial, helvetica, sans-serif'}.}
63
Hao Zhuad4ea392020-08-10 01:24:50 -040064\item{...}{Everything else you need to specify in \code{kable_styling}.}
65}
66\description{
67kableExtra uses the built-in bootstrap themes by default in
68\code{kable_styling()}. Alternatively, you can use a customized table themes for
69your table. This \code{lightable} table style sheet comes with three formats,
Hao Zhud8a2e332020-08-11 01:26:32 -040070namely \code{lightable-minimal}, \code{lightable-classic}, \code{lightable-material} and
71\code{lightable-material-dark} with \code{hover} and \code{striped} options.
Hao Zhuad4ea392020-08-10 01:24:50 -040072}