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

Linebreaks in cprulesets #5

Open jcoo092 opened 4 years ago

jcoo092 commented 4 years ago

If someone wants to break a rule over multiple lines (usually because leaving the whole thing on one line would make it spill out past the edge of the box), then they have to specify the line break manually and the correct number of ampersands required by the encapsulating array environment, to get everything to line up again. This is fiddly, messy, error-prone and makes the cprule a 'leaky abstraction'. It would be much better to have a package-specific linebreak command included which can automatically adapt itself to whichever part of the rule it is in.

It is entirely unclear at this point how to implement such a thing, though.