Date:Mon, 13 May 2002 12:52:47 +0300
Reply-To:Dekel Tsur <[log in to unmask]>
Sender:Hebrew TeX list <[log in to unmask]>
From:Dekel Tsur <[log in to unmask]>
Organization:Tel Aviv University
Subject:Re: negative logic of scalebox
In-Reply-To:<[log in to unmask]>; from [log in to unmask] on
Sun, May 12, 2002 at 11:55:39PM +0300
Content-Type:text/plain; charset=us-ascii
On Sun, May 12, 2002 at 11:55:39PM +0300, Tzafrir Cohen wrote:
> >
> > A better solution is to add the following to the preamble, and the you can use
> > scalebox as usual:
> >
> > \makeatletter
> > \let\oGscale@start=\Gscale@start
> > \let\oGscale@end=\Gscale@end
> > \def\Gscale@start{\if@rl \oGscale@end\else \oGscale@start\fi}
> > \def\Gscale@end{\if@rl \oGscale@start\else \oGscale@end\fi}
> > \makeatother
> >
>
> Should something of that sort work even before the package graphics was
> loaded?
Obviously, this code should appear after loading the graphics/x package.
Note that if you wish to modify rlbabel.def, you need something like
\AtBeginDocument{
\ifx\Gscale@start\undefined\else
\let\oGscale@start=\Gscale@start
\let\oGscale@end=\Gscale@end
\def\Gscale@start{\if@rl \oGscale@end\else \oGscale@start\fi}
\def\Gscale@end{\if@rl \oGscale@start\else \oGscale@end\fi}
\fi}
PS: The \ifx was put for efficiency. It can be dropped, since the command
\let\oGscale@start=\Gscale@start will not cause an error if
\Gscale@start is undefined.