Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- knit("code.Rnw","code.tex")
- documentclass[12pt,english,nohyper]{tufte-handout}
- usepackage{longtable}
- begin{document}
- <<echo=FALSE,results='asis'>>=
- library(xtable)
- @
- begin{tabular}{cc}
- hline
- & vals \
- hline
- a & 3.39 \
- b & 4.35 \
- c & 6.16 \
- d & 9.17 \
- e & 2.82 \
- hline
- end{tabular}
- quad % separates first and second table
- begin{tabular}{cc}
- hline
- & vals \
- hline
- a & 3.39 \
- b & 4.35 \
- c & 6.16 \
- d & 9.17 \
- e & 2.82 \
- hline
- end{tabular}
- end{document}
- documentclass[12pt,english,nohyper]{tufte-handout}
- usepackage{longtable}
- begin{document}
- <<echo=FALSE,results='asis'>>=
- library(xtable)
- @
- begin{longtable}{cc} % CHANGED FROM "TABULAR" TO "LONGTABLE"
- hline
- & vals \
- hline
- a & 3.39 \
- b & 4.35 \
- c & 6.16 \
- d & 9.17 \
- e & 2.82 \
- hline
- end{longtable} % CHANGED FROM "TABULAR" TO "LONGTABLE"
- quad % separates first and second table
- begin{longtable}{cc} % CHANGED FROM "TABULAR" TO "LONGTABLE"
- hline
- & vals \
- hline
- a & 3.39 \
- b & 4.35 \
- c & 6.16 \
- d & 9.17 \
- e & 2.82 \
- hline
- end{longtable} % CHANGED FROM "TABULAR" TO "LONGTABLE"
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement