Closed zavud closed 2 years ago
Yup -- just use the chunk option fig.scap
for the alternative caption that you want shown in the list of figures.
This is documented here: https://ulyngs.github.io/oxforddown/customisations-and-extensions.html?q=caption#shorten-captions-shown-in-the-list-of-figures-pdf
I add a title and text explaining the figure when I add a figure to a pdf output.
For example, when I do:
The whole sentence will go to the list of figures section. This is a dummy example and I have much longer texts that I have to write in the
fig.cap=""
. Is there a way to fix this? :)