blob: 01ab847bb83686d374aa9eccce664bd3b2fbdef6 [file] [log] [blame]
Hao Zhu248bbef2018-04-02 18:25:14 -04001% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/linebreak.R
3\name{linebreak}
4\alias{linebreak}
5\title{Make linebreak in LaTeX Table cells}
6\usage{
Hao Zhu7ba755d2018-09-15 21:21:43 -04007linebreak(x, align = c("l", "c", "r"), double_escape = F,
8 linebreaker = "\\n")
Hao Zhu248bbef2018-04-02 18:25:14 -04009}
Hao Zhu5e4dd502018-04-05 12:01:58 -040010\arguments{
11\item{x}{A character vector}
12
13\item{align}{Choose from "l", "c" or "r"}
14
15\item{double_escape}{Whether special character should be double escaped.
16Default is FALSE.}
Hao Zhu7ba755d2018-09-15 21:21:43 -040017
Hao Zhub548aac2018-09-18 13:29:01 -040018\item{linebreaker}{Symbol for linebreaks to replace. Default is \code{\\n}.}
Hao Zhu5e4dd502018-04-05 12:01:58 -040019}
Hao Zhu248bbef2018-04-02 18:25:14 -040020\description{
Hao Zhu5e4dd502018-04-05 12:01:58 -040021This function generate LaTeX code of \code{makecell} so that users
22can have linebreaks in their table
Hao Zhu248bbef2018-04-02 18:25:14 -040023}