Dekel Tsur <[EMAIL PROTECTED]> writes:

| On Fri, May 03, 2002 at 04:43:19PM +0300, Dekel Tsur wrote:
>> On Fri, May 03, 2002 at 03:04:26PM +0200, Lars Gullik Bjønnes wrote:
>> > The version with the '%'s is read by latex as:
>> > 
>> > "Hello.
>> > \begin{figure}x\end{figure}
>> >  Bar."
>> > 
>> > and the other is read as
>> > 
>> > "Hello.
>> > \begin{figure}
>> > x
>> > \end{figure}
>> >  Bar."
>> > 
>> > With several evironments and commands a '%' will make a visula effect,
>> > usually less whitespace/separation in the output.
>> 
>> There is no difference between the two!
>
| And the explanation (if I'm not mistaken) is as follows:
| The \begin{figure} causes TeX to go into restricted vertical mode, so
| the space after \begin{figure} is ignored.
| The space after the 'x' appears right before a \par command
| (which is generated by the \end{figure} macro), and therefore, 
| it is ignored by TeX.

And you manually had to inspect the latex implementation of this
environment to determine that this was safe...

bette to use the '%' imho.

-- 
        Lgb

Reply via email to