Releases: jcoo092/LaTeX-cP-systems
Declare Paired Delimiters
Turns out that I had somehow never included the command \DeclarePairedDelimiter{\cpsystems@mtparens}{\lparen}{\rparen}
in the package, despite its result being used in the cpfunc*
command. This release simply adds that declaration into the sty file, thus fixing the error you might see when trying to use cpfunc*
in the last release or two.
Full Changelog: v0.24...v0.24.1
v0.24
Add a space for channels to the cptuple
and cptupletemplate
commands (as new cptuplechans
and cptuplechanstemplate
commands).
Full Changelog: v0.23...v0.24
Dissertation Developments
This release includes a handful of extra bits I developed for my dissertation. The most notable change is probably the fact that there is now a cpfunc* command, which doesn't use auto-growing brackets but permits the use of linebreaks inside the cpfunc. This is particularly important when you have long rules in rulesets which use nested functors.
Full Changelog: v0.22...v0.23
Hyperlinked cprulerefs
This release updates the various cpruleref
commands so that they automatically generate hyperlinks back to the rules they refer to.
Inter-cell communication goes from curly braces to angle brackets
Changes in this release:
Change the bracket type for inter-top-level-cell communication from curly braces to angle brackets. Add starred and capitalised variants of the ruleref
macro — the former replaces rulerefalt
. Rename it to cpruleref
for consistency purposes. Convert cprulenonum
to cprule*
.
v0.20
Introduce the ruleref and rulerefalt commands. This (sadly) means that, at present, you cannot adjust a rule’s spacing between the RHS and the rule number. Rename cpterm to cptermdef to reflect the fact that it used to provide the definition of a cP systems term, and not somehow declare one or anything. Add in some setup stuff so that this package’s floating environments work with simple usage of the cleveref package.
v0.19
The most significant change with this release is that the rules numbers now reset with every new cprulesetfloat
, instead of the old behaviour of just carrying on forward. If you want the rules numbers carried forward, try out the cprulesetcontnum
environment.
This release also introduces a cpdiscard
parameter-less macro to typeset the cP systems discard/don't care symbol. It also makes the cpfuncn
etc., indexed functor macros an official part of the package.
Add parentheses to cprulecustnum
I forgot to include the all-important parentheses around the rule number in the cprulecustnum
macro. This release just fixes that up.
Add some new macros
In this release, new macros were added for typesetting antiport messaging rules, rules with a custom rule number, cP systems definition tuples, and conveniences for writing the once only and maximally parallel rule mode symbols in the 'correct' way. The arraystretch for the cpruleset macro was also changed from 1.0 to 1.1. Oh, and the rule number changing macros were prepended with 'cp', which they really should have always had.
Remove cps macro and dot from end of cpterms
Most of the updates in this release were more for internal/maintenance purposes than affecting anything that external users would observe. The only changes I can think of that will make a noticeable difference to typesetting are: that the \cps
macro has been removed because it could conflict with other packages; and that the dot has been removed from the end of each \cpterm
because there were times when it might not be appropriate.
If you're using the glossaries package, I recommend using that to replace the \cps
macro with a regular glossary entry call. Otherwise, you can, of course, define it somewhere at the top of your main .tex file. The macro for it is simply \newcommand*{\cps}{cP~systems}
. For use with glossaries, you can define it as \newglossaryentry{cps}{description={},name={cP~systems}}
, and then refer to that with \gls{cps}
.