beamerarticle.sty (from the beamer bundle) adds the nifty possibility to
create an enhanced handout/paper directly from a beamer presentation.

Attached are two layouts that support this: one uses article.cls, the other
one scrarticle.cls (layouts for any other article class can be built from
these models).

I'd like to include them in branch and trunk.

Objections to this?

Jürgen
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{article (beamer)}
# Author: Jürgen Spitzmüller <[EMAIL PROTECTED]>

Format 4

# Includes
Input beamer.layout

Preamble
        \usepackage{beamerarticle,pgf}
        % this default might be overridden by plain title style
        \newcommand\makebeamertitle{\frame{\maketitle}}%
        \AtBeginDocument{
                \let\origtableofcontents=\tableofcontents
                [EMAIL PROTECTED]
                \def\gobbletableofcontents#1{\origtableofcontents}
        }
EndPreamble

# Frame control definition
Style BeginFrame
  TocLevel         4
  KeepEmpty        1
  LatexType        Command
  LatexName        lyxframeend{}\lyxframe
  OptionalArgs     1
  Margin           First_Dynamic
  NextNoIndent     1
  ParSkip          0
  TopSep           2.5
  BottomSep        0.5
  ParSep           0
  Align            Center
  AlignPossible    Center
  LabelType        Static
  LabelBottomSep   0
  LeftMargin       M
  LabelSep         xx
  LabelString      "Frame"

  Font
    Series         Bold
    Size           Largest
    Color          Blue
  EndFont

  LabelFont 
    Family         Roman
    Color          latex
  EndFont

  Preamble
    \makeatletter
    [EMAIL PROTECTED]@lyxframestop}%
    [EMAIL PROTECTED]@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
    \def\@@lyxframe<#1>[EMAIL PROTECTED]@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
    \def\@@@lyxframe<#1>[EMAIL 
PROTECTED]<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
    \def\@@@@@lyxframe<#1>[EMAIL 
PROTECTED]@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
    \long\def\@@@@lyxframe<#1>[EMAIL PROTECTED]
      \frame<#1>[#3]{\frametitle{#4}#5}}
    \makeatother
  EndPreamble
End

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[scrartcl]{article (koma + beamer)}
# Author : Jürgen Spitzmüller <[EMAIL PROTECTED]>

Format 4

# Includes
Input beamer.layout

Preamble
        \usepackage{beamerarticle,pgf}
        % this default might be overridden by plain title style
        \newcommand\makebeamertitle{\frame{\maketitle}}%
        \AtBeginDocument{
                \let\origtableofcontents=\tableofcontents
                [EMAIL PROTECTED]
                \def\gobbletableofcontents#1{\origtableofcontents}
        }
EndPreamble

# Frame control definition
Style BeginFrame
  TocLevel         4
  KeepEmpty        1
  LatexType        Command
  LatexName        lyxframeend{}\lyxframe
  OptionalArgs     1
  Margin           First_Dynamic
  NextNoIndent     1
  ParSkip          0
  TopSep           2.5
  BottomSep        0.5
  ParSep           0
  Align            Center
  AlignPossible    Center
  LabelType        Static
  LabelBottomSep   0
  LeftMargin       M
  LabelSep         xx
  LabelString      "Frame"

  Font
    Series         Bold
    Size           Largest
    Color          Blue
  EndFont

  LabelFont 
    Family         Roman
    Color          latex
  EndFont

  Preamble
    \makeatletter
    [EMAIL PROTECTED]@lyxframestop}%
    [EMAIL PROTECTED]@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
    \def\@@lyxframe<#1>[EMAIL PROTECTED]@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
    \def\@@@lyxframe<#1>[EMAIL 
PROTECTED]<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
    \def\@@@@@lyxframe<#1>[EMAIL 
PROTECTED]@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
    \long\def\@@@@lyxframe<#1>[EMAIL PROTECTED]
      \frame<#1>[#3]{\frametitle{#4}#5}}
    \makeatother
  EndPreamble
End

Reply via email to