Latex Text Formatter is a Vim script that allows to format a piece of latex text by recognizing which lines should be formatted. The main function, FormatLatexPar, formats the latex text to which the cursor belong (stopping above and below when a keyword is found, or when the vim paragraph ends) and then moves at the end of the formatted section. The function is mapped to CTRL-j.
INSTALLATION:
Copy in your .vim/plugin directory.
If CTRL-j is already mapped, change the mapping for FormatLatexPar.
Product's homepage
Requirements:
· Vim
What's New in This Release: [ read full changelog ]
· Basic improvements and bug removals: 1) It distinguish between paragraph separating commands (that do not have to be formatted with the text) and paragraph beginning commands (that will be formatted together with the paragraph they begin). 2) Works also on commented text, for any level of comments. The functions are now much more readable, too.