tikz
is a minor mode for creating TikZ diagrams with Emacs as an
alternative to QtikZ.
- You should have a running environment of LaTeX.
- You should install the Zathura viewer, or change the default configuration.
- Copy this file into your
init.el
or load it or useM-x package-install RET tikz
.
- Create a Tex file with your favourite preamble.
- Once you have fixed the preamble in your document, launch the TikZ mode.
M-x tikz-mode
- Now, when you are in idle time, the pdf will be refreshed automatically with the content of the current buffer.
- Every time you modify your preamble, you must turn off/on the TikZ mode.
On the left side, Emacs with a LaTeX buffer with minor mode TikZ. On the right side, Zathura shows the pdf.
- You can select another pdf viewer. Modify
tikz-viewer
with your chosen viewer. - You can modify the idle timer to update the pdf. Modify
tikz-resume-timer
.
- It copies the current TeX buffer into a temp file.
- Pre-compile the preamble.
- Pdftex the temp file.
- It uses Zathura to view the pdf.
- In idle time, copy the current buffer to the temp file and compile it. Zathura automatically refreshes the view.
- QtikZ
date | ver | Change |
---|---|---|
<2022-05-25 Wed> | 0.14 | Fixed compilation error |
<2021-09-22 Wed> | 0.13 | Enable preamble templates |
<2020-07-19 lun> | 0.12 | Time to launch Zathura |
<2020-07-08 lun> | 0.11 | Time to launch Zathura |
<2020-06-22 lun> | 0.1 |
Partially supported by PGC2018-098623-B-I00