Vim-tex: Difference between revisions

From miki
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:


...To be completed...
...To be completed...

== How-to ==
=== Compile with Xelatex ===
The simplest is to add the following lines at the beginning of the {{file|.tex}} file [https://tex.stackexchange.com/questions/392198/vimtex-and-xelatex]:
<source lang=latex>
% !TEX program = xelatex
</source>

Another option is to change <code>g:vimtex_compiler_latexmk</code> variable [https://tex.stackexchange.com/questions/392198/vimtex-and-xelatex].

Revision as of 14:41, 23 October 2020

We follow setup from Gilles Castel:

  • Plugin VimTex.
  • Plugin UltiSnips.
  • Some extra mappings.

References

Also on Hacker News.

...To be completed...

How-to

Compile with Xelatex

The simplest is to add the following lines at the beginning of the .tex file [1]:

% !TEX program = xelatex

Another option is to change g:vimtex_compiler_latexmk variable [2].