[Vim-latex-devel] spacing and templates
Brought to you by:
srinathava,
tmaas
From: Germain V. <ger...@un...> - 2011-08-16 13:49:54
|
Hi all I create a simple template for a beamer document with the following lines : ############################################################################################## <+ +> !comp! !exe! % % presentation Beamer % Fichier : !comp!expand("%:p:t")!comp! % \documentclass[8pt,svgnames]{beamer} %\documentclass[8pt,svgnames,draft,handout]{beamer} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[frenchb]{babel} \usetheme{Warswaw} \title[]{} \institute[]{} \author[]{} \date{} % * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * % * % * begin document % * % * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \begin{document} \begin{frame} \titlepage \end{frame} \begin{frame} \frametitle{} <++> \end{frame} \end{document} ############################################################################################## I put it in the $HOME/.vim/ftplugins/latex-suite/templates and I got a wrong spacing for the frame environment. I got something like that : ############################################################################################## \begin{frame} \titlepage \end{frame} \begin{frame} \frametitle{} \end{frame} \end{document} ############################################################################################## Is it a way to fix that ? I install vim-latex from the rpm repository of fedora15 Thanks Germain -- Maître de Conférence Université de Pau et des pays de l'Adour Institut Pluridisciplinaire de Recherche sur l'Environnement et les Matériaux Équipe de Chimie Physique email : ger...@un... Tel : 05 59 40 78 51 page : http://gvallver.perso.univ-pau.fr |