Centering | R Documentation |
This function adds the "\centering" command to the caption of a LaTeX table, allowing the caption to be centered in the final output.
Centering(x)
x |
LaTeX-formatted table with a caption. |
LaTeX-formatted table with a centered caption.
latex_table <- "\\begin{table}\\caption{This is a caption.}\\end{table}"
centered_table <- Centering(latex_table)
print(centered_table)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.