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` to reset to the default, which is `"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 TeX `float` package.

### Value

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

### Examples

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

[Package huxtable version 4.2.0 Index]