On Sat, 9 Feb 2002, Herbert Voss wrote:

> Allan Rae wrote:
>
> > the actual tarball is here:
> >     http://www.devel.lyx.org/~rae/LCA-2002-LyX-rae.tar.gz
>
> you are using the textclass pdfscreen. can you send
> the pdfscreen.layout to this list?

I'll add it to the tarball sometime soon.  In the meantime here is the
layout file.  It is a modified version of the one Dekel has posted a
few times.  I made some of the environments use Sans font so they look
more like the result -- note that many of the styles didn't get fixed
for this (they are the ones that the seminar didn't use ;-)

I'll try to remember to fix the other styles font settings in the
version bundled in the tarball (whenever I get around to that).

Allan. (ARRae)
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{slides (pdfscreen)}
# By Dekel Tsur <[EMAIL PROTECTED]>

# General textclass parameters

Sides   1
Columns 1

ClassOptions
        FontSize 8|9|10|11|12|14|17
        Other slidesec
End

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

####################################
#
#  Layout-specific preamble
#
#####################################


Preamble
  \newcounter{slidetype}
  \setcounter{slidetype}{0}
  \newcommand{\lyxendslide}{
     \ifcase \value{slidetype}%
          \or % no action for 0
          \end{slide}
     \fi%
     \setcounter{slidetype}{0}
  }
  \AtEndDocument{\lyxendslide}

\usepackage{hyperref}
\usepackage[screen,nopanel]{pdfscreen2}

EndPreamble


############################
#
# Standard style definition
# Always comes first.
#
############################

Style Standard
  Margin            Static
  LatexType         Paragraph
  LatexName         dummy
  ParIndent         M
  ParSkip           0.4
  Align             Block
  AlignPossible     Block, Left, Right, Center
  LabelType         No_Label
  Font
      Family        Sans
  EndFont
End

##############################
#
# New Definitions for Slides
#
##############################

Style Slide
  Margin                Dynamic
  LatexType             Command
  LatexName             lyxnewslide
  NeedProtect           1
  NextNoIndent          1
  ParSkip               0.4
  TopSep                1.3
  BottomSep             0.7
  ParSep                0.7
  Align                 Center
  AlignPossible         Block, Center, Left
  LabelType             Counter_Section
  LabelSep              xxx
  Font
    Series              Bold
    Size                Larger
  EndFont

  Preamble
  \newcommand{\lyxnewslide}[1]{
     \lyxendslide
     \setcounter{slidetype}{1}
     \begin{slide}
     \slideheading{#1}
  }
  EndPreamble
End

Style Slide*
  CopyStyle     Slide
  LatexName     lyxnewslidex
  Preamble
  \newcommand{\lyxnewslidex}[1]{
     \lyxendslide
     \setcounter{slidetype}{1}
     \begin{slide}
  }
  EndPreamble
End


Input stdclass.inc

# There are no chapters in an article.
NoStyle Chapter
NoStyle Chapter*

MaxCounter              Counter_Section
SecNumDepth             3
TocDepth                3

Style Itemize
      Font
          Family        Sans
      EndFont
End

# Change a bit Part and Part*
Style Part
  Align                 Left
  AlignPossible         Left
  TopSep                2
  BottomSep             1.5

  Font
    Size                Larger
  EndFont
End

Style Part*
  Align                 Left
  AlignPossible         Left
  TopSep                2
  BottomSep             1.5

  Font
    Size                Larger
  EndFont
End

Style Comment
  Margin                First_Dynamic
  NextNoIndent          0
  LeftMargin            MM
  RightMargin           MM
  LabelFont
     Color      magenta
  EndFont
End

Style Bibliography
  Font
      Family    Sans
  EndFont
End

Reply via email to