blob: c19de6c5af1db21aa6f751f7ae145369f765a3ee [file] [log] [blame]
Hao Zhue10cfd32017-02-21 16:41:14 -05001% Generated by roxygen2: do not edit by hand
Hao Zhuc1f38412017-02-23 12:13:48 -05002% Please edit documentation in R/kable_styling.R
3\name{kable_styling}
4\alias{kable_styling}
Hao Zhue10cfd32017-02-21 16:41:14 -05005\title{HTML table attributes}
6\usage{
Hao Zhuc1f38412017-02-23 12:13:48 -05007kable_styling(kable_input, bootstrap_options = "basic", full_width = T,
8 float = c("center", "left", "right"), font_size = NULL,
9 latex_hold_position = F, latex_scale_down = F)
Hao Zhue10cfd32017-02-21 16:41:14 -050010}
11\arguments{
Hao Zhu94956582017-02-21 18:18:29 -050012\item{bootstrap_options}{A character vector for bootstrap table options. For
13detailed information, please check the package vignette or visit the
Hao Zhu59f5fe02017-02-22 11:27:14 -050014w3schools' \href{https://www.w3schools.com/bootstrap/bootstrap_tables.asp}{Bootstrap Page}
Hao Zhu26234122017-02-22 15:34:33 -050015. Possible options include "basic", "striped", "bordered", "hover",
Hao Zhu94956582017-02-21 18:18:29 -050016"condensed" and "responsive".}
Hao Zhue10cfd32017-02-21 16:41:14 -050017
Hao Zhu26234122017-02-22 15:34:33 -050018\item{full_width}{A `TRUE` or `FALSE` variable controlling whether the HTML
Hao Zhu94956582017-02-21 18:18:29 -050019table should have 100\% width.}
20
21\item{float}{A character string determining whether and how the HTML table
Hao Zhu26234122017-02-22 15:34:33 -050022should float on the page. Values could be "left", "center", "right"}
Hao Zhu94956582017-02-21 18:18:29 -050023
24\item{font_size}{A numeric input for table font size}
Hao Zhue10cfd32017-02-21 16:41:14 -050025}
26\description{
Hao Zhu26234122017-02-22 15:34:33 -050027This function provides a cleaner approach to modify the style
28of HTML tables other than using the `table.attr` option in `knitr::kable()`.
29Currenly, it assumes the HTML document has boot
Hao Zhue10cfd32017-02-21 16:41:14 -050030}