Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[man, floatsintext]{apa}
- % Doesn't work.
- %documentclass[jou, floatsintext]{apa}
- % Works
- %documentclass{article}
- %Works
- begin{document}
- Test
- <<testChunk, echo=FALSE, fig.cap="DEMO">>=
- library(knitr)
- x <- c(1, 2, 3, 4, 5)
- y <- c(1, 2, 3, 4, 5)
- test.df <- as.data.frame(cbind(x, y))
- library(ggplot2)
- ggplot(test.df, aes(x=x, y=y))+geom_line()
- @
- The reference should appear here: Figure ref{fig:testChunk}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement