From 857f011e915d51a80e55b7ac14ebbd0a7e1330e2 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 4 Jan 2016 11:51:08 +0100 Subject: [PATCH] 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 --- lib/layouts/foils.layout | 4 ++++ lib/layouts/paper.layout | 19 +++++++++++-------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/lib/layouts/foils.layout b/lib/layouts/foils.layout index de5f152b66..2a7b29b0c5 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 4341bb8ebf..6978100ca7 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 -- 2.39.2