mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
2bb93b6c54
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25881 a592a061-630c-0410-9148-cb99ea01b6c8
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[article]{article (beamer)}
|
|
# Author: Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
|
|
|
Format 8
|
|
|
|
# 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
|
|
\def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
|
|
\def\gobbletableofcontents#1{\origtableofcontents}
|
|
}
|
|
EndPreamble
|
|
|
|
# Frame control definition
|
|
Style BeginFrame
|
|
# This redefinition is needed to make beamerarticle work
|
|
Preamble
|
|
\makeatletter
|
|
\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}}
|
|
\makeatother
|
|
EndPreamble
|
|
End
|