[Vim-latex-cvs] vimfiles/ftplugin/latex-suite envmacros.vim,1.33,1.34
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2003-06-27 22:20:19
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv4288 Modified Files: envmacros.vim Log Message: - changed ETR to insert a more complete template using Tex_SpecialMacros (Mathieu CLABAUT) Index: envmacros.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/envmacros.vim,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** envmacros.vim 17 Jun 2003 02:00:13 -0000 1.33 --- envmacros.vim 27 Jun 2003 22:20:16 -0000 1.34 *************** *** 26,29 **** --- 26,31 ---- let s:description ="\\begin{description}\<cr>\\item[<+label+>]<++>\<cr>\\end{description}<++>" let s:document = "\\documentclass[<+options+>]{<+class+>}\<cr>\<cr>\\begin{document}\<cr><++>\<cr>\\end{document}" + let s:tabular = "\\begin{tabular}[<+hbtp+>]{<+format+>}\<cr><++>\<cr>\\end{tabular}" + let s:tabular_star = "\\begin{tabular*}[<+hbtp+>]{<+format+>}\<cr><++>\<cr>\\end{tabular*}" " }}} *************** *** 214,219 **** call s:Tex_EnvMacros('', '&Tables.', 'table*') call s:Tex_EnvMacros('', '&Tables.', 'table2') ! call s:Tex_EnvMacros('ETR', '&Tables.', 'tabular') ! call s:Tex_EnvMacros('', '&Tables.', 'tabular*') " }}} " Math {{{ --- 216,221 ---- call s:Tex_EnvMacros('', '&Tables.', 'table*') call s:Tex_EnvMacros('', '&Tables.', 'table2') ! call s:Tex_SpecialMacros('ETR', '&Tables.', 'tabular', s:tabular) ! call s:Tex_SpecialMacros('', '&Tables.', 'tabular*', s:tabular_star) " }}} " Math {{{ |