This repository has been archived by the owner. It is now read-only.
Delimiters in LaTeX whose size grows according to the nesting. (https://www.ctan.org/pkg/perfectcut) (moved to gitlab)
TeX
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README
README.md
perfectcut.lyx
perfectcut.pdf
perfectcut.png
perfectcut.sty
perfectcut.tex

README.md

Synopsis

I wrote the LaTeX package perfectcut to make commands of abstract-machine-like calculi more readable when nested. It defines (among others) the command \perfectcut with two arguments, which displays a bracket whose size is determined by the number of nested \cutprimitive (regardless of the contents). Here's an example of usage:

\usepackage{perfectcut}
\let\cut\cutprimitive
\newcommand{\mt}{\tilde\mu}
\[
  \cut{t}{\mt x.\cut{u}{\mt y.\cut ve}}
  =
  \cut{u}{\mt y.\cut{t}{\mt x.\cut ve}}
\]

Screenshot.

perfectcut.sty also offers a reimplementation of \big, \bigg, etc. into robust and arbitrarily-size variants.

The manual has more examples and instructions.

The package is hosted and updated on CTAN and can be obtained via your favorite LaTeX distribution.

Use

See perfectcut.pdf.

License

LPPL Version 1.3c. See LICENSE.