commit 857f011e915d51a80e55b7ac14ebbd0a7e1330e2
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Mon Jan 4 11:51:08 2016 +0100

    Improve visually text classes paper and foils
    
    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

diff --git a/lib/layouts/foils.layout b/lib/layouts/foils.layout
index de5f152..2a7b29b 100644
--- a/lib/layouts/foils.layout
+++ b/lib/layouts/foils.layout
@@ -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
diff --git a/lib/layouts/paper.layout b/lib/layouts/paper.layout
index 4341bb8..6978100 100644
--- a/lib/layouts/paper.layout
+++ b/lib/layouts/paper.layout
@@ -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

Reply via email to