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:
parent
328202cf62
commit
90512366cd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user