huxtable (version 4.6.0)

latex_float: Float position for LaTeX

Description

Functions to get or set the table-level float position for latex property of a huxtable.

Usage

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

Arguments

ht

A huxtable.

value

A length-one character vector, used by LaTeX for positioning the float. Set to NA to reset to the default, which is "h".

Value

For latex_float, the latex_float property. For set_latex_float, the modified huxtable.

Details

Quick reference: "h" here, "h!" definitely here, "t" top of page, "b" bottom of page, "p" page of floats. See LaTeX documentation for more details. If you use "H" (definitely here), you must require the TeX float package.

Examples

Run this code
# NOT RUN {
latex_float(jams) <-  "h"
latex_float(jams)

# }

Run the code above in your browser using DataCamp Workspace