< CommandJump to navigation Jump to search
Revision as of 17:55, 6 September 2020 by Taco (Created page with "Documentation for \definebuffer")
The command \definebuffer defines a named buffer class.
|...=...,...||inherits from \setupbuffer|
|Name of the new buffer class|
|Optional buffer class to inherit from|
Named buffer classes replace the default buffer commands with special versions wherein the
bufferpart is replaced by your desired command.
On the downside, these newly defined buffers do not support an optional argument like \startbuffer does.
\definebuffer[mybuffer] \startmybuffer Arbitrary content for my buffer \stopmybuffer Some more text \getmybuffer \typemybuffer