Debian Codegraph @

texmf-dist/doc/latex/grabbox/README.md

raw
1 grabbox: utilities to get an argument as a box
2
3 Copyright (C) 2018-2019 by Jonathan P. Spratte
4
5 This package may be distributed and/or modified under the conditions of the
6 LaTeX Project Public License (LPPL), either version 1.3c of this license or (at
7 your option) any later version. The latest version of this license is in the
8 file
9
10 https://www.latex-project.org/lppl.txt
11
12 The package provides
13
14 - `\grabbox<*>[<prepre>]{<register>}[<pre>]{<mode>}[<post>]{<next>}`: grab the
15 next argument as a box in `<mode>` (`\hbox`, `\vbox` or `\vtop`) and save it
16 in box `<register>`. After the box is saved execute `<next>`. Inside of the
17 box one can inject `<prepre>` and `<pre>` before the contents and `<post>`
18 after them. If the star is not given spaces are stripped from the start and
19 the end of the box.