2008-04-16 13:43:11 +00:00
|
|
|
#% Do not delete the line below; configure depends on this
|
2012-10-09 05:24:32 +00:00
|
|
|
# \DeclareLaTeXClass[article,beamerarticle.sty,keyval.sty,pgf.sty]{Beamer Article (Standard Class)}
|
|
|
|
# \DeclareCategory{Articles}
|
2012-11-24 09:46:55 +00:00
|
|
|
# Author: Jürgen Spitzmüller <spitz@lyx.org>
|
2008-04-16 13:43:11 +00:00
|
|
|
|
2012-12-30 17:35:23 +00:00
|
|
|
Format 43
|
2008-04-16 13:43:11 +00:00
|
|
|
|
|
|
|
# Includes
|
|
|
|
Input beamer.layout
|
|
|
|
|
2009-08-13 16:10:38 +00:00
|
|
|
# override settings inherited from beamer.layout (Paul Rubin <rubin@msu.edu>)
|
|
|
|
Provides geometry 0
|
|
|
|
Provides hyperref 0
|
2012-10-15 06:33:36 +00:00
|
|
|
Provides color 0
|
|
|
|
Provides xcolor 0
|
2009-08-13 16:10:38 +00:00
|
|
|
|
2008-04-16 13:43:11 +00:00
|
|
|
Preamble
|
|
|
|
\usepackage{beamerarticle,pgf}
|
|
|
|
% this default might be overridden by plain title style
|
|
|
|
\newcommand\makebeamertitle{\frame{\maketitle}}%
|
|
|
|
\AtBeginDocument{
|
|
|
|
\let\origtableofcontents=\tableofcontents
|
|
|
|
\def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
|
|
|
|
\def\gobbletableofcontents#1{\origtableofcontents}
|
|
|
|
}
|
|
|
|
EndPreamble
|
|
|
|
|
2012-12-31 12:00:46 +00:00
|
|
|
##########################################
|
|
|
|
# OBSOLETE STUFF
|
|
|
|
# Everything below should be removed
|
|
|
|
# (but this is a file format change)
|
|
|
|
#
|
|
|
|
# TODO:
|
|
|
|
# * conversion of old frame
|
|
|
|
# and plain frame to new layout
|
|
|
|
##########################################
|
|
|
|
|
|
|
|
#
|
|
|
|
# Backwards compatible definitions
|
|
|
|
#
|
|
|
|
|
|
|
|
AddToPreamble
|
|
|
|
\providecommand\lyxframeend{}
|
|
|
|
EndPreamble
|
|
|
|
|
2008-04-16 13:43:11 +00:00
|
|
|
# Frame control definition
|
|
|
|
Style BeginFrame
|
|
|
|
# This redefinition is needed to make beamerarticle work
|
|
|
|
Preamble
|
|
|
|
\long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
|
|
|
|
\def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
|
|
|
|
\def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
|
|
|
|
\def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
|
|
|
|
\def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
|
|
|
|
\long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
|
|
|
|
\frame<#1>[#3]{\frametitle{#4}#5}}
|
|
|
|
EndPreamble
|
|
|
|
End
|