Sometimes you just close #TexMaker and use vim to modify .tex files… because annoying tables in .*TeX are just much easier to handle in vim.

There's a script for that¹. And vim's column selection/deletion/insertion is useful as hell to add or remove columns easily in your .*TeX tables.

1. https://vim.fandom.com/wiki/Create_LaTeX_Tables

#LaTeX #Tex #XeLaTex #WhateverTeX

Create LaTeX Tables

Typesetting LaTeX tables is time consuming and can get very complicated. It is, however, very easy to use the Perl LaTeX::Table module from within Vim. Install the module with: $ cpan LaTeX::Table Then for example, enter the following into a buffer: theme=NYC;caption_top=1;caption=Bla Animal & Description & Price Gnat & per gram & 13.65 & each & 0.02 Gnu & stuffed & 92.59 Now visually select the lines (for example, ggVG), and enter the command !ltpretty to filter the text through the ltpretty sc

Vim Tips Wiki