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
258 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
259 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
260 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
261 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
262 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
263 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
264 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
269 Style BeginPlainFrame
272 LatexName lyxframeend{}\lyxplainframe
284 LabelString "Frame (no head/foot/sidebars)__"
299 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
300 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
301 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
302 \frame<#1>[plain]{\frametitle{#2}#3}}
310 LatexName lyxframeend{}\lyxagainframe
323 LabelString "Again frame with label__"
338 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
339 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
340 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
341 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
342 \againframe<#1>[#2]{#3}}
350 LatexName lyxframeend
361 LabelString "________________________________"
371 \def\lyxframeend{} % In case there is a superfluous frame end
375 # Frame decoration section
379 LatexName framesubtitle
390 # standard font definition
411 LabelString "start column (increase depth!), width:"
413 LeftMargin "start column (increase depth!), width:"
415 # standard font definition
427 LatexType Environment
435 LabelString "columns"
436 LeftMargin "columnsx"
444 # font & label font definition
452 Style ColumnsCenterAligned
455 LatexType Environment
462 LatexName centercolumns}%{
463 LabelString "columns (center aligned)"
464 LeftMargin "columns (center aligned) x"
472 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
474 # font & label font definition
482 Style ColumnsTopAligned
485 LatexType Environment
492 LatexName topcolumns}%{
493 LabelString "columns (top aligned)"
494 LeftMargin "columns (top aligned) x"
502 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
504 # font & label font definition
512 # Frame progression section
529 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
541 LatexType Environment
549 LabelString "overprint"
557 # font & label font definition
567 LatexType Environment
574 LatexName overlayarea
575 LabelString "overlayarea"
582 # font & label font definition
592 LatexType Environment
598 LatexName uncoverenv}%{
599 LabelString "uncovered on slides "
606 # font & label font definition
616 LatexType Environment
623 LabelString "only on slides_"
630 # font & label font definition
641 LatexType Environment
649 LabelString "block ( ERT[{title}] body ): "
656 # font & label font definition
666 LatexType Environment
673 LatexName exampleblock
674 LabelString "block ( ERT[{title}] example text ): "
681 # font & label font definition
695 LatexType Environment
703 LabelString "block ( ERT[{title}] alert text ): "
710 # font & label font definition
722 # Title slide data section
723 # Title style definition
739 # standard font definition
763 # standard font definition
772 # Author style definition
788 # standard font definition
811 # standard font definition
818 # Date style definition
834 # standard font definition
841 # Titles & bibliography section
842 # Bibliography style definition
845 LatexType Bib_Environment
846 LatexName thebibliography
856 LabelType Bibliography
857 LabelString "References"
860 # label font definition
871 LatexName titlegraphic
881 # standard font definition
891 # Theorems and such section
894 LatexType Environment
901 LatexName corollary}%{
902 LabelString "Corollary_"
910 # font & label font definition
921 LatexName definition}%{
922 LabelString "Definition. "
927 LatexName definitions}%{
928 LabelString "Definitions. "
934 LabelString "Example. "
944 LatexName examples}%{
945 LabelString "Examples. "
958 LabelString "Proof. "
964 LabelString "Theorem. "
968 # Separator style definition
975 AlignPossible Block, Left, Right, Center
994 LatexType Environment
1002 AlignPossible Block, Left, Right, Center
1006 # define the environment lyxcode
1008 \newenvironment{lyxcode}
1010 \setlength{\rightmargin}{\leftmargin}
1011 \setlength{\listparindent}{0pt}% needed for AMS classes
1013 \setlength{\itemsep}{0pt}
1014 \setlength{\parsep}{0pt}
1015 \normalfont\ttfamily}%
1018 \def\textasciitilde{\char`\~}
1023 # standard font definition
1032 LatexName note[item]
1040 LabelString "note: "
1044 # standard font definition
1052 # Input lyxmacros.inc
1081 ListName "List of Tables"
1092 ListName "List of Figures"
1096 TitleLaTeXName frame{\maketitle}
1101 \let\origtableofcontents=\tableofcontents
1102 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1103 \def\gobbletableofcontents#1{\origtableofcontents}