Hao Zhu | 2a64dc6 | 2017-08-28 10:57:57 -0400 | [diff] [blame] | 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/kable_as_image.R |
| 3 | \name{kable_as_image} |
| 4 | \alias{kable_as_image} |
Hao Zhu | 8902df8 | 2019-01-07 16:27:32 -0500 | [diff] [blame] | 5 | \title{Deprecated} |
Hao Zhu | 2a64dc6 | 2017-08-28 10:57:57 -0400 | [diff] [blame] | 6 | \usage{ |
Hao Zhu | 9410a27 | 2020-08-03 01:11:47 -0400 | [diff] [blame] | 7 | kable_as_image( |
| 8 | kable_input, |
| 9 | filename = NULL, |
| 10 | file_format = "png", |
| 11 | latex_header_includes = NULL, |
| 12 | keep_pdf = FALSE, |
| 13 | density = 300, |
| 14 | keep_tex = FALSE |
| 15 | ) |
Hao Zhu | 2a64dc6 | 2017-08-28 10:57:57 -0400 | [diff] [blame] | 16 | } |
| 17 | \arguments{ |
| 18 | \item{kable_input}{Raw LaTeX code to generate a table. It doesn't have to |
| 19 | came from \code{kable} or \code{kableExtra}.} |
| 20 | |
| 21 | \item{filename}{Character String. If specified, the image will be saved under |
| 22 | the specified (path &) name. You don't need to put file format like ".png" |
| 23 | here.} |
| 24 | |
| 25 | \item{file_format}{Character String to specify image format, such as \code{png}, |
| 26 | \code{jpeg}, \code{gif}, \code{tiff}, etc. Default is \code{png}.} |
| 27 | |
| 28 | \item{latex_header_includes}{A character vector of extra LaTeX header stuff. |
| 29 | Each element is a row. You can have things like |
Hao Zhu | 9410a27 | 2020-08-03 01:11:47 -0400 | [diff] [blame] | 30 | \code{c("\\\\\\\\usepackage{threeparttable}", "\\\\\\\\usepackage{icons}")} You could |
antaldaniel | bfaf703 | 2018-05-30 21:55:18 +0200 | [diff] [blame] | 31 | probably add your language package here if you use non-English text in your |
Hao Zhu | 9410a27 | 2020-08-03 01:11:47 -0400 | [diff] [blame] | 32 | table, such as \verb{\\\\\\\\usepackage[magyar]\{babel\}}.} |
Hao Zhu | 2a64dc6 | 2017-08-28 10:57:57 -0400 | [diff] [blame] | 33 | |
| 34 | \item{keep_pdf}{A T/F option to control if the mid-way standalone pdf should |
| 35 | be kept. Default is \code{FALSE}.} |
Hao Zhu | 4840bc9 | 2017-09-15 15:55:05 -0400 | [diff] [blame] | 36 | |
| 37 | \item{density}{Resolution to read the PDF file. Default value is 300, which |
| 38 | should be sufficient in most cases.} |
Hao Zhu | 68b5bbf | 2018-03-26 11:30:34 -0400 | [diff] [blame] | 39 | |
| 40 | \item{keep_tex}{A T/F option to control if the latex file that is initially created |
| 41 | should be kept. Default is \code{FALSE}.} |
Hao Zhu | 2a64dc6 | 2017-08-28 10:57:57 -0400 | [diff] [blame] | 42 | } |
| 43 | \description{ |
Hao Zhu | 8902df8 | 2019-01-07 16:27:32 -0500 | [diff] [blame] | 44 | deprecated |
Hao Zhu | 2a64dc6 | 2017-08-28 10:57:57 -0400 | [diff] [blame] | 45 | } |