Learn R Programming

huxtable (version 5.5.7)

latex_float: Set the position of the table float in LaTeX

Description

Possible values include:

  • "h": here

  • "h!" definitely here

  • "t" top of page

  • "ht" here or at top of page

  • "b" bottom of page

  • "p" page of floats

Usage

latex_float(ht)
latex_float(ht) <- value
set_latex_float(ht, value)

Value

latex_float() returns the latex_float property. set_latex_float() returns the modified huxtable.

Arguments

ht

A huxtable.

value

A string. Set to NA to reset to the default, which is "ht".

Details

See LaTeX documentation for more details.

Examples

Run this code

latex_float(jams) <-  "b"
latex_float(jams)

Run the code above in your browser using DataLab