-
-
Notifications
You must be signed in to change notification settings - Fork 89
Preview
TeXiFy can show a unicode preview of some math characters like greek letters. You can trigger this with your cursor on a math command and clicking Code › Folding › Collapse or using Ctrl+NumPad -. Clicking on it will expand it again. TeXiFy shows these previews automatically when a project is opened.
You can use the Equation Preview by making sure your cursor is in a math environment and clicking Tools › LaTeX › Preview Equation, or using Ctrl+Shift+X. It works by putting your equation in a new temporary (fairly minimal) document and compiling that, so custom commands and packages from your document will not be taken into account, but it ensures the preview is really fast.
The current implementation of the Equation Preview was contributed by Sergei Izmailov and requires external dependencies, for which installation instructions follow.
-
Install Inkscape from inkscape.org/release.
-
Install the
pdf2svg
package for your distro, for example on Ubuntu withsudo apt-get install pdf2svg
or on Arch Linux withsudo pacman -S pdf2svg
.
-
Install Inkscape from inkscape.org/release, suppose you install it in
C:\Program Files\Inkscape
. -
Install pdf2svg from github.com/textext/pdf2svg/releases, suppose you install it in
C:\Program Files\pdf2svg
. -
Add both
C:\Program Files\Inkscape
andC:\Program Files\pdf2svg
to your PATH environment variable, for example by searching for Environment Variables on your computer, clicking 'Edit the system environment variables', clicking 'Environment Variables', and under System variables find the one named Path, edit it and insert the paths here. Make sure the paths are separated by a;
if using Windows 8 or lower. -
Reboot your system.
This documentation has moved to https://hannah-sten.github.io/TeXiFy-IDEA