Learn R Programming

huxtable (version 5.7.0)

print_typst: Create Typst markup representing a huxtable

Description

These functions print or return a Typst table.

Usage

print_typst(ht, ...)

to_typst(ht, ...)

Value

to_typst returns a Typst string. print_typst prints the string and returns NULL.

Arguments

ht

A huxtable.

...

Arguments passed to methods. Not currently used.

See Also

Other printing functions: print_html(), print_latex(), print_md(), print_rtf(), print_screen()

Examples

Run this code
ht <- huxtable(a = 1:3, b = letters[1:3])
to_typst(ht)

Run the code above in your browser using DataLab