qapaja icon indicating copy to clipboard operation
qapaja copied to clipboard

Text references

Open crsh opened this issue 3 years ago • 0 comments

The papaja R Markdown template makes use of bookdown's text-references. These can be useful to define figure and table captions/notes outside of code chunks (e.g., to insert inline code chunks, LaTeX code without escapes, or citations), to duplicate certain text portions (again this can be useful for redundant descriptions in figure captions or table notes), and to insert results into the abstract, as outlined here.

Some of this functionality may be replaced by Quarto variables.

Results can be inserted in the abstract by defining it towards the end of the document (see here) or by using knitr::load_cache(), but neither of these solutions is quite as nice as text-references.

crsh avatar Nov 22 '22 19:11 crsh