Description Details Value See Also
Imported from prettypublisher.
As a wrapper for the captioner
function pretty_captioner
intialises a
captioner
function in the global enviroment. This is then used by pretty_captioner
to return a character string containing the prefix, sec_prefix, and object number with or without a caption.
The initial numbering is determined based on the order of caption creation. However, this order is modified based on the citations you use.
The first object to be cited will be moved to the beginning of the list, becoming object 1. Changing captioner parameters (prefix, sec_prefix,
auto_space, levels, type, and infix) requires the captioner function to be reinitialised by setting reinit to TRUE. The captioner function
can also be initialised without reference to an object by not supplying a label or caption argument.
For more details see captioner
.
A character string containing the table/figure number, and optionally the caption.
prettypublisher
has a group of related functions which use various defaults: pretty_captioner
,
pretty_figref
, pretty_supfigref
, pretty_tabref
,
and pretty_suptabref
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.