How to properly cite a figure in Quarto? #7250
Unanswered
MohamedaliS
asked this question in
Q&A
Replies: 1 comment 3 replies
-
The following works for HTML but not for LaTeX ---
format:
pdf: default
html: default
execute:
echo: false
---
::: {layout-ncol="2" layout-valign="bottom"}
```{r}
#| label: fig-example
#| fig-cap: Figure caption
plot(cars)
```
```{r}
#| label: tbl-example
#| tbl-cap: Table caption
knitr::kable(head(cars))
```
::: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Apologies in advance if these are silly questions. I am new to Quarto and using it to compile a teaching material. I need some guidance with,
(1) Including citation for figures.
For example: If we use
the citation also appears in the list of figures at the book index. How to avoid it. I need only the name of the figure and not the citation in the "List of Figures"

(2) The second issue is the same as "https://stackoverflow.com/questions/72799825/side-by-side-caption-positions-of-figure-and-table". Using the codes chunk makes an additional caption. Looking for a solution to include a plot and table in a single chunk.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions