TeXPreview
Sumlime Text plugin for preview TeX(LaTeX) equations
Details
Installs
- Total 3K
- Win 1K
- Mac 642
- Linux 594
Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
TeXPreview
Sumlime Text plugin for preview TeX(LaTeX) equations or some blocks.
This is a simple plugin that can help you to preview your TeX (or LaTeX) equations or a block in your file(beta).
This plugin can do:
- View an equation in an external program (you can change it using Preferences -> Package Settings -> TexPreview
menu) or in Sublime build window
- Monitor for changing an equation while you are writing it (unfortunately Windows doesn't support it with external programs)
- View a string or content in a block: \begin{...} ... \end{...}
View in Sublime work only if you have ImageMagick on your computer.
To view an equation you should set the cursor in TeX equation code and run “latex_preview” command. To view a current latex content (string or block) you should run “latex_block_preview” command.
This plugin have been tested and works on Windows, Linux and macOS.
TeXPreview commands
To run and stop TeXPreview plugin you should use the following shortcut
[
{
"keys": ["ctrl+l"],
"command": "latex_preview"
},
{
"keys": ["ctrl+t"],
"command": "latex_block_preview"
},
{
"keys": ["ctrl+shift+l"],
"command": "latex_stop_preview"
}
]
You can change it using Preferences -> Package Settings -> TexPreview
menu.
TeXPreview options
Examples for TeXPreview options for Linux platform: - “latex_path” - path to your pdf latex compiler
"latex_path": ":/usr/local/bin" - path to pdf_latex_compiler and convert application
- “pdf_latex_compiler” - pdf latex compiler
"pdf_latex_compiler": "pdflatex"
- “pdf_open_app” - external program for opening result .pdf file with an equation
"pdf_open_app": "okular"
- “always_load_preamble” [true, false] - option to load your .tex file preamble every time when you build your equation via pdflatex compiler
"always_load_preamble": false
- “load_preamble_after_error” [true, false] - option to load preamble if .pdf file isn't exist
"load_preamble_after_error": true
- “default_preamble” - preamble that will add in a temporary tex file
"default_preamble": "\\newcommand{\\Al}{{\\alpha}}"
- “auto_reload” [“application_reload”, “file_reload”, false, true] - variants to use the plugin. “application_reload” variant will reopen an external application (works in every OS, but it takes a lot of time) on every changing of an equation, “file_reload” (or true) variant only replace .pdf file (works excelent on OS X (with default Skim.app) and Linux (with default Okular)) on every changing of an equation, false variant only compile and open .pdf file.
"auto_reload": "file_reload"
- “external_view” - preview in external application (true) or in Sublime (false)
"external_view": "false"