1 #% Do not delete the line below; configure depends on this
2 # \DeclareLaTeXClass[beamer,pgf.sty,xcolor.sty]{presentation (beamer)}
3 # Author : Till Tantau <tantau@users.sourceforge.net>
5 # $Header: /cvsroot/latex-beamer/latex-beamer/lyx/layouts/beamer.layout,v 1.16 2004/10/07 20:53:07 tantau Exp $
13 # Is this needed? Could probably go -- MV 16/05/2007
16 Name lyxframeend{}\section
20 # General textclass parameters
36 # Standard style definition
44 AlignPossible Block, Left, Right, Center
49 # Itemize style definition
52 LatexType Item_Environment
68 # Enumerate style definition
71 LatexType Item_Environment
87 # Description style definition
90 LatexType Item_environment
106 # label font definition
113 # Part style definition
131 # standard font definition
143 # Section style definition
147 LatexName lyxframeend{}\section
159 LabelString "Section \arabic{section}"
171 LabelStringAppendix "\Alph{section}"
175 # Section* style definition
179 LatexName lyxframeend{}\section*
184 # Subsection style definition
188 LatexName lyxframeend{}\subsection
199 LabelCounter subsection
200 LabelString "Subsection \arabic{section}.\arabic{subsection}"
203 # standard font definition
213 LabelStringAppendix "\arabic{section}.\arabic{subsection}"
217 # Subsection* style definition
221 LatexName lyxframeend{}\subsection*
226 # Frame control definition
230 LatexName lyxframeend{}\lyxframe
259 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
260 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
261 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
262 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
263 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
264 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
265 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
270 Style BeginPlainFrame
273 LatexName lyxframeend{}\lyxplainframe
286 LabelString "Frame (no head/foot/sidebars)"
301 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
302 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
303 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
304 \frame<#1>[plain]{\frametitle{#2}#3}}
312 LatexName lyxframeend{}\lyxagainframe
326 LabelString "Again frame with label"
341 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
342 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
343 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
344 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
345 \againframe<#1>[#2]{#3}}
353 LatexName lyxframeend
364 LabelString "________________________________"
374 \def\lyxframeend{} % In case there is a superfluous frame end
378 # Frame decoration section
382 LatexName framesubtitle
393 # standard font definition
414 LabelString "Start column (increase depth!), width:"
416 LeftMargin "Start column (increase depth!), width:xx"
418 # standard font definition
429 LatexType Environment
437 LabelString "Columns"
438 LeftMargin "Columnsxx"
446 # font & label font definition
454 Style ColumnsCenterAligned
457 LatexType Environment
464 LatexName centercolumns}%{
465 LabelString "Columns (center aligned)"
466 LeftMargin "Columns (center aligned)xx"
474 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
476 # font & label font definition
484 Style ColumnsTopAligned
487 LatexType Environment
494 LatexName topcolumns}%{
495 LabelString "Columns (top aligned)"
496 LeftMargin "Columns (top aligned)xx"
504 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
506 # font & label font definition
514 # Frame progression section
531 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
543 LatexType Environment
551 LabelString "Overprint"
559 # font & label font definition
569 LatexType Environment
576 LatexName overlayarea
577 LabelString "Overlayarea"
584 # font & label font definition
594 LatexType Environment
600 LatexName uncoverenv}%{
602 LabelString "Uncovered on slides"
609 # font & label font definition
619 LatexType Environment
627 LabelString "Only on slides"
634 # font & label font definition
645 LatexType Environment
653 LabelString "Block ( ERT[{title}] body ):"
660 # font & label font definition
670 LatexType Environment
677 LatexName exampleblock
678 LabelString "Block ( ERT[{title}] example text ):"
685 # font & label font definition
699 LatexType Environment
707 LabelString "Block ( ERT[{title}] alert text ):"
714 # font & label font definition
726 # Title slide data section
727 # Title style definition
743 # standard font definition
767 # standard font definition
776 # Author style definition
791 # standard font definition
813 # standard font definition
820 # Date style definition
835 # standard font definition
842 # Titles & bibliography section
843 # Bibliography style definition
846 LatexType Bib_Environment
847 LatexName thebibliography
857 LabelType Bibliography
858 LabelString "References"
861 # label font definition
872 LatexName titlegraphic
882 # standard font definition
892 # Theorems and such section
895 LatexType Environment
902 LatexName corollary}%{
903 LabelString "Corollary."
911 # font & label font definition
922 LatexName definition}%{
923 LabelString "Definition."
928 LatexName definitions}%{
929 LabelString "Definitions."
935 LabelString "Example."
945 LatexName examples}%{
946 LabelString "Examples."
965 LabelString "Theorem."
969 # Separator style definition
976 AlignPossible Block, Left, Right, Center
995 LatexType Environment
1003 AlignPossible Block, Left, Right, Center
1007 # define the environment lyxcode
1009 \newenvironment{lyxcode}
1011 \setlength{\rightmargin}{\leftmargin}
1012 \setlength{\listparindent}{0pt}% needed for AMS classes
1014 \setlength{\itemsep}{0pt}
1015 \setlength{\parsep}{0pt}
1016 \normalfont\ttfamily}%
1019 \def\textasciitilde{\char`\~}
1024 # standard font definition
1033 LatexName note[item]
1043 LeftMargin "Note:xx"
1045 # standard font definition
1053 # Input lyxmacros.inc
1082 ListName "List of Tables"
1093 ListName "List of Figures"
1097 TitleLaTeXName frame{\maketitle}
1102 \let\origtableofcontents=\tableofcontents
1103 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1104 \def\gobbletableofcontents#1{\origtableofcontents}