blob: 5330f9749a80e931e611c44755b5946bb688a40e [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 Zhua3fc0c42017-02-27 12:04:59 -05007kable_styling(kable_input, bootstrap_options = "basic",
8 latex_options = "basic", full_width = NULL, position = c("center",
9 "left", "right", "float_left", "float_right"), font_size = NULL)
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
Hao Zhua3fc0c42017-02-27 12:04:59 -050021\item{position}{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}