jcoo092 / LaTeX-cP-systems

A LaTeX package to aid typesetting of cP systems, a Membrane Computing variant created by Nicolescu & collaborators
LaTeX Project Public License v1.3c
0 stars 0 forks source link

Autogrowing brackets #3

Closed jcoo092 closed 3 years ago

jcoo092 commented 4 years ago

Right now cpfunc macros make their brackets slightly larger than standard. This behaviour is hard-coded. It would be preferable if the size of the wrapping brackets could automatically re-scale themselves. So if there are no inner brackets, the cpfunc's brackets are normal size. Alternatively, if there is one set of inner nested brackets, cpfunc's brackets become one size larger. Two nested levels of brackets mean that cpfunc's brackets become one size larger again, and so on. It might be necessary also to go into using smaller brackets if the nesting becomes significant enough.

jcoo092 commented 4 years ago

See the perfectcut package. It appears to offer exactly the desired functionality and has been updated relatively recently. Definitely worth investigating.