latex_minipage | R Documentation |
Generate a LaTeX minipage environment
latex_minipage(
x,
width = NULL,
position = NULL,
height = NULL,
inner_position = NULL
)
x |
The text to go within the minipage. See Details. |
width |
The width of the minipage ("\columnwidth" is a useful choice.) |
position |
The position of the minipage with respect to the line where it appears. |
height |
(optional) the height of the minipage |
inner_position |
The position of the contents within the minipage (only
available if |
If x
is a character vector, all text will be inserted as
separate paragraphs (with an empty line between). If x
is a list of
character vectors, then multiple minipages will be generated (via sapply).
The latter is useful for building tables of minipages, for instance.
Either a character scalar (if x
is character input) or a
character vector (if x
is a list of character vectors).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.