X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fseminar.layout;h=91f661b8b0273d77cbb962282536b38900f683db;hb=eb53c60a8f2e3b9bf6fb783a893cc7814f94139f;hp=34f058d5e9593d2adf78c147a6dcd4ae65e88f3a;hpb=c48c33cf3a291432568f13947ec4025bac2e39ac;p=lyx.git diff --git a/lib/layouts/seminar.layout b/lib/layouts/seminar.layout index 34f058d5e9..91f661b8b0 100644 --- a/lib/layouts/seminar.layout +++ b/lib/layouts/seminar.layout @@ -1,26 +1,87 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass{transparencies (seminar)} +# \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 GM (adapted to LyX 1.5) -# 1.4 2008-10-08 GM (use --Separator-- "look") +# 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 19 +Format 45 Sides 1 Columns 1 ClassOptions FontSize 8|9|10|11|12|14|17 - Other slidesec + Other "slidesec,semrot,portrait" End # 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 +End + +InsetLayout Flex:PortraitSlide + CopyStyle Flex:LandscapeSlide + LabelString "Portrait Slide" + LatexName slide* +End + +# Note: \slideheading is only defined when the option slidesec is present +Style SlideHeading + CopyStyle Section* + LatexName slideheading + Align Center +End + +# Note: \slidesubheading is only defined when the option slidesec is present +Style SlideSubHeading + CopyStyle Subsection* + LatexName slidesubheading + Align Center +End + +InsetLayout Flex:ListOfSlides + CopyStyle Flex:LandscapeSlide + LabelString "List of Slides" + LatexType Command + LatexName listofslides + BgColor listingsbg + Spellcheck 0 +End + +InsetLayout Flex:SlideContents + CopyStyle Flex:ListOfSlides + LabelString "Slide Contents" + LatexName slidecontents +End + +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 LandscapeSlide CopyStyle --Separator-- LatexType Environment @@ -30,7 +91,7 @@ Style LandscapeSlide LeftMargin N ParIndent "" TopSep 0.4 - LabelType Top_Environment + LabelType Above LabelString "Landscape Slide:" End Style Slide @@ -43,7 +104,7 @@ Style PortraitSlide LabelString "Portrait Slide:" End Style Slide* - Obsoletedby PortraitSlide + ObsoletedBy PortraitSlide End # EndOfSlide was a dummy style whose main purpose is to separate subsequent @@ -53,20 +114,6 @@ Style EndOfSlide ObsoletedBy --Separator-- End -# Note: \slideheading is only defined when the option slidesec is present -Style SlideHeading - CopyStyle Section* - LatexName slideheading - Align Center -End - -# Note: \slidesubheading is only defined when the option slidesec is present -Style SlideSubHeading - CopyStyle Subsection* - LatexName slidesubheading - Align Center -End - Style ListOfSlides CopyStyle --Separator-- LatexType Command @@ -77,7 +124,6 @@ Style ListOfSlides # BottomSep 0 LabelString "[List Of Slides]" End - Style SlideContents CopyStyle ListOfSlides LatexName slidecontents @@ -89,4 +135,3 @@ Style ProgressContents LatexName Slidecontents LabelString "[Progress Contents]" End -