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
67 # Enumerate style definition
70 LatexType Item_Environment
85 # Description style definition
88 LatexType Item_environment
103 # label font definition
110 # Part style definition
127 # standard font definition
139 # Section style definition
143 LatexName lyxframeend{}\section
155 LabelString "Section \arabic{section}"
167 LabelStringAppendix "\Alph{section}"
171 # Section* style definition
175 LatexName lyxframeend{}\section*
180 # Subsection style definition
184 LatexName lyxframeend{}\subsection
195 LabelCounter subsection
196 LabelString "Subsection \arabic{section}.\arabic{subsection}"
199 # standard font definition
209 LabelStringAppendix "\arabic{section}.\arabic{subsection}"
213 # Subsection* style definition
217 LatexName lyxframeend{}\subsection*
222 # Frame control definition
226 LatexName lyxframeend{}\lyxframe
253 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
254 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
255 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
256 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
257 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
258 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
259 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
264 Style BeginPlainFrame
267 LatexName lyxframeend{}\lyxplainframe
279 LabelString "Frame (no head/foot/sidebars)__"
294 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
295 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
296 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
297 \frame<#1>[plain]{\frametitle{#2}#3}}
305 LatexName lyxframeend{}\lyxagainframe
317 LabelString "Again frame with label__"
332 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
333 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
334 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
335 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
336 \againframe<#1>[#2]{#3}}
344 LatexName lyxframeend
355 LabelString "________________________________"
365 \def\lyxframeend{} % In case there is a superfluous frame end
369 # Frame decoration section
373 LatexName framesubtitle
384 # standard font definition
405 LabelString "start column (increase depth!), width:"
407 LeftMargin "start column (increase depth!), width:"
409 # standard font definition
421 LatexType Environment
429 LabelString "columns"
430 LeftMargin "columnsx"
438 # font & label font definition
446 Style ColumnsCenterAligned
449 LatexType Environment
456 LatexName centercolumns}%{
457 LabelString "columns (center aligned)"
458 LeftMargin "columns (center aligned) x"
466 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
468 # font & label font definition
476 Style ColumnsTopAligned
479 LatexType Environment
486 LatexName topcolumns}%{
487 LabelString "columns (top aligned)"
488 LeftMargin "columns (top aligned) x"
496 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
498 # font & label font definition
506 # Frame progression section
522 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
534 LatexType Environment
542 LabelString "overprint"
550 # font & label font definition
560 LatexType Environment
567 LatexName overlayarea
568 LabelString "overlayarea"
575 # font & label font definition
585 LatexType Environment
591 LatexName uncoverenv}%{
592 LabelString "uncovered on slides "
599 # font & label font definition
609 LatexType Environment
616 LabelString "only on slides_"
623 # font & label font definition
634 LatexType Environment
642 LabelString "block ( ERT[{title}] body ): "
649 # font & label font definition
659 LatexType Environment
666 LatexName exampleblock
667 LabelString "block ( ERT[{title}] example text ): "
674 # font & label font definition
688 LatexType Environment
696 LabelString "block ( ERT[{title}] alert text ): "
703 # font & label font definition
715 # Title slide data section
716 # Title style definition
732 # standard font definition
756 # standard font definition
765 # Author style definition
781 # standard font definition
804 # standard font definition
811 # Date style definition
827 # standard font definition
834 # Titles & bibliography section
835 # Bibliography style definition
838 LatexType Bib_Environment
839 LatexName thebibliography
849 LabelType Bibliography
850 LabelString "References"
853 # label font definition
864 LatexName titlegraphic
874 # standard font definition
884 # Theorems and such section
887 LatexType Environment
894 LatexName corollary}%{
895 LabelString "Corollary_"
903 # font & label font definition
914 LatexName definition}%{
915 LabelString "Definition. "
920 LatexName definitions}%{
921 LabelString "Definitions. "
927 LabelString "Example. "
937 LatexName examples}%{
938 LabelString "Examples. "
951 LabelString "Proof. "
957 LabelString "Theorem. "
961 # Separator style definition
968 AlignPossible Block, Left, Right, Center
987 LatexType Environment
995 AlignPossible Block, Left, Right, Center
999 # define the environment lyxcode
1001 \newenvironment{lyxcode}
1003 \setlength{\rightmargin}{\leftmargin}
1004 \setlength{\listparindent}{0pt}% needed for AMS classes
1006 \setlength{\itemsep}{0pt}
1007 \setlength{\parsep}{0pt}
1008 \normalfont\ttfamily}%
1011 \def\textasciitilde{\char`\~}
1016 # standard font definition
1025 LatexName note[item]
1033 LabelString "note: "
1037 # standard font definition
1045 # Input lyxmacros.inc
1074 ListName "List of Tables"
1085 ListName "List of Figures"
1089 TitleLaTeXName frame{\maketitle}
1094 \let\origtableofcontents=\tableofcontents
1095 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1096 \def\gobbletableofcontents#1{\origtableofcontents}