X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fseminar.layout;h=9e81b53d8aa9ffbef0e87688150b3b3293b78f2b;hb=c476c3766cf74b3c95ca91f2fb0a0fd7f5df1110;hp=ac5f05842770da4493f65fdd00203f3b6edb70c4;hpb=8eb22fd0826b91264d5c7a7c1986d9f92ffdd520;p=lyx.git diff --git a/lib/layouts/seminar.layout b/lib/layouts/seminar.layout index ac5f058427..9e81b53d8a 100644 --- a/lib/layouts/seminar.layout +++ b/lib/layouts/seminar.layout @@ -1,116 +1,155 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass{presentation (seminar)} -# Initial attemt at makeing a LyX layout file for the seminar class. -# Author : Lars Gullik Bjønnes - -Format 5 -Input stdclass.inc - -NoStyle Chapter -NoStyle Chapter* - -Sides 1 -Columns 1 -SecNumDepth 3 -TocDepth 3 - +# \DeclareLaTeXClass[seminar,sem-page.sty]{Seminar} +# \DeclareCategory{Presentations} +# Versions: +# 1.0 Initial attemt at makeing a LyX layout file for the seminar class. +# Author : Lars Gullik Bjønnes +# 1.1 08-04-2002 Günter Milde +# 1.2 11-12-2002 Günter Milde (copying some stuff from L. G. Bjønnes +# version in LyX 1.3) +# 1.3 2007-09-18 Günter Milde (adapted to LyX 1.5) +# 1.4 2008-10-08 Günter Milde (use --Separator-- "look") +# 1.5 2011-06-09 Günter Milde (Use Flex insets) + +Format 76 +Sides 1 +Columns 1 ClassOptions - FontSize 8|9|10|11|12|14|17 - Other slidesec + FontSize 8|9|10|11|12|14|17 + Other "slidesec" End - -Style Part - Align Left - AlignPossible Left - TopSep 2 - BottomSep 1.5 - Font - Size Larger +# Input general definitions: (seminar is based on the article class) +Input article.layout + +InsetLayout Flex:LandscapeSlide + LabelString "Landscape Slide" + LatexType Environment + LatexName slide + LyXType custom + Decoration classic + MultiPar true + KeepEmpty true + LabelFont + Size Small EndFont + ResetsFont true End - -Style Part* - Align Left - AlignPossible Left - TopSep 2 - BottomSep 1.5 - Font - Size Larger - EndFont +InsetLayout Flex:PortraitSlide + CopyStyle Flex:LandscapeSlide + LabelString "Portrait Slide" + LatexName slide* End - -Style LandscapeSlide - CopyStyle Standard - LatexType Environment - LatexName slide - KeepEmpty 1 - Labeltype Static - LabelString "Landscape Slide" - LabelSep "MMMMMMM" +# Note: \slideheading is only defined when the option slidesec is present +Style SlideHeading + CopyStyle Section* + LatexName slideheading + Align Center End - -Style PortraitSlide - CopyStyle Standard - LatexType Environment - LatexName slide* - KeepEmpty 1 - Labeltype Static - LabelString "Portrait Slide" +# Note: \slidesubheading is only defined when the option slidesec is present +Style SlideSubHeading + CopyStyle Subsection* + LatexName slidesubheading + Align Center End -Style Slide - Obsoletedby LandscapeSlide +InsetLayout Flex:ListOfSlides + CopyStyle Flex:LandscapeSlide + LabelString "List of Slides" + LatexType Command + LyxType custom + LatexName listofslides + BgColor listingsbg + MultiPar false + Spellcheck false End +InsetLayout Flex:SlideContents + CopyStyle Flex:ListOfSlides + LabelString "Slide Contents" + LatexName slidecontents +End -Style Slide* - Obsoletedby PortraitSlide +InsetLayout Flex:ProgressContents + CopyStyle Flex:ListOfSlides + LabelString "Progress Contents" + LatexName Slidecontents End +# Compatibility definitions for old documents +# ------------------------------------------- +# +# It is recommended to use the custom insets instead of paragraph styles. -Style SlideHeading - CopyStyle Section - LatexName slideheading +Style LandscapeSlide + Category Slides + KeepEmpty 1 + LatexType Environment + LatexName slide + NextNoIndent 1 + Margin Static + LeftMargin N + ParIndent "" + TopSep 0.4 + Align Block + LabelType Above + LabelString "Landscape Slide:" + LabelFont + Family Roman + Series Medium + Size Normal + Color Blue + EndFont + HTMLLabel NONE End - -Style SlideSubHeading - CopyStyle Subsection - LatexName slidesubheading +Style Slide + Obsoletedby LandscapeSlide End +Style PortraitSlide + CopyStyle LandscapeSlide + LatexName slide* + LabelString "Portrait Slide:" +End +Style Slide* + ObsoletedBy PortraitSlide +End Style ListOfSlides - KeepEmpty 1 - Align Center - LatexType Command - LatexName listofslides - Labeltype Static - LabelString "List Of Slides" + Category "List/TOC" + KeepEmpty 1 + LatexType Command + LatexName listofslides + Margin Dynamic + ParIndent MM + TopSep 0.5 + BottomSep 0.5 + Align Center + LabelType Static + LabelString "[List Of Slides]" + LabelFont + Family Roman + Series Medium + Size Normal + Color Blue + EndFont + HTMLLabel NONE End - Style SlideContents - KeepEmpty 1 - Align Center - LatexType Command - LatexName slidecontents - Labeltype Static - LabelString "Slidecontents" + CopyStyle ListOfSlides + LatexName slidecontents + LabelString "[Slide Contents]" End - Style ProgressContents - KeepEmpty 1 - Align Center - LatexType Command - LatexName Slidecontents - Labeltype Static - LabelString "Progress Contents" + CopyStyle ListOfSlides + LatexName Slidecontents + LabelString "[Progress Contents]" End