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
47 AlignPossible Block, Left, Right, Center
52 # Itemize style definition
56 LatexType Item_Environment
71 # Enumerate style definition
75 LatexType Item_Environment
90 # Description style definition
94 LatexType Item_environment
109 # label font definition
116 # Part style definition
134 # standard font definition
146 # Section style definition
151 LatexName lyxframeend{}\section
162 LabelString "Section \arabic{section}"
174 LabelStringAppendix "\Alph{section}"
178 # Section* style definition
183 LatexName lyxframeend{}\section*
188 # Subsection style definition
193 LatexName lyxframeend{}\subsection
203 LabelCounter subsection
204 LabelString "Subsection \arabic{section}.\arabic{subsection}"
207 # standard font definition
217 LabelStringAppendix "\arabic{section}.\arabic{subsection}"
221 # Subsection* style definition
226 LatexName lyxframeend{}\subsection*
231 # Frame control definition
237 LatexName lyxframeend{}\lyxframe
265 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
266 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
267 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
268 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
269 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
270 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
271 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
276 Style BeginPlainFrame
281 LatexName lyxframeend{}\lyxplainframe
293 LabelString "Frame (no head/foot/sidebars)"
308 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
309 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
310 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
311 \frame<#1>[plain]{\frametitle{#2}#3}}
320 LatexName lyxframeend{}\lyxagainframe
333 LabelString "Again frame with label"
348 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
349 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
350 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
351 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
352 \againframe<#1>[#2]{#3}}
361 LatexName lyxframeend
371 LabelString "________________________________"
381 \def\lyxframeend{} % In case there is a superfluous frame end
385 # Frame decoration section
390 LatexName framesubtitle
400 # standard font definition
422 LabelString "Start column (increase depth!), width:"
424 LeftMargin "Start column (increase depth!), width:xx"
426 # standard font definition
438 LatexType Environment
446 LabelString "Columns"
447 LeftMargin "Columnsxx"
455 # font & label font definition
463 Style ColumnsCenterAligned
467 LatexType Environment
474 LatexName centercolumns}%{
475 LabelString "Columns (center aligned)"
476 LeftMargin "Columns (center aligned)xx"
484 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
486 # font & label font definition
494 Style ColumnsTopAligned
498 LatexType Environment
505 LatexName topcolumns}%{
506 LabelString "Columns (top aligned)"
507 LeftMargin "Columns (top aligned)xx"
515 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
517 # font & label font definition
525 # Frame progression section
542 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
555 LatexType Environment
563 LabelString "Overprint"
571 # font & label font definition
582 LatexType Environment
589 LatexName overlayarea
590 LabelString "Overlayarea"
597 # font & label font definition
608 LatexType Environment
614 LatexName uncoverenv}%{
616 LabelString "Uncovered on slides"
623 # font & label font definition
634 LatexType Environment
642 LabelString "Only on slides"
649 # font & label font definition
661 LatexType Environment
669 LabelString "Block ( ERT[{title}] body ):"
676 # font & label font definition
687 LatexType Environment
694 LatexName exampleblock
695 LabelString "Block ( ERT[{title}] example text ):"
702 # font & label font definition
717 LatexType Environment
725 LabelString "Block ( ERT[{title}] alert text ):"
732 # font & label font definition
744 # Title slide data section
745 # Title style definition
761 # standard font definition
770 Style Title_(Plain_Frame)
773 % plain title style, override default
774 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
793 # standard font definition
802 # Author style definition
817 # standard font definition
839 # standard font definition
846 # Date style definition
861 # standard font definition
868 # Titles & bibliography section
869 # Bibliography style definition
873 LatexType Bib_Environment
874 LatexName thebibliography
883 LabelType Bibliography
884 LabelString "References"
887 # label font definition
897 LatexType Environment
898 LatexName quotation}%{
909 AlignPossible Block, Left, Right, Center
916 LatexType Environment
925 AlignPossible Block, Left, Right, Center
931 # LaTeX type is first dynamic because of LaTeX implementation.
932 # In LyX this does not make sense.
934 LatexType Environment
945 AlignPossible Block, Left
955 LatexName titlegraphic
964 # standard font definition
973 # Theorems and such section
977 LatexType Environment
984 LatexName corollary}%{
985 LabelString "Corollary."
993 # font & label font definition
1004 LatexName definition}%{
1005 LabelString "Definition."
1010 LatexName definitions}%{
1011 LabelString "Definitions."
1016 LatexName example}%{
1017 LabelString "Example."
1027 LatexName examples}%{
1028 LabelString "Examples."
1041 LabelString "Proof."
1046 LatexName theorem}%{
1047 LabelString "Theorem."
1051 # Separator style definition
1059 AlignPossible Block, Left, Right, Center
1060 Margin First_Dynamic
1079 LatexType Environment
1087 AlignPossible Block, Left, Right, Center
1091 # define the environment lyxcode
1093 \newenvironment{lyxcode}
1094 {\par\begin{list}{}{
1095 \setlength{\rightmargin}{\leftmargin}
1096 \setlength{\listparindent}{0pt}% needed for AMS classes
1098 \setlength{\itemsep}{0pt}
1099 \setlength{\parsep}{0pt}
1100 \normalfont\ttfamily}%
1103 \def\textasciitilde{\char`\~}
1108 # standard font definition
1118 LatexName note[item]
1128 LeftMargin "Note:xx"
1130 # standard font definition
1138 # Input lyxmacros.inc
1142 InsetLayout CharStyle:Alert
1153 InsetLayout CharStyle:Structure
1155 LabelString Structure
1164 InsetLayout Custom:ArticleMode
1166 LatexName mode<article>
1174 InsetLayout Custom:PresentationMode
1176 LatexName mode<presentation>
1179 LabelString Presentation
1191 ListName "List of Tables"
1203 ListName "List of Figures"
1208 # to give users the choice of a title frame with and without
1209 # head-/footline, we define our own maketitle command
1210 TitleLaTeXName makebeamertitle
1213 % this default might be overridden by plain title style
1214 \newcommand\makebeamertitle{\frame{\maketitle}}%
1216 \let\origtableofcontents=\tableofcontents
1217 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1218 \def\gobbletableofcontents#1{\origtableofcontents}