diff options
author | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 20:41:52 +0000 |
---|---|---|
committer | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 20:41:52 +0000 |
commit | 66b683579143de15598c16695df72d1b224c2030 (patch) | |
tree | 1dfc6d44e7517fb3e1fe838239daac263948bbf5 /doc/user/bgr_boxs | |
parent | 3c59753b94d0425e7ddcc4b57b11dfb283d0c144 (diff) | |
download | lout-66b683579143de15598c16695df72d1b224c2030.tar.gz |
Lout 3.37.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@43 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'doc/user/bgr_boxs')
-rw-r--r-- | doc/user/bgr_boxs | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/user/bgr_boxs b/doc/user/bgr_boxs index 775e305..5e275cf 100644 --- a/doc/user/bgr_boxs +++ b/doc/user/bgr_boxs @@ -151,7 +151,20 @@ produce other kinds of boxes: These also have {@Code "margin"}, {@Code "linewidth"}, {@Code "paint"}, and @Code "texture" options, and @Code "@ShadowBox" has a @Code "shadow" option which determines the thickness of the shadow (its default value -is {@Code "0.2f"}). +is {@Code "0.2f"}). There is no option to change the colour of the +shadow, but it is quite easy to combine two boxes to get that effect: +@ID @OneRow @Code @Verbatim { +lightgrey @Colour @ShadowBox margin { 0c } black @Colour @Box +{ + A shadow box +} +} +produces +@CD lightgrey @Colour @ShadowBox margin { 0c } black @Colour @Box +{ + A shadow box +} +in which the shadow, and only the shadow, is coloured light grey. @PP Boxes are quite at home inside paragraphs, as @Box { a box }, @CurveBox { a curve box }, and @ShadowBox { a shadow box } |