3
votes
1answer
90 views

LaTeX indentation in vim

Does there exist a good indentation option/plugin for vim? I tried different combinations of autoindent, smartindent and cindent, what I get is: \begin{tabular}{ c } foo \\ bar \end{tabular} ...
2
votes
1answer
121 views

Indenting multi-line sentences

For example, in the actual .tex file, I'd like sentences like this: Due to this, some reasonable conclusion. Next sentence. To be formatted like this: Due to this, some reasonable conclusion. ...
5
votes
1answer
504 views

Is there a default / official / standard Vim indentation file for TeX, or just best practices for TeX source indentation?

If you see here, the author mentions an "official version" of an indentation script from Johannes Zellner. The link is broken and while there are traces of Zellner all over the interwebs, I can't find ...
10
votes
2answers
2k views

vim LateX-Suite indentation and line breaking

I'm now setting up Vim for use with LaTeX. This is about setting up the indentation. In the picture below, there are many things that need tweaking. Everything between \vskip .5cm and \vskip 1in is ...
2
votes
1answer
582 views

vim on Rnw (sweave) files: how to indent <<>>== properly?

When I use vim-latexsuite to indent my .Rnw files, the Sweave blocks get indented, which causes them not to work properly. What I need is a way to ensure that the vim indent scheme puts these blocks ...