linebreak: Make linebreak in LaTeX Table cells

View source: R/linebreak.R

linebreakR Documentation

Make linebreak in LaTeX Table cells

Description

This function generates LaTeX code of makecell so that users can have linebreaks in their table

Usage

linebreak(x, align = c("l", "c", "r"), double_escape = F, linebreaker = "\n")

Arguments

x

A character vector

align

Choose from "l", "c" or "r". Defaults to "l".

double_escape

Whether special character should be double escaped. Default is FALSE.

linebreaker

Symbol for linebreaks to replace. Default is ⁠\n⁠.


haozhu233/kableExtra documentation built on April 13, 2024, 6:49 p.m.