I am looking for a way to caption my figures without numbering them (like \caption*{}
). I am not sure how to do this in knitr
.
The following example shows my first attempt:
<<label, include=TRUE, fig.pos='htb', fig.align='center',
fig.cap='nice figure', fig.width=6, fig.height=3, tidy=TRUE>>=
plot(1:10, 1:10)
@
Thanks!