blob: 793569b13b9bbf50e97b6172ccc99e10d318f205 [file] [log] [blame]
Hao Zhucc21dc72017-05-20 01:15:25 -04001% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/landscape.R
3\name{landscape}
4\alias{landscape}
5\title{Print the table on an isolated landscape page in PDF}
6\usage{
7landscape(kable_input, margin = NULL)
8}
9\arguments{
10\item{kable_input}{Output of `knitr::kable()` with `format` specified}
11
12\item{margin}{Customizable page margin for special needs. Values can be
13"1cm", "1in" or similar.}
14}
15\description{
Hao Zhu8f417202017-05-20 16:37:14 -040016This function will put the table on an single landscape page.
17It's useful for wide tables that cann't be printed on a portrait page.
Hao Zhucc21dc72017-05-20 01:15:25 -040018}
Hao Zhu78e61222017-05-24 20:53:35 -040019\examples{
20landscape(knitr::kable(head(mtcars), "latex"))
21
22}