With the Vim-LATEX plugin, it's possible to edit LATEX equations with Vim quickly without making syntax errors. (e.g. undefined control sequence caused by mismatched braces '{}')
For the sample files, please click the above "Youtube" button. Why use Vim? Please refer to my post on Vim.
For a quick startup guide, see the official tutorial. If you've learnt those keyboard mappings, here's a quick review of some commands. For detailed list of all keyboard shortcuts and customizations (e.g. custom compile rule: use pdflatex
instead of latex
and dvipdfm
), you can refer to the user manual.
There're many blog entries about how to install LATEX on Vim/GVim on UNIX/Linux and M$. Searching "vim latex" gives you millions of search results. Summarizing the articles, the three major components are:
- Editor
- Vim (found on almost every distribution of *nix)
- GVim (on GUI of any platform)
- LATEX
- TEXLive (found in package manager on *nix)
- MikTEX (have a LATEX package manager)
- Vim plugin for writing LATEX: Latex-Suite
For *nix, you may find some GUI tools for installing packages. (especially in some popular distributions)


You can also type the install commands for these packages on the terminal. For example:
-
Ubuntu
# Also include `vim-gnome' if you'd like to install GVim. $ sudo apt get install vim-gnome vim-latexsuite texlive
-
Fedora
# Also include `vim-X11' if you'd like to install GVim. [root@localhost]# yum install vim-latex latex
For M$, the installation procedures for GVim (portable), Vim-LATEX and MikTEX (portable) are as followed:
- Go to the official websites of GVim and MikTEX (or equivalent packages) and download the packages.
- Put MikTEX portable and GVim portable to any folder you like
- e.g.
C:\Temp
- DON'T put them under
C:\Program Files
- e.g.
- Download Vim-LATEX from SourceForge
- Follow the steps here
No comments:
Post a Comment