2015-11-27 14:37 GMT+01:00 Jean-Marc Lasgouttes <lasgout...@lyx.org>:

> What about the start of a paragraph?


At the start of a paragraph, hfills and hspaces are _not_discarded.


> And what about the end of row/paragraph?
>

hfills at the end of a paragraph are expanded.

I think what the old mechanism tried to do is to symbolize that a hfill at
the end of a row only has a visual effect if it follows some material that
is shifted by preceding hfills.

I.e.

\hfill{}Text\hfill{}
is symbolized as

|---------------------------------------|Text|---------------------------------------|

whereas

Text\hfill{}

is symbolized as

Text|-|

since

Text\hfill{}

produces the same output as

Text

whereas

\hfill{}Text\hfill{}

difffers from

\hfill{}Text

Having said that, the output goes wrong in flushright and centered
paragraphs, where the hfill has a visible effect.

So it would probably be better to alsways expand hfills at paragraph end
(if I have not missed something).

Jürgen

Reply via email to