Example template that gets indented when loaded (nested \begins and
such tags are indented as expected):

<+      +>      !comp!  !exe!
\documentclass[12pt,letterpaper]{article}
\usepackage{ifpdf}
\usepackage{mla}
\begin{document}
\begin{mla}{First}{Last}{Proff}{Class}{dd Month yyyy}{Title}
<++>
\begin{workscited}

\bibent
author's last name, first name.  ``Paper Title."  \textit{Book Title}.
 Date of publication.

\end{workscited}
\end{mla}
\end{document}


On Mon, Apr 27, 2009 at 10:22 PM, boozler <[email protected]> wrote:
> The first problem is that the vim-latex templates do not have file
> names in the MacVim menu (Tex-Suite -> Templates) only numbers. So I
> have to guess at which template to load or load from the command line
> "TTemplate" which displays the correct names.
>
> Second problem: When I load my templates they are automatically
> indented. Can I turn off indentation just for while loading templates?
> If not can I turn off indentation just for the latex plugin? I need to
> keep indentation going for other file types (c/c++/ruby/etc)...
>
> FYI my vimrc:
> filetype plugin indent on
> set grepprg=grep\ -nH\ $*
> let g:tex_flaver='latex'
> let g:Tex_ViewRule_pdf = 'Preview'

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to