updates to latex custom commands