From c12e13f3ec853682453b6c9ef63f03c0a5d0b966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Sun, 15 Nov 2009 20:04:49 +0000 Subject: [PATCH] - tufte-book.layout: tufte book doesn't number things like in other book classes, therefore don't load the numreport.inc via book.layout - tufte-book.lyx: tufte book doesn't define an abstract environment - tufte-handout.layout: overwrite side and headings settings from tufte-book.layout git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32030 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/examples/tufte-book.lyx | 2 +- lib/layouts/tufte-book.layout | 17 +++++++++++++++-- lib/layouts/tufte-handout.layout | 5 ++++- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/lib/examples/tufte-book.lyx b/lib/examples/tufte-book.lyx index 4efa1db69d..055631f0ad 100644 --- a/lib/examples/tufte-book.lyx +++ b/lib/examples/tufte-book.lyx @@ -768,7 +768,7 @@ nobibliography Calculation of Volume: Sections 2.12–2.13 \end_layout -\begin_layout Abstract +\begin_layout Standard Imagine taking a function like \begin_inset Formula $y=\sqrt{x}$ \end_inset diff --git a/lib/layouts/tufte-book.layout b/lib/layouts/tufte-book.layout index 5afd10faeb..e96857e75d 100644 --- a/lib/layouts/tufte-book.layout +++ b/lib/layouts/tufte-book.layout @@ -2,13 +2,16 @@ # \DeclareLaTeXClass[tufte-book]{book (Tufte)} # tufte-book textclass definition file. # Jason Waskiewicz , 2009/10/18 -# Modified by Uwe Stöhr , 2009/10/27 +# Modified by Uwe Stöhr , 2009/11/15 Format 11 Provides geometry 1 Provides natbib-internal 1 +Sides 2 +PageStyle Headings + ClassOptions Other nohyper end @@ -26,8 +29,9 @@ End # import other layouts Input stdlayouts.inc -Input book.layout +Input stdclass.inc +NoStyle Abstract NoStyle Chapter NoStyle Section NoStyle Subsection @@ -208,4 +212,13 @@ Float Style plain ListName "List of Figures" LaTeXBuiltin true +End + +Style Bibliography + TopSep 4 + LabelString "Bibliography" + LabelFont + Series Bold + Size Huge + EndFont End \ No newline at end of file diff --git a/lib/layouts/tufte-handout.layout b/lib/layouts/tufte-handout.layout index d21f8dc23b..99f1456708 100644 --- a/lib/layouts/tufte-handout.layout +++ b/lib/layouts/tufte-handout.layout @@ -2,7 +2,7 @@ # \DeclareLaTeXClass[tufte-handout]{handout (Tufte)} # tufte-handout textclass definition file. # Juergen Spitzmueller , 2008/10/22 -# Modified by Uwe Stöhr , 2009/11/01 +# Modified by Uwe Stöhr , 2009/11/15 Format 11 @@ -11,6 +11,9 @@ Input stdlayouts.inc Input article.layout Input tufte-book.layout +Sides 1 +PageStyle plain + NoStyle Part NoStyle Chapter NoStyle Chapter*