[pdftex] Re: Replacement for psframebox?
Geoffrey Alan Washburn
geoffw at cis.upenn.edu
Tue Nov 15 20:33:16 CET 2005
Martin Heller wrote:
> Geoffrey Alan Washburn wrote:
>
>> I tried replacing \psframebox with a use of LaTeX's \fbox, but this
>> results in far more padding between the boxes' border and the contents
>> than is aesthetically pleasing. I think I might be able to hack
>> around this by placing the contents in a box register and mucking
>> with its size after the fact (much like \smash).
>
> Did you try to set \fboxsep and \fbox rule to the values you use in
> \psframebox ?
>
> \setlength\fboxsep{1pt}
> \setlength\fboxrule{0.5pt}
> \fbox{text}
A few other people told me about these parameters via private messages;
I had been completely unaware of their existence. This was exactly what
I needed. Thanks everyone!
More information about the pdftex
mailing list