blob: 55adc0afccdde3e9f4f5e42b991e4557075b487e [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 Zhu9410a272020-08-03 01:11:47 -04007linebreak(x, align = c("l", "c", "r"), double_escape = F, linebreaker = "\\n")
Hao Zhu248bbef2018-04-02 18:25:14 -04008}
Hao Zhu5e4dd502018-04-05 12:01:58 -04009\arguments{
10\item{x}{A character vector}
11
12\item{align}{Choose from "l", "c" or "r"}
13
14\item{double_escape}{Whether special character should be double escaped.
15Default is FALSE.}
Hao Zhu7ba755d2018-09-15 21:21:43 -040016
Hao Zhu9410a272020-08-03 01:11:47 -040017\item{linebreaker}{Symbol for linebreaks to replace. Default is \verb{\\\\n}.}
Hao Zhu5e4dd502018-04-05 12:01:58 -040018}
Hao Zhu248bbef2018-04-02 18:25:14 -040019\description{
Hao Zhu5e4dd502018-04-05 12:01:58 -040020This function generate LaTeX code of \code{makecell} so that users
21can have linebreaks in their table
Hao Zhu248bbef2018-04-02 18:25:14 -040022}