From 0b0167b4cc9ee4f911dc5ccdf7dd5fc36bf51897 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 +++++++++++-------- status.21x | 4 ++++ 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/lib/layouts/foils.layout b/lib/layouts/foils.layout index 2342a2cb4d..7b4cc75202 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 df35903788..504723a973 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 -# The \maketitle stuff is by default left justified. +# There are no chapters in a paper. +NoStyle Chapter +NoCounter chapter +NoStyle Chapter* + + + +###### The \maketitle stuff is by default left justified. Style Title Align Left Font diff --git a/status.21x b/status.21x index 430eab11d5..ab30ed39d9 100644 --- a/status.21x +++ b/status.21x @@ -126,6 +126,10 @@ What's new - Do not output returns and tabs in outliner. +- Fix on-screeb font of starred sections in paper text class. + +- Fix category of several layouts of the foils text class (UI only). + * INTERNALS