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

Boxless environments #6

Open jcoo092 opened 4 years ago

jcoo092 commented 4 years ago

Currently, the only versions of the \cpruleset and \cpobjects environments include a framing box automatically. It might be the case in the future that somebody would prefer to have a version that doesn't include the box at all.

Implementing this should be as simple as making the use of the \framed environment conditional on something. Precisely what interface to present to the user is a different question, though. The best ideas so far are:

  1. A \cpruleset* version, e.g.

    \begin{cpruleset*}
    ruleset as normal
    \end{cpruleset*}
  2. Including an optional parameter with the declaration, such as \cpruleset[noframe] style, e.g.

    \begin[noframe]{cpruleset}
    ruleset as normal
    \end{cpruleset}
jcoo092 commented 4 years ago

It looks like switching from using framed inside the \newenvironment definition may be better replaced with using the adjustbox package, going by its documentation.