Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text references #6

Open
Tracked by #3
crsh opened this issue Nov 22, 2022 · 0 comments
Open
Tracked by #3

Text references #6

crsh opened this issue Nov 22, 2022 · 0 comments

Comments

@crsh
Copy link
Owner

crsh commented Nov 22, 2022

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 crsh mentioned this issue Nov 22, 2022
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant