change LaTexSq to tag based

change LaTexSq to tag based