add configuration for latex