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 $
14 # Is this needed? Could probably go -- MV 16/05/2007
17 Name lyxframeend{}\section
21 # General textclass parameters
38 # Standard style definition
46 AlignPossible Block, Left, Right, Center
51 # Itemize style definition
54 LatexType Item_Environment
69 # Enumerate style definition
72 LatexType Item_Environment
87 # Description style definition
90 LatexType Item_environment
105 # label font definition
112 # Part style definition
129 # standard font definition
141 # Section style definition
145 LatexName lyxframeend{}\section
156 LabelString "Section \arabic{section}"
168 LabelStringAppendix "\Alph{section}"
172 # Section* style definition
176 LatexName lyxframeend{}\section*
181 # Subsection style definition
185 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
227 LatexName lyxframeend{}\lyxframe
255 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
256 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
257 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
258 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
259 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
260 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
261 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
266 Style BeginPlainFrame
270 LatexName lyxframeend{}\lyxplainframe
282 LabelString "Frame (no head/foot/sidebars)"
297 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
298 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
299 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
300 \frame<#1>[plain]{\frametitle{#2}#3}}
308 LatexName lyxframeend{}\lyxagainframe
321 LabelString "Again frame with label"
336 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
337 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
338 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
339 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
340 \againframe<#1>[#2]{#3}}
348 LatexName lyxframeend
358 LabelString "________________________________"
368 \def\lyxframeend{} % In case there is a superfluous frame end
372 # Frame decoration section
376 LatexName framesubtitle
386 # standard font definition
407 LabelString "Start column (increase depth!), width:"
409 LeftMargin "Start column (increase depth!), width:xx"
411 # standard font definition
422 LatexType Environment
430 LabelString "Columns"
431 LeftMargin "Columnsxx"
439 # font & label font definition
447 Style ColumnsCenterAligned
450 LatexType Environment
457 LatexName centercolumns}%{
458 LabelString "Columns (center aligned)"
459 LeftMargin "Columns (center aligned)xx"
467 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
469 # font & label font definition
477 Style ColumnsTopAligned
480 LatexType Environment
487 LatexName topcolumns}%{
488 LabelString "Columns (top aligned)"
489 LeftMargin "Columns (top aligned)xx"
497 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
499 # font & label font definition
507 # Frame progression section
523 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
535 LatexType Environment
543 LabelString "Overprint"
551 # font & label font definition
561 LatexType Environment
568 LatexName overlayarea
569 LabelString "Overlayarea"
576 # font & label font definition
586 LatexType Environment
592 LatexName uncoverenv}%{
594 LabelString "Uncovered on slides"
601 # font & label font definition
611 LatexType Environment
619 LabelString "Only on slides"
626 # font & label font definition
637 LatexType Environment
645 LabelString "Block ( ERT[{title}] body ):"
652 # font & label font definition
662 LatexType Environment
669 LatexName exampleblock
670 LabelString "Block ( ERT[{title}] example text ):"
677 # font & label font definition
691 LatexType Environment
699 LabelString "Block ( ERT[{title}] alert text ):"
706 # font & label font definition
718 # Title slide data section
719 # Title style definition
734 # standard font definition
743 Style Title_(Plain_Frame)
746 % plain title style, override default
747 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
765 # standard font definition
774 # Author style definition
788 # standard font definition
809 # standard font definition
816 # Date style definition
830 # standard font definition
837 # Titles & bibliography section
838 # Bibliography style definition
841 LatexType Bib_Environment
842 LatexName thebibliography
851 LabelType Bibliography
852 LabelString "References"
855 # label font definition
866 LatexName titlegraphic
875 # standard font definition
885 # Theorems and such section
888 LatexType Environment
895 LatexName corollary}%{
896 LabelString "Corollary."
904 # font & label font definition
915 LatexName definition}%{
916 LabelString "Definition."
921 LatexName definitions}%{
922 LabelString "Definitions."
928 LabelString "Example."
938 LatexName examples}%{
939 LabelString "Examples."
958 LabelString "Theorem."
962 # Separator style definition
969 AlignPossible Block, Left, Right, Center
988 LatexType Environment
996 AlignPossible Block, Left, Right, Center
1000 # define the environment lyxcode
1002 \newenvironment{lyxcode}
1004 \setlength{\rightmargin}{\leftmargin}
1005 \setlength{\listparindent}{0pt}% needed for AMS classes
1007 \setlength{\itemsep}{0pt}
1008 \setlength{\parsep}{0pt}
1009 \normalfont\ttfamily}%
1012 \def\textasciitilde{\char`\~}
1017 # standard font definition
1026 LatexName note[item]
1036 LeftMargin "Note:xx"
1038 # standard font definition
1046 # Input lyxmacros.inc
1050 InsetLayout CharStyle:Alert
1061 InsetLayout CharStyle:Structure
1063 LabelString Structure
1079 ListName "List of Tables"
1090 ListName "List of Figures"
1094 # to give users the choice of a title frame with and without
1095 # head-/footline, we define our own maketitle command
1096 TitleLaTeXName makebeamertitle
1099 % this default might be overridden by plain title style
1100 \newcommand\makebeamertitle{\frame{\maketitle}}%
1102 \let\origtableofcontents=\tableofcontents
1103 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1104 \def\gobbletableofcontents#1{\origtableofcontents}