You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jonathan Spratte 6f3786502a inverted if-spaces logic преди 2 месеца
.gitignore initial преди 2 години
Makefile renamed преди 2 години
README.md year преди 1 година
grabbox.dtx inverted if-spaces logic преди 2 месеца
grabbox.pdf added @grabbox преди 1 година

README.md

grabbox: utilities to get an argument as a box

Copyright © 2018-2019 by Jonathan P. Spratte

This package may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this license or (at your option) any later version. The latest version of this license is in the file

https://www.latex-project.org/lppl.txt

The package provides

  • \grabbox<*>[<prepre>]{<register>}[<pre>]{<mode>}[<post>]{<next>}: grab the next argument as a box in <mode> (\hbox, \vbox or \vtop) and save it in box <register>. After the box is saved execute <next>. Inside of the box one can inject <prepre> and <pre> before the contents and <post> after them. If the star is not given spaces are stripped from the start and the end of the box.