Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peng1999/tikzmk
A tool to make graphics from tikz snippet
https://github.com/peng1999/tikzmk
latex previewer tikz
Last synced: about 1 month ago
JSON representation
A tool to make graphics from tikz snippet
- Host: GitHub
- URL: https://github.com/peng1999/tikzmk
- Owner: peng1999
- License: gpl-3.0
- Created: 2019-12-31T04:18:12.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-19T05:14:26.000Z (about 1 year ago)
- Last Synced: 2024-11-10T02:58:09.961Z (3 months ago)
- Topics: latex, previewer, tikz
- Language: Rust
- Size: 43 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tikzmk
## Installation
```console
$ cargo install --git https://github.com/peng1999/tikzmk.git
```## Usage
This tool is intended to work with Ti*k*Z snippet that can be `\input`ed in a LaTeX file.
You can use your favorite editor, for example Vim, to edit `tikz` file, and set `'makeprg'` option:```vim
set makeprg=tikzmk\ %\ -x
```And then `:mak --open` to compile and open a default PDF viewer showing the produced picture. Every time a change is made, a `:mak` command will update the picture.
If any Ti*k*Z library or LaTeX package should be used, declare it at the begining of the Ti*k*Z file:
```tex
%% tikzlibrary:calc,positioning package:tikzcd
%% package:ctex
```Note that the space after `%%` is mandatory.