Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/perfectcut

perfectcut.sty --- Nested delimiters that consistently grow regardless
of the contents.

This package defines the command \perfectcut#1#2 which displays a
bracket <#1||#2>. Various delimiters are similarly defined. The effect
of these commands is to let the delimiters grow according to the number
of nested \perfectcommands (regardless of the size of the contents).

The package is originally intended for solving a notational issue
regarding the representation of abstract-machine-like calculi in proof
theory and computer science. For general use, the package also defines
commands for defining custom delimiters that behave in the same way.

This package also offers a sound reimplementation of \big, \bigg, etc.

Release notes:

  2.0 11/14: * The package now offers general-purpose commands for
               defining arbitrary nested delimiters that consistently
               grow regardless of the contents (\perfectunary and
             * Added the behaviours CurrentHeight and
               CurrentHeightPlusOne alongside the existing behaviour
             * Added the stock commands \perfectcase, \perfectparens,
               and \perfectbrackets intended for use in the context
               of abstract-machine-like calculi.
 1.9b 05/14: added the option fixxits to fix vertical alignment with the
             XITS math font.
  1.9 02/14: added \perfectcut,\perfectbra,\perfectket; fixed bug with graphicx
             not being included; publication on CTAN.
  1.8 01/14: added documentation (no new feature).
  1.7 11/13: added \cutangleouterskip.
  1.6 10/13: new commands \cutbraprimitive and \cutketprimitive.
  1.5 09/13: possible to disable mathstyle (option nomathstyle, see
             the warning below).
  1.4 08/13: possible to choose between \vert\vert and \Vert (option realVert)
             (\cutinterbarskip is used only with the former).
  1.3 08/13: fixes the alignment of angles with the math axis.
  1.2 06/13: first public release.

Author: Guillaume Munch-Maccagnoni

This work may be distributed and/or modified under the conditions of
the LaTeX Project Public License, either version 1.3 of this license
or (at your option) any later version.
The latest version of this license is in:
and version 1.3 or later is part of all distributions of LaTeX version
2005/12/01 or later.

The work consists in the files "perfectcut.sty", "perfectcut.tex" and
the derived files.

This work has the LPPL maintenance status `maintained'.
The Current Maintainer of this work is Guillaume Munch-Maccagnoni.

Down­load the con­tents of this pack­age in one zip archive (168.0k).

per­fect­cut – Brack­ets whose size ad­justs to the nest­ing

The pack­age de­fines the com­mand \per­fect­cut#1#2 which dis­plays a bracket <#1||#2>. Its ef­fect is to de­ter­mine the size of the bracket de­pend­ing on the num­ber of nested \per­fect­cut (re­gard­less of the con­tents). The com­mand is in­tended for use:

  • In proof the­ory, for term no­ta­tions of se­quent cal­cu­lus,
  • In com­puter sci­ence, for the mod­el­ing of ab­stract ma­chines.

The pack­age also of­fers a reim­ple­men­ta­tion of \big, \bigg, etc., into ar­bi­trary-size vari­ants.

Ver­sion2.0 2014-11-03
Li­censeThe Project Public Li­cense 1.3
Main­tainerGuil­laume Munch-Maccagnoni
Con­tained inTeX Live as per­fect­cut
MiKTeX as per­fect­cut
Topics type­set the­o­ret­i­cal com­puter sci­ence ma­te­rial
Guest Book Sitemap Contact Contact Author