[pstricks] Save a length for later use

Ulrik Stervbo ulriks at ruc.dk
Wed May 25 13:40:56 CEST 2005


I'm sorry.

I would like to contrsuct something like this:
+--------------------------------------------+ 14
|     Title box (spanning 2 cols) with       | 13
|     a poster title in a box                | 12
|     a author in a box                      | 11
+--------------------------------------------+ 10
+---------------------++---------------------+ 9
|    Textbox 1        ||    Textbox 3        | 8
|    in col 1         ||    in col 2         | 7
|                     |+---------------------+ 6
+---------------------++---------------------+ 5
+---------------------+|    Textbox 4        | 4
|    Textbox 2        ||    in col 2         | 3
|    in col 1         ||                     | 2
|                     |+---------------------+ 1
+---------------------+                        0

The title box consist of a box for the title of the poster, and below that a box
for the authors of the poster. The whole thing is surrounded by a psframe

The boxes within the title box should be placed according to a inner border of
the titlebox (the second argument to the titlebox environment) and the
placement of the title box on the page (0,\textheight). This means that the
postertitlebox should be placed at textheight-border, and the authorsbox should
be placed at textheight-border-height_of_postertitlebox, and the y-cor for the
lower corner of the psframe is
textheight-border-height_of_postertitlebox-height_of_authorsbox-border

Placing a textbox with body text of the poster should be done by
\puttextbox{col-num}{stuff} (at the moment it takes x,y coordinates)

so the textboxes of the example should be placed by
\puttextbox{1}{stuff}
\puttextbox{1}{stuff}
\puttextbox{2}{stuff}
\puttextbox{2}{stuff}

The y-coor of the first textbox is the y-coor for the lower corner of the
psframe surrounding the titlebox (perhaps minus a little boxskip), the y-coor
of the second textbox is the y-coor of the first minus the height of the first
text box.

The y-coor of the third textbox (the first if col 2) is the y-coor for the lower
corner of the psframe surrounding the titlebox, the y-coor of the fourth textbox
is the y-coor of the first minus the height of the third text box.

The problem is that the height of the postertitlebox is different from 0 only
within the \mytitle{}. I recon it's a scope thing, but havent been able to find
anything to help me solve it.

I hope it clarified that I'm intending to do... I can send the stuff I'm working
on, but I doubt it will be easy to read :)

Sincerely,
Ulrik

Quoting Herbert Voss <LaTeX at zedat.fu-berlin.de>:

> Ulrik Stervbo wrote:
>
> >The sum of the height of the boxes placed in a column including the height
> of a
> >title box
> >
> >
> then I do not understand your example.
>
> You can put all boxes in another box and measure its height.
>
> Herbert
>
> _______________________________________________
> pstricks mailing list
> pstricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>






More information about the PSTricks mailing list