1 #% Do not delete the line below; configure depends on this
2 # \DeclareLaTeXClass[beamer,amssymb.sty,hyperref.sty,pgf.sty,xcolor.sty,xxcolor.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 # General textclass parameters
31 # Standard style definition
40 AlignPossible Block, Left, Right, Center
45 # Itemize style definition
49 LatexType Item_Environment
64 # Enumerate style definition
68 LatexType Item_Environment
84 # Description style definition
88 LatexType Item_environment
103 # label font definition
110 # Part style definition
129 # standard font definition
142 # Section style definition
147 LatexName lyxframeend{}\section
158 LabelString "Section \arabic{section}"
171 LabelStringAppendix "\Alph{section}"
175 # Section* style definition
180 LatexName lyxframeend{}\section*
185 # Subsection style definition
190 LatexName lyxframeend{}\subsection
200 LabelCounter subsection
201 LabelString "Subsection \arabic{section}.\arabic{subsection}"
205 # standard font definition
215 LabelStringAppendix "\arabic{section}.\arabic{subsection}"
219 # Subsection* style definition
224 LatexName lyxframeend{}\subsection*
229 # Frame control definition
235 LatexName lyxframeend{}\lyxframe
262 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
263 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
264 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
265 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
266 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
267 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
268 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
272 Style BeginPlainFrame
277 LatexName lyxframeend{}\lyxplainframe
289 LabelString "Frame (no head/foot/sidebars)"
303 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
304 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
305 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
306 \frame<#1>[plain]{\frametitle{#2}#3}}
314 LatexName lyxframeend{}\lyxagainframe
327 LabelString "Again frame with label"
341 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
342 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
343 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
344 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
345 \againframe<#1>[#2]{#3}}
353 LatexName lyxframeend
363 LabelString "________________________________"
373 \def\lyxframeend{} % In case there is a superfluous frame end
377 # Frame decoration section
382 LatexName framesubtitle
392 # standard font definition
414 LabelString "Start column (increase depth!), width:"
416 LeftMargin "Start column (increase depth!), width:xx"
418 # standard font definition
430 LatexType Environment
438 LabelString "Columns"
439 LeftMargin "Columnsxx"
447 # font & label font definition
455 Style ColumnsCenterAligned
459 LatexType Environment
466 LatexName centercolumns}%{
467 LabelString "Columns (center aligned)"
468 LeftMargin "Columns (center aligned)xx"
476 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
478 # font & label font definition
486 Style ColumnsTopAligned
490 LatexType Environment
497 LatexName topcolumns}%{
498 LabelString "Columns (top aligned)"
499 LeftMargin "Columns (top aligned)xx"
507 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
509 # font & label font definition
517 # Frame progression section
534 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
547 LatexType Environment
555 LabelString "Overprint"
563 # font & label font definition
574 LatexType Environment
581 LatexName overlayarea
582 LabelString "Overlayarea"
589 # font & label font definition
600 LatexType Environment
606 LatexName uncoverenv}%{
608 LabelString "Uncovered on slides"
615 # font & label font definition
626 LatexType Environment
634 LabelString "Only on slides"
641 # font & label font definition
653 LatexType Environment
668 # font & label font definition
679 LatexType Environment
686 LatexName exampleblock
687 LabelString "Example Block:"
694 # font & label font definition
709 LatexType Environment
717 LabelString "Alert Block:"
724 # font & label font definition
736 # Title slide data section
737 # Title style definition
753 # standard font definition
762 Style Title_(Plain_Frame)
765 % plain title style, override default
766 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
785 # standard font definition
794 # Author style definition
809 # standard font definition
831 # standard font definition
838 InsetLayout InstituteMark
842 LabelString "Institute mark"
859 # Date style definition
874 # standard font definition
881 # Titles & bibliography section
882 # Bibliography style definition
886 LatexType Bib_Environment
887 LatexName thebibliography
896 LabelType Bibliography
897 LabelString "References"
900 # label font definition
910 LatexType Environment
911 LatexName quotation}%{
922 AlignPossible Block, Left, Right, Center
929 LatexType Environment
938 AlignPossible Block, Left, Right, Center
944 # LaTeX type is first dynamic because of LaTeX implementation.
945 # In LyX this does not make sense.
947 LatexType Environment
958 AlignPossible Block, Left
968 LatexName titlegraphic
977 # standard font definition
986 # Theorems and such section
990 LatexType Environment
997 LatexName corollary}%{
998 LabelString "Corollary."
1006 # font & label font definition
1017 LatexName definition}%{
1018 LabelString "Definition."
1023 LatexName definitions}%{
1024 LabelString "Definitions."
1029 LatexName example}%{
1030 LabelString "Example."
1040 LatexName examples}%{
1041 LabelString "Examples."
1054 LabelString "Proof."
1059 LatexName theorem}%{
1060 LabelString "Theorem."
1064 # Separator style definition
1072 AlignPossible Block, Left, Right, Center
1073 Margin First_Dynamic
1092 LatexType Environment
1100 AlignPossible Block, Left, Right, Center
1104 # define the environment lyxcode
1106 \newenvironment{lyxcode}
1107 {\par\begin{list}{}{
1108 \setlength{\rightmargin}{\leftmargin}
1109 \setlength{\listparindent}{0pt}% needed for AMS classes
1111 \setlength{\itemsep}{0pt}
1112 \setlength{\parsep}{0pt}
1113 \normalfont\ttfamily}%
1116 \def\textasciitilde{\char`\~}
1121 # standard font definition
1131 LatexName note[item]
1141 LeftMargin "Note:xx"
1143 # standard font definition
1151 # Input lyxmacros.inc
1155 InsetLayout Flex:Alert
1166 InsetLayout Flex:Structure
1168 LabelString Structure
1177 InsetLayout Flex:ArticleMode
1179 LatexName mode<article>
1187 InsetLayout Flex:PresentationMode
1189 LatexName mode<presentation>
1192 LabelString Presentation
1204 ListName "List of Tables"
1206 ListCommand listoftables
1217 ListName "List of Figures"
1219 ListCommand listoffigures
1223 # to give users the choice of a title frame with and without
1224 # head-/footline, we define our own maketitle command
1225 TitleLaTeXName makebeamertitle
1228 % this default might be overridden by plain title style
1229 \newcommand\makebeamertitle{\frame{\maketitle}}%
1231 \let\origtableofcontents=\tableofcontents
1232 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1233 \def\gobbletableofcontents#1{\origtableofcontents}
1237 Input theorems-refprefix.inc