Setting section color in local layout
Daniel
xracoonx at gmx.de
Fri Jan 6 11:37:18 UTC 2023
On 2023-01-06 10:55, Jean-Marc Lasgouttes wrote:
> Le 06/01/2023 à 08:15, Daniel a écrit :
>> On 2023-01-04 23:50, Richard Kimberly Heck wrote:
>>> That's a missing feature then. We do handle some font features, but
>>> not all of them. (We would only do this for LyXHTML. The font color
>>> in LyX itself is not meant to be reflected in LaTeX, unless you
>>> specify that separately, as above.)
>>
>> (I guess you didn't mean rule out that at some point in the future, it
>> will be possible to set colors for all section headings without
>> manually tampering with either local layout or the preamble but that
>> behind the scenes both would be changed.)
>
>
> We would need two different settings then: one to tell what the LaTeX
> layout does, and one to change it.
Probably I misunderstand, but that seems to be no particular issue.
Isn't it the same with, e.g., font-sizes of headings? If I see it
correctly, the current way to take care of that is to provide the LaTeX
layout already in the work area, e.g. setting the headings to the
appropriate font-size. No extra setting needed. Just the layout has to
provide the right WYSIWYM style in order to work correctly. Or why would
colors be different?
> However, the way to change it
> (typically for headings) is very often class-dependent (classes have
> their own idea on how customization shall be done).
A possibility would be to have a layout setting for allowing "standard"
customizations. Those could be either disabled/not enabled in classes
that are incompatible with the standards or, even better, be overwritten
by the appropriate custom command.
Daniel
More information about the lyx-users
mailing list