mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-30 02:30:03 +00:00
adding some basic arithmetic to the library of babel
This commit is contained in:
parent
328202cf62
commit
90512366cd
|
@ -331,6 +331,27 @@ a
|
||||||
a + b
|
a + b
|
||||||
#+end_src
|
#+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
|
* GANTT Charts
|
||||||
|
|
||||||
The =elispgantt= source block was sent to the mailing list by Eric
|
The =elispgantt= source block was sent to the mailing list by Eric
|
||||||
|
|
Loading…
Reference in a new issue