latex.vim (958B)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | " " author: Xu Xiaodong <[email protected]> " modified: 2011 Apr 16 " "-- latex --" " ,rl = run latex map ,rl :!latex % " ,rx = run xelatex map ,rx :!xelatex % " ,vd = view dvi file map ,vd :!xdvi %<.dvi " ,cps = create ps file (from dvi file of current file) map ,cps :!dvips %<.dvi -o:!ghostview %<.ps " ,rd = run dvipdf map ,rd :!dvipdf %<.dvi " ,vp = view pdf file map ,vp :!epdfview %<.pdf map! ]i \item map! ]bi \begin{itemize} map! ]ei \end{itemize} map! ]be \begin{enumerate} map! ]ee \end{enumerate} map! ]bd \begin{description} map! ]ed \end{description} map! ]bc \begin{center} map! ]ec \end{center} map! [be {\samepage\begin{eqnarray} map! [ee \end{eqnarray}} map! ]s1 \section{ map! ]s2 \subsection{ map! ]s3 \subsubsection{ map! ]p1 \paragraph{ map! ]p2 \subparagraph{ map! ]f \frac{ map! ]o \overline{ map! ]u \underline{ map! ;em bi{\em lea}i map! ]fn \footnote{ map! ]bl \begin{lstlisting}[frame=tb] map! ]el \end{lstlisting} |