Hi,

Last day I tried to start making a new layout for the seminar classe.
But the results are not very gorgeous.

I've got problems with the definition of the slide environnement (\begin{slide} ... \end{slide}) in the layout :

- how to start a new slide in lyx without making the wole paragraph a slide one in lyx
- I want to start a new slide and then have the paragraph like a stantard one, with default font, ....

I've tried to put something like the slide definition in the slides.layout but it doesen't work

I've joined my first raw of the seminar.layout in this mail (yes I know it's very buggy )
Any comment or suggestions will be helpfull

Thank's.
Francois.

-- 
                              """
                              o o
+-----------------------ooO---(_)---Ooo---------------------------+
|                                                                 |
|                      François Beaubert                          |
|                   Ecole des Mines de Nantes                     |
|  4 rue Alfred Kastler BP 20722 44307 Nantes Cedex 3 France      |
| Telephone : (0/33)2.51.85.82.86  Telecopie : (0/33)2.51.85.82.99|
|                   [EMAIL PROTECTED]                      |
+-----------------------------------------------------------------+
 
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{seminar}
# Foils textclass definition file. 
# Created (1.Oct.96):   Alejandro Aguilar Sierra
# Enhanced (fonts & centering):  Jean-Marc Lasgouttes
# To do: Define class specific options.

# General textclass parameters
Columns                 1
Sides                   1
MaxCounter              Counter_Section

DefaultFont
  Family                Sans
  Series                Medium
  Shape                 Up
  Size                  Normal
  Color                 None
EndFont

ClassOptions
  FontSize   17|20|25|30
  PageStyle  "empty|plain|foilheadings|fancy"
  Other      "dvips"
End

# Standard style definition
Style Standard
  Margin                Static
  LatexType             Paragraph
  LatexName             dummy
  ParIndent             MM
  ParSkip               0.4
  Align                 Block
  AlignPossible         Block, Left, Right, Center
  LabelType             No_Label
End

# Slide style definition
Style Slide
  Margin                Static
  LatexType             Environment
  LatexName             slide
  LabelSep              xxx
  ParSkip               0.4
  TopSep                1.3
  BottomSep             0.7
  ParSep                0.7
  Align                 block
  AlignPossible         block,left,right,center
  LabelType             Top_Environment
  LabelString           "New Slide"

  # standard font definition
  LabelFont 
    Series              Bold
    Size                Larger
    Color               Blue    
  EndFont

End

# landscape foilhead style definition
Style Slide*
  Margin                Static
  LatexType             Environment
  LatexName             slide*
  LabelSep              xxx
  ParSkip               0.4
  TopSep                1.3
  BottomSep             0.7
  ParSep                0.7
  Align                 blockLeft
  AlignPossible         block,left,right,center
  LabelType             Static
  LabelString           "New Slide*"

  # standard font definition
  Font 
    Series              Bold
    Size                Larger
  EndFont

End

# Slideheading style definition
Style Slideheading
  Margin                Dynamic
  LatexType             Command
  LatexName             slideheading
  NeedProtect           1
  NextNoIndent          1
  LabelSep              xxx
  ParSkip               0.4
  TopSep                1.3
  BottomSep             0.7
  ParSep                0.7
  Align                 Center
  AlignPossible         Center
  LabelType             No_Label

  # standard font definition
  Font
    Series              Bold
    Size                Larger
  EndFont

  Preamble
    \usepackage{slidesec}
  EndPreamble
    
End
# Slidesubheading style definition
Style Slidesubheading
  Margin                Dynamic
  LatexType             Command
  LatexName             slidesubheading
  NeedProtect           1
  NextNoIndent          1
  LabelSep              xxx
  ParSkip               0.4
  TopSep                1.3
  BottomSep             0.7
  ParSep                0.7
  Align                 Center
  AlignPossible         Center, Left
  LabelType             No_Label

  # standard font definition
  Font
    Series              Bold
    Size                Large
  EndFont

  Preamble
    \usepackage{slidesec}
  EndPreamble
    
End

# then a few lists
Input stdlists.inc

# We add there a few additional lists that look good in foils.

# TickList style definition
Style TickList
  Margin                Static
  LatexType             Item_Environment
  LatexName             dinglist
  LatexParam            "{52}"
  NextNoIndent          1
  LeftMargin            MMN
  LabelSep              xx
  ItemSep               0.2
  TopSep                0.7
  BottomSep             0.7
  ParSep                0.3
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           _/
  
  Preamble
     \usepackage{pifont}
  EndPreamble
End

# CrossList style definition
Style CrossList
  Margin                Static
  LatexType             Item_Environment
  LatexName             dinglist
  LatexParam            "{56}"
  NextNoIndent          1
  LeftMargin            MMN
  LabelSep              xx
  ItemSep               0.2
  TopSep                0.7
  BottomSep             0.7
  ParSep                0.3
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           ><
  
  Preamble
    \usepackage{pifont}
  EndPreamble
End

# Then the Titles stuff.
Input stdstruct.inc

# Title style definition. 
Style Title
  Font 
    Series              Bold
    Size                Largest
  EndFont
End

# Author style definition
Style Author
  Font 
    Size                Large
  EndFont
End

# Date style definition
Style Date
  Font 
    Size                Large
  EndFont
End

# Abstract style definition
Style Abstract
  Font 
    Size                Normal
    Series              Medium
  EndFont
  
  LabelFont 
    Size                Large
    Series              Bold
  EndFont
End

# Bibliography style definition
Style Bibliography
  LabelFont 
    Size                Larger
    Series              Bold    
  EndFont
End

  


# Theorem-numbered style declaration
Style Theorem*
  CopyStyle             Theorem
  LatexName             Theorem*
  LabelString           "Theorem."
 End

# Lemma-numbered style declaration
Style Lemma*
  CopyStyle             Lemma
  LatexName             Lemma*
  LabelString           "Lemma."
End  

# Corollary-numbered style declaration
Style Corollary*
  CopyStyle             Corollary
  LatexName             Corollary*
  LabelString           "Corollary."
End  

# Proposition-numbered style declaration
Style Proposition*
  CopyStyle             Proposition
  LatexName             Proposition*
  LabelString           "Proposition."
End  

# Definition-numbered style declaration
Style Definition*
  CopyStyle             Definition
  LatexName             Definition*
  LabelString           "Definition."
End

# all the standard LaTeX environments
Input stdlayouts.inc

# Finally add a few weird LyX environments.
Input lyxmacros.inc

Reply via email to