On 2020-08-09 18:56, Richard Kimberly Heck wrote:
On 8/9/20 7:41 AM, Daniel wrote:
On 2020-08-08 19:45, Daniel wrote:
Is there a reason that the font size for the Part layout is not
greater than that for the Chapter (Book) or Section (Article) layout?
There is a difference in size in both standard classes and KOMA
script classes. I know LyX is not WYSIWYG but shouldn't there be some
distinction in size anyway?
I was wrong.
The standard book layout might be fine. They fit the LaTeX output size
and are formatted as centered which makes them distinguishable. It
might be still be worth to format them in LyX with slightly larger
font size. But I guess that is optional.
The article sizes are definitely wrong. For example, the part* and
section* cannot be visually distinguished at all, see the attached
document. Since the article classes are based on the book classes, I
guess this was just a mistake when tweaking them.
The KOMA book classes actually use a slightly greater size for parts
which I would recommend adopting.
I could make a patch if that's desired.
Sure, go ahead.
Two patches attached.
article_sizes.diff: conservative in that it only corrects the article's
part font sizes, so that starred parts can be distinguished visually
from starred chapters in the work area.
sectioning_sizes.diff: more reversionary in that it matches font sizes
with their LaTeX equivalents.
Which is the better patch depends on what the reason for a difference to
LaTeX was. I am not sure what that reason might have been. Use less
space in the work area for headers?
--
Daniel
diff --git a/lib/layouts/article.layout b/lib/layouts/article.layout
index 56c4101f81..aac9ad5699 100644
--- a/lib/layouts/article.layout
+++ b/lib/layouts/article.layout
@@ -23,9 +23,6 @@ Style Part
AlignPossible Left
TopSep 2
BottomSep 1.5
- Font
- Size Larger
- EndFont
End
@@ -34,7 +31,4 @@ Style Part*
AlignPossible Left
TopSep 2
BottomSep 1.5
- Font
- Size Larger
- EndFont
End
diff --git a/lib/layouts/article.layout b/lib/layouts/article.layout
index 56c4101f81..f420572021 100644
--- a/lib/layouts/article.layout
+++ b/lib/layouts/article.layout
@@ -24,7 +24,7 @@ Style Part
TopSep 2
BottomSep 1.5
Font
- Size Larger
+ Size Huge
EndFont
End
@@ -35,6 +35,6 @@ Style Part*
TopSep 2
BottomSep 1.5
Font
- Size Larger
+ Size Huge
EndFont
End
diff --git a/lib/layouts/scrartcl.layout b/lib/layouts/scrartcl.layout
index 1b27e898df..57bdda58e1 100644
--- a/lib/layouts/scrartcl.layout
+++ b/lib/layouts/scrartcl.layout
@@ -24,7 +24,7 @@ Style Part
TopSep 2
BottomSep 1.5
Font
- Size Larger
+ Size Giant
EndFont
DocBookTag part
End
@@ -34,7 +34,7 @@ Style Part*
TopSep 2
BottomSep 1.5
Font
- Size Larger
+ Size Giant
EndFont
DocBookTag part
End
diff --git a/lib/layouts/scrclass.inc b/lib/layouts/scrclass.inc
index 1a41a4d9d6..a5a007389d 100644
--- a/lib/layouts/scrclass.inc
+++ b/lib/layouts/scrclass.inc
@@ -87,7 +87,7 @@ Style Chapter
Align Left
Font
Family Sans
- Size Largest
+ Size Huge
EndFont
End
diff --git a/lib/layouts/stdsections.inc b/lib/layouts/stdsections.inc
index fa42eacb28..3dc6790ecf 100644
--- a/lib/layouts/stdsections.inc
+++ b/lib/layouts/stdsections.inc
@@ -36,7 +36,7 @@ Style Part
EndArgument
Font
Series Bold
- Size Huge
+ Size Giant
EndFont
HTMLTag h1
DocBookTag title
@@ -71,7 +71,7 @@ Style Chapter
EndArgument
Font
Series Bold
- Size Huge
+ Size Giant
EndFont
HTMLTag h1
DocBookTag title
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel