Description Usage Arguments Details Author(s) Examples
Produce code for lists in LaTeX documents
1 2 3 |
item |
A vector with the items to be placed in the list |
ordered |
Denotes if the list is ordered or bulleted |
counter |
For future inclusion. Specifies what counter should be used for numbering. Currently not in use |
counterSet |
The value to which |
title |
A title for the list |
style |
A character string denoting how the ordered list
should be numbered. Options are |
symbol |
A symbol for bulleted lists to be used as the bullet |
font |
Font to be used in HTML documents. Defaults to the font set in the options |
family |
Font family to be used in HTML documents. Defaults to the font family in the options |
size |
Font size to be used in HTML documents. Defaults to the font family in the options |
With style
, the options produce the following and
apply to both LaTeX and HTML:
arabic | Arabic numbers |
roman | Lower case roman numerals (i, ii, iii, ...) |
Roman | Upper case roman numerals (I, II, III, ...) |
alph | Lower case alphabetic ordering (a, b, c, ...) |
Alph | Upper case alphabetic ordering (A, B, C, ...) |
The given options for symbol
follow the HTML conventions,
but when options("lazyReportFormat")
is "latex"
,
these options are translated into the appropriate equivalent.
Benjamin Nutter
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
lazy.write(
lazy.file.start(),
lazy.text("A vector can be presented as a list as follows"),
lazy.list(c("First item", "Second item", "Third item",
"Fourth item", "Fifth item"), style="Alph"),
lazy.file.end(),
OutFile="Example 1.tex")
unlink("Example 1.tex")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.