From c382847d3045aea42793c3be54f21b743d9b8249 Mon Sep 17 00:00:00 2001 From: Fabrice Niessen <(concat "fniessen" at-sign "pirilampo.org")> Date: Fri, 24 Apr 2015 16:19:16 +0200 Subject: [PATCH] Update example with our own class name --- README.html | 7 +++---- README.org | 16 ++++++++++++---- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/README.html b/README.html index c55079b..54be66c 100755 --- a/README.html +++ b/README.html @@ -2172,10 +2172,9 @@ See equation pythag.

You can create named classes (to get style control from your CSS) with:

-#+begin_note
-*Note example* \\
-Did you know...
-#+end_note
+#+begin_myclass
+This text is wrapped in a myclass DIV...
+#+end_myclass
 

You can also add interactive elements to the HTML such as interactive R plots.

Finally, you can include an HTML file verbatim (during export) with:

diff --git a/README.org b/README.org index 6ea8701..289202f 100755 --- a/README.org +++ b/README.org @@ -1278,10 +1278,9 @@ Similarly, you can incorporate JS or do anything else you can do in a Web page You can create named classes (to get style control from your CSS) with: #+begin_example -,#+begin_note -,*Note example* \\ -Did you know... -,#+end_note +,#+begin_myclass +This text is wrapped in a myclass DIV... +,#+end_myclass #+end_example You can also add interactive elements to the HTML such as interactive R plots. @@ -1457,6 +1456,15 @@ The resulting chart: #+results: R-plot [[file:images/Rplot.png]] +** COMMENT ggplot2 + +#+begin_src R :results output graphics :file foo.png :session *foo* + library(ggplot2) + ggplot(data.frame(x = rnorm(10), y = rnorm(10)), + aes(x = x, y = y)) + + geom_point() +#+end_src + * Citations Cross-referenced to bibliography.