Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse

Direc­tory tex-archive/macros/latex/contrib/realboxes

LaTeX package 'realboxes'
~~~~~~~~~~~~~~~~~~~~~~~~~
Copyright (c) 2011 by Martin Scharrer <martin@scharrer-online.de>
WWW: http://latex.scharrer-online.de/

This LaTeX package uses the authors other package 'collectbox' to define
variants of common box related macros which read the content as real box and
not as macro argument. This enables the use of verbatim or other special
material as part of this content.

The provided macros simply have the same names as the original versions but
start with an upper-case letter instead.
The "long-form" macros, like \Makebox, can also be used as environments, but
not the "short-form" macros, like \Mbox. However, normally the long form uses
the short form anyway when no optional arguments are used.

The following macros (taken from the shown packages) are provided:

## LaTeX core (option 'core') ##

    \Makebox[<width>][<position>]{<content>}
    \Fbox{<content>}
    \Mbox{<content>}
    \Raisebox{<length>}[<height>][<depth>]{<content>}
    \Leftline{<content>}
    \Rightline{<content>}
    \Centerline{<content>}
    \Rlap{<content>}
    \Llap{<content>}
    \Framebox[<width>][<position>]{<content>}
    \Parbox[<pos>][<height>][<inner-pos>]{<width>}{<content>}
    \Savebox{<box register>}[<width>][<position>]{<content>}
    \Sbox{<box register>}{<content>}


## color/xcolor ##

    \Colorbox[<model>]{<color>}{<content>}
    \Fcolorbox[<frame model>]{<frame color>}[<bg model>]{<bg color>}{<content>}

## graphics/graphicx ##

    \Rotatebox[<options>]{<angle>}{<content>}
    \Scalebox{<h-scale>}{<v-scale>}{<content>}
    \Reflectbox{<content>}
    \Resizebox*{<width>}{<height>}{<content>}

## dashbox ##

    \Dbox{<content>}
    \Dashbox[<width>][<position>]{<content>}
    \Lbox[<layers>]{<content>}
    \Dlbox[<layers>]{<content>}

## fancybox ##

The \Sbox macro provided by the 'core' option is defined in a way to not 
collide with the 'Sbox' environment of this package.


Files

Name Size Date Notes
README 1944 2011-08-16 10:10
realboxes.dtx 27901 2011-08-16 10:10
realboxes.ins 1751 2011-08-16 10:10
realboxes.pdf 189459 2011-08-16 10:10

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

re­al­boxes – Vari­ants of com­mon box-com­mands that read their con­tent as real box and not as macro ar­gu­ment

The pack­age uses the au­thor's pack­age col­lect­box to de­fine vari­ants of com­mon box re­lated macros which read the con­tent as real box and not as macro ar­gu­ment. This en­ables the use of ver­ba­tim or other spe­cial ma­te­rial as part of this con­tent.

The pro­vided macros have the same names as the orig­i­nal ver­sions but start with an up­per-case let­ter in­stead. The "long-form" macros, like \Make­box, can also be used as en­vi­ron­ments, but not the "short-form" macros, like \Mbox. How­ever, nor­mally the long form uses the short form any­way when no op­tional ar­gu­ments are used.

Pack­age De­tailsre­al­boxes
Ver­sion0.2
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2011 Martin Schar­rer
Main­tainerMartin Schar­rer
TDS archiverealboxes.tds.zip
Con­tained inTeXlive as re­al­boxes
MikTeX as re­al­boxes
Topics cre­at­ing boxes
Guest Book Sitemap Contact