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
16 Name lyxframeend{}\section
20 # General textclass parameters
37 # Standard style definition
46 AlignPossible Block, Left, Right, Center
51 # Itemize style definition
55 LatexType Item_Environment
70 # Enumerate style definition
74 LatexType Item_Environment
89 # Description style definition
93 LatexType Item_environment
108 # label font definition
115 # Part style definition
133 # standard font definition
145 # Section style definition
150 LatexName lyxframeend{}\section
161 LabelString "Section \arabic{section}"
173 LabelStringAppendix "\Alph{section}"
177 # Section* style definition
182 LatexName lyxframeend{}\section*
187 # Subsection style definition
192 LatexName lyxframeend{}\subsection
202 LabelCounter subsection
203 LabelString "Subsection \arabic{section}.\arabic{subsection}"
206 # standard font definition
216 LabelStringAppendix "\arabic{section}.\arabic{subsection}"
220 # Subsection* style definition
225 LatexName lyxframeend{}\subsection*
230 # Frame control definition
236 LatexName lyxframeend{}\lyxframe
264 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
265 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
266 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
267 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
268 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
269 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
270 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
275 Style BeginPlainFrame
280 LatexName lyxframeend{}\lyxplainframe
292 LabelString "Frame (no head/foot/sidebars)"
307 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
308 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
309 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
310 \frame<#1>[plain]{\frametitle{#2}#3}}
319 LatexName lyxframeend{}\lyxagainframe
332 LabelString "Again frame with label"
347 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
348 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
349 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
350 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
351 \againframe<#1>[#2]{#3}}
360 LatexName lyxframeend
370 LabelString "________________________________"
380 \def\lyxframeend{} % In case there is a superfluous frame end
384 # Frame decoration section
389 LatexName framesubtitle
399 # standard font definition
421 LabelString "Start column (increase depth!), width:"
423 LeftMargin "Start column (increase depth!), width:xx"
425 # standard font definition
437 LatexType Environment
445 LabelString "Columns"
446 LeftMargin "Columnsxx"
454 # font & label font definition
462 Style ColumnsCenterAligned
466 LatexType Environment
473 LatexName centercolumns}%{
474 LabelString "Columns (center aligned)"
475 LeftMargin "Columns (center aligned)xx"
483 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
485 # font & label font definition
493 Style ColumnsTopAligned
497 LatexType Environment
504 LatexName topcolumns}%{
505 LabelString "Columns (top aligned)"
506 LeftMargin "Columns (top aligned)xx"
514 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
516 # font & label font definition
524 # Frame progression section
541 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
554 LatexType Environment
562 LabelString "Overprint"
570 # font & label font definition
581 LatexType Environment
588 LatexName overlayarea
589 LabelString "Overlayarea"
596 # font & label font definition
607 LatexType Environment
613 LatexName uncoverenv}%{
615 LabelString "Uncovered on slides"
622 # font & label font definition
633 LatexType Environment
641 LabelString "Only on slides"
648 # font & label font definition
660 LatexType Environment
668 LabelString "Block ( ERT[{title}] body ):"
675 # font & label font definition
686 LatexType Environment
693 LatexName exampleblock
694 LabelString "Block ( ERT[{title}] example text ):"
701 # font & label font definition
716 LatexType Environment
724 LabelString "Block ( ERT[{title}] alert text ):"
731 # font & label font definition
743 # Title slide data section
744 # Title style definition
760 # standard font definition
769 Style Title_(Plain_Frame)
772 % plain title style, override default
773 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
792 # standard font definition
801 # Author style definition
816 # standard font definition
838 # standard font definition
845 # Date style definition
860 # standard font definition
867 # Titles & bibliography section
868 # Bibliography style definition
872 LatexType Bib_Environment
873 LatexName thebibliography
882 LabelType Bibliography
883 LabelString "References"
886 # label font definition
896 LatexType Environment
897 LatexName quotation}%{
908 AlignPossible Block, Left, Right, Center
915 LatexType Environment
924 AlignPossible Block, Left, Right, Center
930 # LaTeX type is first dynamic because of LaTeX implementation.
931 # In LyX this does not make sense.
933 LatexType Environment
944 AlignPossible Block, Left
954 LatexName titlegraphic
963 # standard font definition
972 # Theorems and such section
976 LatexType Environment
983 LatexName corollary}%{
984 LabelString "Corollary."
992 # font & label font definition
1003 LatexName definition}%{
1004 LabelString "Definition."
1009 LatexName definitions}%{
1010 LabelString "Definitions."
1015 LatexName example}%{
1016 LabelString "Example."
1026 LatexName examples}%{
1027 LabelString "Examples."
1040 LabelString "Proof."
1045 LatexName theorem}%{
1046 LabelString "Theorem."
1050 # Separator style definition
1058 AlignPossible Block, Left, Right, Center
1059 Margin First_Dynamic
1078 LatexType Environment
1086 AlignPossible Block, Left, Right, Center
1090 # define the environment lyxcode
1092 \newenvironment{lyxcode}
1093 {\par\begin{list}{}{
1094 \setlength{\rightmargin}{\leftmargin}
1095 \setlength{\listparindent}{0pt}% needed for AMS classes
1097 \setlength{\itemsep}{0pt}
1098 \setlength{\parsep}{0pt}
1099 \normalfont\ttfamily}%
1102 \def\textasciitilde{\char`\~}
1107 # standard font definition
1117 LatexName note[item]
1127 LeftMargin "Note:xx"
1129 # standard font definition
1137 # Input lyxmacros.inc
1141 InsetLayout CharStyle:Alert
1152 InsetLayout CharStyle:Structure
1154 LabelString Structure
1163 InsetLayout Custom:ArticleMode
1165 LatexName mode<article>
1173 InsetLayout Custom:PresentationMode
1175 LatexName mode<presentation>
1178 LabelString Presentation
1190 ListName "List of Tables"
1202 ListName "List of Figures"
1207 # to give users the choice of a title frame with and without
1208 # head-/footline, we define our own maketitle command
1209 TitleLaTeXName makebeamertitle
1212 % this default might be overridden by plain title style
1213 \newcommand\makebeamertitle{\frame{\maketitle}}%
1215 \let\origtableofcontents=\tableofcontents
1216 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1217 \def\gobbletableofcontents#1{\origtableofcontents}