Part no greater font size than Chapter/Section

Richard Kimberly Heck rikiheck at lyx.org
Mon Aug 10 22:34:22 UTC 2020


On 8/10/20 1:31 PM, Jürgen Spitzmüller wrote:
> Am Montag, den 10.08.2020, 15:36 +0200 schrieb Daniel:
>>> The font sizes should be those used in the cls file. The right
>>> patch will be the one that does the same as the LaTeX source. It
>>> may depend on the class.
>>
>> I am not sure I follow you. There are no font size defined for the
>> book class in its cls file (book.cls). Instead it takes its sizes
>> from an inc file (stdsections.inc).
> No, book.cls defines its sizes in the \@makechapterhead macro. Other
> classes have different sizes (or even scalar sizes, such as KOMA).

Which means, I take it, that we should override the default font sizes
declared in stdsections.inc in book.layout, or scrartcl.layout, etc. A
first step, though, is to undo the incorrect override in article.layout,
which I've done.

Riki




More information about the lyx-devel mailing list