Internal, called by `plot_timeline`.

make_labs(description, description_width, ref_number)

Arguments

description

The text for the items to be shown beneath the images. Should be a character vector of the same length as `image_path`.

description_width

Width of the description text in characters to wrap the text in the labels.

ref_number

A string of the number for reference. If NA, then the reference will not be included in the plot.

Value

A character vector of plotmath, to enable superscripts, italics, and text wrapping.