Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guanyilun/org-elp
Preview equations live in org-mode
https://github.com/guanyilun/org-elp
emacs latex
Last synced: about 2 months ago
JSON representation
Preview equations live in org-mode
- Host: GitHub
- URL: https://github.com/guanyilun/org-elp
- Owner: guanyilun
- License: gpl-3.0
- Created: 2019-09-29T16:20:11.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-29T15:35:24.000Z (over 3 years ago)
- Last Synced: 2023-03-04T19:19:15.032Z (almost 2 years ago)
- Topics: emacs, latex
- Language: Emacs Lisp
- Homepage:
- Size: 1.3 MB
- Stars: 41
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: readme.org
- License: LICENSE
Awesome Lists containing this project
README
* org-elp
[[https://melpa.org/#/org-elp][file:https://melpa.org/packages/org-elp-badge.svg]]Short for: Org Equation Live Preview. It allows previewing the latex
fragment while typing. How it works is that it will generate a split
window and update the preview while typing.* Installation
=org-elp= is now on melpa. Install simply by =M-x package-install org-elp=.* Usage
Load it with
#+begin_src elisp
(require 'org-elp)
#+end_src
To set the fraction of the window taken up by the previewing buffer
#+begin_src elisp
(setq org-elp-split-fraction 0.2)
#+end_src
To adjust buffer name
#+begin_src elisp
(setq org-elp-buffer-name "*Equation Live*")
#+end_src
To adjust idle time to run latex preview
#+begin_src elisp
(setq org-elp-idle-time 0.5)
#+end_src
These configurations can also be found in =M-x customize-group org-elp=.An example configuration with =use-package=,
#+begin_src elisp
(use-package org-elp
:config
(setq org-elp-idle-time 0.5
org-elp-split-fraction 0.25))
#+end_srcTo Launch previewing, use =M-x org-elp-mode=, running the same command
again will deactivate it.* Screenshots
Preview equations in org mode while editing. (Note that I used =M-x
org-elp= in the screenshot. It has been changed to =M-x org-elp-mode=
in the latest version.)[[https://github.com/guanyilun/org-elp/raw/master/data/org-elp-demo.gif]]