[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Curious included graphic whitespace issue
From: |
Ludovic Courtès |
Subject: |
Re: Curious included graphic whitespace issue |
Date: |
Sun, 24 Apr 2011 17:42:10 +0200 |
User-agent: |
Gnus/5.110015 (No Gnus v0.15) Emacs/23.3 (gnu/linux) |
Hi again,
I tried several variants, with @HContract and such, but couldn’t find
why the first one gets this extra space on its right.
--8<---------------cut here---------------start------------->8---
@SysInclude { picture }
@SysInclude { tbl }
def @Shrink right obj
{
1f @Wide @Scale obj
}
@Illustration
@InitialFont { strut Times Base 32p }
@InitialSpace { tex }
{
@Tbl margin { 0f } strut { no } rule { yes }
aformat { @Cell indent { right } A | @Cell indent { left } B }
{
@Rowa
A { @Shrink { @IncludeGraphic "symbol.eps" } }
B { further diamond }
@Rowa
A { @Shrink @Box margin { 0f } @IncludeGraphic symbol.eps }
B { nearer diamond }
@Rowa
A { @Box margin { 0f } @Shrink @IncludeGraphic symbol.eps }
B { Ludovic }
}
//3f
@Shrink { @IncludeGraphic symbol.eps } |0c
@Shrink { @IncludeGraphic symbol.eps } //0c
@Shrink { @IncludeGraphic symbol.eps } |0c
@Shrink { @IncludeGraphic symbol.eps }
}
--8<---------------cut here---------------end--------------->8---
The last four @Shrink lines above confirm that Lout gets the bounding
box right.
I would suspect the table code, but I don’t have any concrete
evidence...
Ludo’.