[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fixed position
From: |
Matthias Teege |
Subject: |
Fixed position |
Date: |
Sun, 19 Dec 1999 14:28:49 +0100 |
Moin,
I want to create a calender with lout. The layout ist
simple. There will be a box with a picture and a table
with the monthly calender.
My problem is that the pictures must be dynamicly scaled
and the table with the calender must stay on the same
position on every page.
So I would create two new lout symbols fr pictures in
portrait and landscape orientation.
But it didnt work. How can I made a box with a fixed high
and scale the image in it?
Here my code:
@SysInclude { doc }
@SysInclude { tbl }
import @BasicSetup
def @BildHoch right x { 15c @High @Scale @IncludeGraphic { x }}
@Document
@InitialLanguage { Deutsch }
@InitialFont { Helvetica Base 18p }
@PageHeaders { None }
//
@Text
@Begin
@DP
@BildHoch { stw.ps }
@DP
@QuotedDisplay
@Tbl
aformat { @StartHSpan @Cell indent { ctr } @B A| @HSpan | @HSpan |
@HSpan | @HSpan | @HSpan | @HSpan }
bformat { @Cell A | @Cell B | @Cell C | @Cell D | @Cell E |
@Cell F | @Cell G }
{
@Rowa
A { Januar 2000 }
@Rowb
A {So}
B {Mo}
C {Di}
D {Mi}
E {Do}
F {Fr}
G {Sa}
@Rowb
A {}
B {}
C {}
D {}
E {}
F {}
G {1}
@Rowb
A {2}
B {3}
C {4}
D {5}
E {6}
F {7}
G {8}
@Rowb
A {9}
B {10}
C {11}
D {12}
E {13}
F {14}
G {15}
@Rowb
A {16}
B {17}
C {18}
D {19}
E {20}
F {21}
G {22}
@Rowb
A {23}
B {24}
C {25}
D {26}
E {27}
F {28}
G {29}
@Rowb
A {30}
B {31}
}
@End
@Text
Many thanks
Matthias
- Fixed position,
Matthias Teege <=