[LyX/master] Make all unbreakable spaces of the same Color_latex color

Jean-Marc Lasgouttes lasgouttes at lyx.org
Wed Jun 24 07:59:26 UTC 2020


Le 24/06/2020 à 09:18, Jürgen Spitzmüller a écrit :
> Am Dienstag, den 23.06.2020, 23:46 +0200 schrieb Jean-Marc Lasgouttes:
>> I did not mean to commit this yet, but it is a good occasion to

> I would indicate one property by color only, the other by form. It
> would strike me most logically to use color for positive/negative
> (blue: positive, red: negative), and, say solid line for non-breakable
> and dotted line for breakable.

I agree with using a dichotomy.

> Or we could stick with color for breakability and find a good form for
> negativeness (we already have one for custom length, but I am not sure
> this scales well).

A possibility for negative width (which probably will be seldom used 
anyway) would be to draw the sign upside down (|‾‾‾|. This is weird and 
not very informative, but negative spaces are weird too:)

> 
>> Another thing this is bugging me is that we have a
>> Color_added_space,
>> but it is only used for vertical spaces. Should we use this intead
>> of
>> Color_latex? Vertical spaces are not unbreakable AFAIK, so maybe
>> they
>> should use the same color as normal spaces.
> 
> Makes sense.

Note that we can also change the color of all these spaces and are not 
stuck with the current Brown.

JMarc


More information about the lyx-devel mailing list