1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-30 08:08:26 +00:00

adding some basic arithmetic to the library of babel

This commit is contained in:
Eric Schulte 2011-06-25 15:11:08 -07:00
parent 328202cf62
commit 90512366cd

View File

@ -331,6 +331,27 @@ a
a + b
#+end_src
** Arithmetic
#+source: lob-add
#+begin_src emacs-lisp :var a=0 :var b=0
(+ a b)
#+end_src
#+source: lob-minus
#+begin_src emacs-lisp :var a=0 :var b=0
(- a b)
#+end_src
#+source: lob-times
#+begin_src emacs-lisp :var a=0 :var b=0
(* a b)
#+end_src
#+source: lob-div
#+begin_src emacs-lisp :var a=0 :var b=0
(/ a b)
#+end_src
* GANTT Charts
The =elispgantt= source block was sent to the mailing list by Eric