[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Text centered in box of fixed height & width
From: |
Jeff Kingston |
Subject: |
Re: Text centered in box of fixed height & width |
Date: |
Fri, 23 Jul 1999 11:53:38 +1000 |
In the first place, you could switch to the other @Box symbol - the
more advanced one from the @Diag package, which has an option for
this.
If you want to be a Lout hacker, then
@Box 1cm @High 5cm @Wide {
//0.5rt |0.5rt text |
//
}
should work. But package it in a definition, like this:
import @BasicSetup
def @CBox right x
{
@Box 1cm @High 5cm @Wide {
//0.5rt |0.5rt x |
//
}
}
so that you can just write
dum de dum
@CD @CBox { NUCLEAR ALERT! }
dum de dum
Jeff