This template eases typing vals: it puts bra notation (⟨ and ]) around its arguments (it also removes surrounding spaces), and you may optionally include a legend.

Template:Doc