1
vote
Accepted
Adding tikz image to Quarto with cross-reference
For figure cross-reference to work from a code chunk, you need to provide two things, (i) label and (ii) fig-cap.
The label is your cross reference identifier and for figure it must be prefixed by fig-...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tikz × 470latex × 327
r × 66
pgf × 36
knitr × 29
r-markdown × 24
pdflatex × 24
python × 22
pgfplots × 20
plot × 19
tex × 17
matplotlib × 15
gnuplot × 15
ggplot2 × 14
beamer × 13
tikzdevice × 12
overleaf × 11
diagram × 9
svg × 8
graph × 8
xelatex × 8
r-exams × 8
matlab × 7
rstudio × 6
drawing × 6