add autopair for latex

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>