Update example with our own class name

pull/2/head
Fabrice Niessen 2015-04-24 16:19:16 +02:00
parent d76dd4b558
commit c382847d30
2 changed files with 15 additions and 8 deletions

View File

@ -2172,10 +2172,9 @@ See equation <span class="org-org-link"><a href="pythag">pythag</a></span>.
<div class="outline-text-4" id="text-orgheadline124">
<p>You can create named classes (to get style control from your CSS) with:</p>
<pre class="example">
#+begin_note
*Note example* \\
Did you know...
#+end_note
#+begin_myclass
This text is wrapped in a myclass DIV...
#+end_myclass
</pre>
<p>You can also add interactive elements to the HTML such as interactive R plots.</p>
<p>Finally, you can include an HTML file verbatim (during export) with:</p>

View File

@ -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.