[Tugindia] Box query

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Tue Dec 23 10:10:41 CET 2003


Nikhil Joshi wrote:

> I am trying to achieve a box-structure as follows :
> 
>                _________________________
>                |                        |
>                |         Heading        |
>                |                        |
>                |        Sub-heading     |
>                |________________________|
>                
>                
> Unfortunately \framebox doesn't seem to be able to insert the newline that 
> I want i.e. I am unable to have a sub-heading beneath heading. I went 
> through lshort.pdf and it does tell that \framebox command 
> is used for drawing a box around horizontal text lines. 

\fbox{\parbox{0.5\linewidth}{%
\centerline{Heading}

\centerline{Sub-heading}
}}

Here you'll find a lot of other examples

tp://www.pstricks.de/Examples/Box/boxes.phtml#verbatim

Herbert


-- 
http://www.pstricks.de/



More information about the tugindia mailing list