Hao Zhu | ad4ea39 | 2020-08-10 01:24:50 -0400 | [diff] [blame] | 1 | % 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 Zhu | d8a2e33 | 2020-08-11 01:26:32 -0400 | [diff] [blame] | 5 | \alias{kable_classic_2} |
Hao Zhu | ad4ea39 | 2020-08-10 01:24:50 -0400 | [diff] [blame] | 6 | \alias{kable_minimal} |
| 7 | \alias{kable_material} |
Hao Zhu | 9bf1998 | 2020-08-11 00:50:33 -0400 | [diff] [blame] | 8 | \alias{kable_material_dark} |
Hao Zhu | 33b865f | 2020-08-18 02:10:43 -0400 | [diff] [blame] | 9 | \alias{kable_paper} |
Hao Zhu | ad4ea39 | 2020-08-10 01:24:50 -0400 | [diff] [blame] | 10 | \title{Alternative HTML themes} |
| 11 | \usage{ |
Hao Zhu | 33b865f | 2020-08-18 02:10:43 -0400 | [diff] [blame] | 12 | kable_classic( |
| 13 | kable_input, |
| 14 | lightable_options = "basic", |
| 15 | html_font = "\\"Arial Narrow\\", \\"Source Sans Pro\\", sans-serif", |
| 16 | ... |
| 17 | ) |
Hao Zhu | ad4ea39 | 2020-08-10 01:24:50 -0400 | [diff] [blame] | 18 | |
Hao Zhu | 33b865f | 2020-08-18 02:10:43 -0400 | [diff] [blame] | 19 | kable_classic_2( |
| 20 | kable_input, |
| 21 | lightable_options = "basic", |
| 22 | html_font = "\\"Arial Narrow\\", \\"Source Sans Pro\\", sans-serif", |
| 23 | ... |
| 24 | ) |
Hao Zhu | d8a2e33 | 2020-08-11 01:26:32 -0400 | [diff] [blame] | 25 | |
Hao Zhu | 33b865f | 2020-08-18 02:10:43 -0400 | [diff] [blame] | 26 | kable_minimal( |
| 27 | kable_input, |
| 28 | lightable_options = "basic", |
Hao Zhu | 5fe235c | 2020-08-26 00:26:49 -0400 | [diff] [blame^] | 29 | html_font = "\\"Trebuchet MS\\", verdana, sans-serif", |
Hao Zhu | 33b865f | 2020-08-18 02:10:43 -0400 | [diff] [blame] | 30 | ... |
| 31 | ) |
Hao Zhu | ad4ea39 | 2020-08-10 01:24:50 -0400 | [diff] [blame] | 32 | |
Hao Zhu | 33b865f | 2020-08-18 02:10:43 -0400 | [diff] [blame] | 33 | kable_material( |
| 34 | kable_input, |
| 35 | lightable_options = "basic", |
| 36 | html_font = "\\"Source Sans Pro\\", helvetica, sans-serif", |
| 37 | ... |
| 38 | ) |
Hao Zhu | 9bf1998 | 2020-08-11 00:50:33 -0400 | [diff] [blame] | 39 | |
Hao Zhu | 33b865f | 2020-08-18 02:10:43 -0400 | [diff] [blame] | 40 | kable_material_dark( |
| 41 | kable_input, |
| 42 | lightable_options = "basic", |
| 43 | html_font = "\\"Source Sans Pro\\", helvetica, sans-serif", |
| 44 | ... |
| 45 | ) |
| 46 | |
| 47 | kable_paper( |
| 48 | kable_input, |
| 49 | lightable_options = "basic", |
| 50 | html_font = "\\"Arial Narrow\\", arial, helvetica, sans-serif", |
| 51 | ... |
| 52 | ) |
Hao Zhu | ad4ea39 | 2020-08-10 01:24:50 -0400 | [diff] [blame] | 53 | } |
| 54 | \arguments{ |
| 55 | \item{kable_input}{A HTML kable object.} |
| 56 | |
Hao Zhu | dcbdff6 | 2020-08-10 13:29:53 -0400 | [diff] [blame] | 57 | \item{lightable_options}{Options to customize lightable. Similar with |
| 58 | \code{bootstrap_options} in \code{kable_styling}. Choices include \code{basic}, \code{striped} |
| 59 | and \code{hover}.} |
Hao Zhu | ad4ea39 | 2020-08-10 01:24:50 -0400 | [diff] [blame] | 60 | |
Hao Zhu | f2f4202 | 2020-08-18 22:48:52 -0400 | [diff] [blame] | 61 | \item{html_font}{A string for HTML css font. For example, |
| 62 | \code{html_font = '"Arial Narrow", arial, helvetica, sans-serif'}.} |
| 63 | |
Hao Zhu | ad4ea39 | 2020-08-10 01:24:50 -0400 | [diff] [blame] | 64 | \item{...}{Everything else you need to specify in \code{kable_styling}.} |
| 65 | } |
| 66 | \description{ |
| 67 | kableExtra uses the built-in bootstrap themes by default in |
| 68 | \code{kable_styling()}. Alternatively, you can use a customized table themes for |
| 69 | your table. This \code{lightable} table style sheet comes with three formats, |
Hao Zhu | d8a2e33 | 2020-08-11 01:26:32 -0400 | [diff] [blame] | 70 | namely \code{lightable-minimal}, \code{lightable-classic}, \code{lightable-material} and |
| 71 | \code{lightable-material-dark} with \code{hover} and \code{striped} options. |
Hao Zhu | ad4ea39 | 2020-08-10 01:24:50 -0400 | [diff] [blame] | 72 | } |