wrap_in_latex_env: Wrap character vector in latex environment

Description Usage Arguments Value Functions

View source: R/markup2vector.R

Description

These are helper functions to apply latex environments.

Usage

1
2
3
4
5
wrap_in_latex_env(tex, env = NULL)

wrap_in_latex_fontsize(tex, fontsize_local = NULL)

wrap_in_latex_alignment(tex, alignment = "justified")

Arguments

tex

[character()] giving some character vector.

env

[character(1)] giving a latex environment, defaults to NULL for no latex environment.

fontsize_local

[character(1)] giving a valid LaTeX font size.

Must be one of:

  • NULL in which case the default local fontsize is used (default)

  • 'tiny'

  • 'scriptsize'

  • 'footnotesize'

  • 'small'

  • 'normalsize'

  • 'large'

  • 'Large'

  • 'LARGE'

  • 'huge' or

  • 'Huge'

alignment

[character(1)] giving the alignment of the text.

Must be one of:

  • 'justified' (default)

  • 'left'

  • 'right' or

  • 'center'

Value

[character()] a character vector of valid latex

Functions


maxheld83/pensieveR documentation built on Jan. 21, 2020, 9:15 a.m.