R: Float position for LaTeX

latex_float {huxtable} | R Documentation

## 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` for the default, 'h'.

### 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 `float` package.

### Value

For `latex_float`, the `latex_float` attribute. For `set_latex_float`, the `ht` object.

### Examples

    ht <- huxtable(a = 1:3, b = 1:3)
    latex_float(ht) <-  'tab:mytable'
    latex_float(ht)

[Package huxtable version 3.0.0 Index]