Search code examples
intellij-idealatex

Preview Latex files IntelliJ (Idea, PyCharm..)


How to preview latex (.tex) files in IntelliJ like at https://www.sharelatex.com/ ?


Solution

  • You can try the TeXiFy plugin. The full instructions to compile .tex (LaTeX) files are in the GitHub readme.

    A very short summary of those instructions in the case you know what you're doing:

    1. Install a LaTeX distribution and IntelliJ, then install the TeXiFy plugin and restart IntelliJ.
    2. You can compile .tex files using the button which appears next to the \begin{document} line.

    [Edit] Automatic compilation is also supported: https://github.com/Hannah-Sten/TeXiFy-IDEA/wiki/Automatic-compilation