Fix popwin settings
Add latex snippets