Advertisement
Guest User

Org-mode beamer test file

a guest
Mar 17th, 2013
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. #+latex_class: beamer
  2. #+latex_class_options: [presentation,bigger]
  3. #+beamer_theme: Montpellier
  4. #+options: H:1
  5.  
  6. * Heading 1
  7.  
  8. Here's a simple sentence that's long enough to at least run on to a few lines. That is if
  9. we copy it a few times. Here's a simple sentence that's long enough to at least run on to a few lines. That is if
  10. we copy it a few times. Here's a simple sentence that's long enough to at least run on to a few lines. That is if
  11. we copy it a few times. Here's a simple sentence that's long enough to at least run on to a few lines. That is if
  12. we copy it a few times.
  13.  
  14. * Heading 2
  15.  
  16. Let's try the table function:
  17.  
  18. #+attr_latex: :align lp{4cm}
  19. | Column 1 | Column 2 |
  20. |------------+---------------------------------------------------------------------------------|
  21. | Stuff | More stuff |
  22. | Column | A long sentence to see if my latex column width option is going to work, or not |
  23.  
  24. * Heading 3
  25.  
  26. Here's two images
  27.  
  28. #+attr_html: :options width="200px"
  29. #+attr_latex: :width 5cm
  30. [[~/Desktop/tux.jpg]]
  31.  
  32. * Heading 4
  33.  
  34. Some babel stuff
  35.  
  36. #+name: r-test-block
  37. #+header: :file ./plot.png :width 800 :height 600
  38. #+begin_src R :session r-session :results output graphics :exports results :eval no
  39.  
  40. x <- 1:10
  41. y <- x**2
  42.  
  43. plot(x,y)
  44.  
  45. #+end_src
  46.  
  47. #+begin_center
  48. #+attr_html: :options width="400px"
  49. #+attr_latex: :height 6cm
  50. #+RESULTS: r-test-block
  51. [[file:./plot.png]]
  52. #+end_center
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement