X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fslides.layout;h=4f12ca329386b6a8a323ec0186a97d4ae05b730e;hb=72ee3a1b17a79b9098d14b2815d4c9ab4d85bf43;hp=54acef587645cddd8a77d9bd1423fa71c87041d9;hpb=12d02d04b2b26bdd49ca8dfcc0c53529c8a20f9d;p=lyx.git diff --git a/lib/layouts/slides.layout b/lib/layouts/slides.layout index 54acef5876..4f12ca3293 100644 --- a/lib/layouts/slides.layout +++ b/lib/layouts/slides.layout @@ -1,16 +1,18 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass{slides (default)} +# \DeclareLaTeXClass{Slides} +# \DeclareCategory{Presentations} # Slides textclass definition file. # Author : John Weiss # # Based on the Article textclass "article.layout" # -# General textclass parameters + +Format 36 Columns 1 Sides 1 PageStyle Plain -MaxCounter Counter_EnumI + DefaultFont Family Sans @@ -20,6 +22,7 @@ DefaultFont Color None EndFont + ClassOptions FontSize | Pagestyle plain|headings|empty @@ -27,13 +30,6 @@ ClassOptions End -##################################### -# -# Layout-specific preamble -# -##################################### - - Preamble \newcounter{slidetype} \setcounter{slidetype}{0} @@ -62,13 +58,6 @@ Preamble EndPreamble -############################ -# -# Standard style definition -# Always comes first. -# -############################ - Style Standard Margin Static LatexType Paragraph @@ -81,15 +70,25 @@ Style Standard End +# Note that the "Section" family of environments is missing, as is +# "Title" "Bibliograpy" "LaTeX-Title" "Author" "Abstract" and "Date". +# I may choose to reintroduce these and/or remove others at a later +# date. +# -jw 10/2/96 + +Input stdinsets.inc +Input stdlists.inc +Input stdlayouts.inc +Input lyxmacros.inc +Input stdcounters.inc +Input stdfloats.inc + +NoStyle Address +NoStyle Right_Address -############################## -# -# New Definitions for Slides -# -############################## -# Slide style definition Style Slide + TocLevel 1 LatexType Command LatexName lyxnewslide KeepEmpty 1 @@ -100,34 +99,32 @@ Style Slide BottomSep 1.0 ParSep 0.5 Align Left - AlignPossible Left LabelType Static LabelBottomSep 0.5 - LeftMargin MMMMxMMMMxxxNewSlide - LabelString "_____________________________NewSlide: " - - Font + LabelSep xx + LeftMargin "New Slide:xx" + LabelString "New Slide:" + Font Family Typewriter Series Bold Size Large Color Blue EndFont - LabelFont + LabelFont Family Typewriter Size Large Color Blue EndFont - Preamble - \newcommand{\lyxnewslide}[1]{ - \lyxendslide{.} - \setcounter{slidetype}{1} - \begin{slide} - } + \newcommand{\lyxnewslide}[1]{ + \lyxendslide{.} + \setcounter{slidetype}{1} + \begin{slide} + } EndPreamble End -# Overlay style definition + Style Overlay LatexType Command LatexName lyxnewoverlay @@ -139,37 +136,35 @@ Style Overlay BottomSep 1.0 ParSep 0.5 Align Left - AlignPossible Left LabelType Static LabelBottomSep 0.5 - LeftMargin MMMMxNewOverlay - LabelString "- - - - - - - - - - NewOverlay: " - - Font + LabelSep xx + LeftMargin "New Overlay:xx" + LabelString "New Overlay:" + Font Family Typewriter Series Bold Size Large Shape SmallCaps Color Magenta EndFont - LabelFont + LabelFont Family Typewriter Series Bold Size Large Shape SmallCaps Color Magenta EndFont - Preamble - \newcommand{\lyxnewoverlay}[1]{ - \lyxendslide{.} - \setcounter{slidetype}{2} - \begin{overlay} - } + \newcommand{\lyxnewoverlay}[1]{ + \lyxendslide{.} + \setcounter{slidetype}{2} + \begin{overlay} + } EndPreamble End -## Note style definition + Style Note LatexType Command LatexName lyxnewnote @@ -181,127 +176,78 @@ Style Note BottomSep 1.0 ParSep 0.5 Align Left - AlignPossible Left LabelType Static LabelBottomSep 0.5 - LeftMargin MMMMxMMxxNewNote - LabelString "........................NewNote: " - - Font + LabelSep xx + LeftMargin "New Note:xx" + LabelString "New Note:" + Font Family Typewriter Series Bold Size Large Shape Italic Color Magenta EndFont - LabelFont + LabelFont Family Typewriter Series Bold Size Large Shape Italic Color Magenta EndFont - Preamble - \newcommand{\lyxnewnote}[1]{ - \lyxendslide{.} - \setcounter{slidetype}{3} - \begin{note} - } + \newcommand{\lyxnewnote}[1]{ + \lyxendslide{.} + \setcounter{slidetype}{3} + \begin{note} + } EndPreamble End -## Invisible environment + Style InvisibleText LatexType Command LatexName lyxinvisible KeepEmpty 1 Margin Static Align Center - AlignPossible Center LabelType Static LabelString "" - - Font + Font Family Roman Size Normal Color Cyan EndFont - LabelFont + LabelFont Family Roman Size Normal Color Cyan EndFont - Preamble - \newcommand{\lyxinvisible}[1]{ - \invisible - } + \newcommand{\lyxinvisible}[1]{\invisible} EndPreamble End -## Visible environment + Style VisibleText LatexType Command LatexName lyxvisible KeepEmpty 1 Margin Static Align Center - AlignPossible Center LabelType Static LabelString "" - - Font + Font Family Roman Size Normal Color Green EndFont - LabelFont + LabelFont Family Roman Size Normal Color Green EndFont - Preamble - \newcommand{\lyxvisible}[1]{ - \visible - } + \newcommand{\lyxvisible}[1]{\visible} EndPreamble End - -######################################################################## -# -# Definitions taken from article.layout. -# -# Note that the "Section" family of environments is missing, as is -# "Title" "Bibliograpy" "LaTeX-Title" "Author" "Abstract" and "Date". -# -# I may choose to reintroduce these and/or remove others at a later -# date. -# -# -jw 10/2/96 -# -######################################################################## - -Input stdlists.inc -Input stdlayouts.inc -Input lyxmacros.inc -Input stdcounters.inc -Input stdfloats.inc - -#Input obsolete.inc - -# Style definition for end of a slide -Style End_All_Slides - ObsoletedBy Comment -End - -NoStyle Address -NoStyle Right_Address - - - - -############# -# -# End File