as_latex {emphatic}R Documentation

Render an emphatic object to Latex

Description

Render an emphatic object to Latex

Usage

as_latex(x, ..., font_size = NULL)

Arguments

x

emphatic object

...

other arguments passed to as.character.emphatic()

font_size

Integer value indicating font size measured in points. Default: NULL.

Value

single character string containing a latex representation

Examples

hl_diff("hello", "there") |>
  as_latex() |>
  cat()

[Package emphatic version 0.1.8 Index]