Updated tex figure snippet
Include underscores in tex keywords
Updated ack script