mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
846dd9b995
The old layouts are still there (marked as deprecated). The new ones are more or less correctly reverted (polishment required), but the old ones not yet converted to the new. Once this is done, a further file format change should be made.
59 lines
1.7 KiB
Plaintext
59 lines
1.7 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[article,beamerarticle.sty,keyval.sty,pgf.sty]{Beamer Article (Standard Class)}
|
|
# \DeclareCategory{Articles}
|
|
# Author: Jürgen Spitzmüller <spitz@lyx.org>
|
|
|
|
Format 43
|
|
|
|
# Includes
|
|
Input beamer.layout
|
|
|
|
# override settings inherited from beamer.layout (Paul Rubin <rubin@msu.edu>)
|
|
Provides geometry 0
|
|
Provides hyperref 0
|
|
Provides color 0
|
|
Provides xcolor 0
|
|
|
|
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
|
|
|
|
##########################################
|
|
# 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
|
|
|
|
# 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
|