| 1 |
LaTeX package 'realboxes' |
| 2 |
~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 3 |
Copyright (c) 2011 by Martin Scharrer <[email protected]> |
| 4 |
WWW: http://latex.scharrer-online.de/ |
| 5 |
|
| 6 |
This LaTeX package uses the authors other package 'collectbox' to define |
| 7 |
variants of common box related macros which read the content as real box and |
| 8 |
not as macro argument. This enables the use of verbatim or other special |
| 9 |
material as part of this content. |
| 10 |
|
| 11 |
The provided macros simply have the same names as the original versions but |
| 12 |
start with an upper-case letter instead. |
| 13 |
The "long-form" macros, like \Makebox, can also be used as environments, but |
| 14 |
not the "short-form" macros, like \Mbox. However, normally the long form uses |
| 15 |
the short form anyway when no optional arguments are used. |
| 16 |
|
| 17 |
The following macros (taken from the shown packages) are provided: |
| 18 |
|
| 19 |
## LaTeX core (option 'core') ## |
| 20 |
|
| 21 |
\Makebox[<width>][<position>]{<content>} |
| 22 |
\Fbox{<content>} |
| 23 |
\Mbox{<content>} |
| 24 |
\Raisebox{<length>}[<height>][<depth>]{<content>} |
| 25 |
\Leftline{<content>} |
| 26 |
\Rightline{<content>} |
| 27 |
\Centerline{<content>} |
| 28 |
\Rlap{<content>} |
| 29 |
\Llap{<content>} |
| 30 |
\Framebox[<width>][<position>]{<content>} |
| 31 |
\Parbox[<pos>][<height>][<inner-pos>]{<width>}{<content>} |
| 32 |
\Savebox{<box register>}[<width>][<position>]{<content>} |
| 33 |
\Sbox{<box register>}{<content>} |
| 34 |
|
| 35 |
|
| 36 |
## color/xcolor ## |
| 37 |
|
| 38 |
\Colorbox[<model>]{<color>}{<content>} |
| 39 |
\Fcolorbox[<frame model>]{<frame color>}[<bg model>]{<bg color>}{<content>} |
| 40 |
|
| 41 |
## graphics/graphicx ## |
| 42 |
|
| 43 |
\Rotatebox[<options>]{<angle>}{<content>} |
| 44 |
\Scalebox{<h-scale>}{<v-scale>}{<content>} |
| 45 |
\Reflectbox{<content>} |
| 46 |
\Resizebox*{<width>}{<height>}{<content>} |
| 47 |
|
| 48 |
## dashbox ## |
| 49 |
|
| 50 |
\Dbox{<content>} |
| 51 |
\Dashbox[<width>][<position>]{<content>} |
| 52 |
\Lbox[<layers>]{<content>} |
| 53 |
\Dlbox[<layers>]{<content>} |
| 54 |
|
| 55 |
## fancybox ## |
| 56 |
|
| 57 |
The \Sbox macro provided by the 'core' option is defined in a way to not |
| 58 |
collide with the 'Sbox' environment of this package. |
| 59 |
|
| 60 |
|