trevorcampbell / shortex

LaTeX header file with useful definitions
MIT License
21 stars 11 forks source link

Use `\DeclarePairedDelimiter` rather than `\lcrx`? #22

Closed jhuggins closed 1 year ago

jhuggins commented 2 years ago

As described in the math tools documentation, \DeclarePairedDelimiter does a lot the things we have done manually, but more cleanly if you just want to toggle between using \left\right or not adjusting the size. Right now \lcrx does not lead to good looking superscripts and subscripts, for example.

jhuggins commented 2 years ago

\DeclarePairedDelimiter also add the option to pass in \big, \bigg, etc., so we should definitely replace\lcrx with \DeclarePairedDelimiter