]> git.lyx.org Git - features.git/commitdiff
Improve visually text classes paper and foils
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 4 Jan 2016 10:51:08 +0000 (11:51 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 4 Jan 2016 18:54:43 +0000 (19:54 +0100)
This does not change output, only GUI.

paper: make sure that the starred sections use proper sans serif on screen.

foils: add relevant categories to layouts

lib/layouts/foils.layout
lib/layouts/paper.layout

index de5f152b66085b03653832de99d7dc8e84c16cd8..2a7b29b0c51e8a7afd0671f0fa9d0b6d86920782 100644 (file)
@@ -42,6 +42,7 @@ End
 
 
 Style Foilhead
+       Category              Sectioning
        TocLevel              1
        Margin                Static
        LatexType             Command
@@ -82,6 +83,7 @@ End
 Input stdlists.inc
 
 Style TickList
+       Category              List
        Margin                Static
        LatexType             Item_Environment
        LatexName             dinglist
@@ -101,6 +103,7 @@ Style TickList
 End
 
 Style CrossList
+       Category              List
        Margin                Static
        LatexType             Item_Environment
        LatexName             dinglist
@@ -160,6 +163,7 @@ End
 
 # Header definitions:
 Style My_Logo
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             MyLogo
index 4341bb8ebf2c60a15add5c51ad0edac5fdfee56f..6978100ca7e086891d13b2b26d4bfb47a2556037 100644 (file)
@@ -33,18 +33,13 @@ Input stdstruct.inc
 Input lyxmacros.inc
 Input stdlayouts.inc
 Input stdfloats.inc
-Input stdsections.inc
-Input stdstarsections.inc
 Input stdlists.inc
 Input stdcounters.inc
 Input stdciteformats.inc
 
-# There are no chapters in a paper.
-NoStyle                 Chapter
-NoCounter               chapter
-NoStyle                 Chapter*
+###### All the section headings now use sans serif
+Input stdsections.inc
 
-# All the section headings now use sans serif
 Style Part
        Align                 Left
        TopSep                2
@@ -107,8 +102,16 @@ Style Description
        EndFont
 End
 
+Input stdstarsections.inc
+
+# There are no chapters in a paper.
+NoStyle                 Chapter
+NoCounter               chapter
+NoStyle                 Chapter*
+
+
 
-# The \maketitle stuff is by default left justified.
+###### The \maketitle stuff is by default left justified.
 Style Title
        Align                 Left
        Font