Ⅰ. 插件描述
A rich set of tools for editing LaTeXⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'mineiro/latex-suite-aka-vim-latex'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'mineiro/latex-suite-aka-vim-latex'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'mineiro/latex-suite-aka-vim-latex'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/LaTeX-Suite-aka-Vim-LaTeX
Ⅳ. 文档说明
Vim-LaTeX (aka LaTeX-suite) is a mature project which aims at bringing
together the rich set of LaTeX tools the vim community has produced over
the years into one comprehensive package. It provides a set of tools
which enable you to do all your LaTeX-ing without needing to quit Vim.
Vim-LaTeX has its own web-page at:
Please visit there to get the latest version, documentation, screen shots etc.
A brief (not complete) list of the features currently supported by
Vim-LaTeX are as follows:
- Editing: Latex-Suite ships with a very comprehensive set of insert
mode and visual mode mappings and menu items to typeset most of the
LaTeX elements. These range from 3 letter insert mode mappings which
insert a skeleton of common typesetting elements to visual mode
mappings which enclose the selected region in braces, parentheses,
etc. The mappings can also be accessed via the menus.
- Compiling: You can compile the tex file from within vim. The list of
errors is shown in a quickfix window so you can directly go to the
location of an error. The compiler plugin can be dynamically
reconfigured to show you more or less warnings.
- Viewing: By pressing a key from within vim, the .dvi viewer is started
up. You can also do forward and inverse searching on your .dvi file
from within vim.
- Folding: Latex-suite ships with the plugin SyntaxFolds.vim which is
a plugin for creating "fake" syntax folds on the fly. The fold method
is actually manual but the folding is based on LaTeX syntax. This
offers a speed increase over regular syntax folding. When you open up
a LaTeX file, all the portions will be automatically folded up.
- Packages: This module provides ways of customizing the menus based on
which packages are being used in the current LaTeX file. When
latex-suite first starts up, it scans the latex-master-file for
usepackage{name} lines and if the corresponding package is found in
the latex-suite/packages/ directory, then creates a sub-menu based on
the specification found in that file. See the list of currently
supported packages.
- LaTeX help file: Latex-suite ships with the standard texinfo file
translated into vim help format so that you can get help for common
latex commands from within vim. You can view the html version of this
file here.
- Dictionary: Latex-suite ships with a dictionary with over 600 LaTeX
commands, which speeds up typing using the CTRL-X_d command of vim. - Customized Templates: Latex-suite ships with some commonly used latex
templates. It is trivial to add your own templates. The templates can
contain dynamic data such as time of creation etc. See list of current
templates.
- Customized Macros: Latex-suite makes it easy to add custom macros,
again with the possibility of dynamic content and automatic cursor
placement.
See
http://vim-latex.sf.net/index.php?subject=weare
for the list of maintainers / how to contact us.Vim-LaTeX is currently maintained
by
Srinath Avadhanula
Mikolaj Machowski
Benji Fisher