1 #% Do not delete the line below; configure depends on this
2 # \DeclareLaTeXClass[beamer,amssymb.sty,geometry.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
263 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
264 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
265 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
266 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
267 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
268 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
269 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
274 Style BeginPlainFrame
279 LatexName lyxframeend{}\lyxplainframe
291 LabelString "Frame (no head/foot/sidebars)"
306 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
307 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
308 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
309 \frame<#1>[plain]{\frametitle{#2}#3}}
318 LatexName lyxframeend{}\lyxagainframe
331 LabelString "Again frame with label"
346 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
347 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
348 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
349 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
350 \againframe<#1>[#2]{#3}}
359 LatexName lyxframeend
369 LabelString "________________________________"
379 \def\lyxframeend{} % In case there is a superfluous frame end
383 # Frame decoration section
388 LatexName framesubtitle
398 # standard font definition
420 LabelString "Start column (increase depth!), width:"
422 LeftMargin "Start column (increase depth!), width:xx"
424 # standard font definition
436 LatexType Environment
444 LabelString "Columns"
445 LeftMargin "Columnsxx"
453 # font & label font definition
461 Style ColumnsCenterAligned
465 LatexType Environment
472 LatexName centercolumns}%{
473 LabelString "Columns (center aligned)"
474 LeftMargin "Columns (center aligned)xx"
482 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
484 # font & label font definition
492 Style ColumnsTopAligned
496 LatexType Environment
503 LatexName topcolumns}%{
504 LabelString "Columns (top aligned)"
505 LeftMargin "Columns (top aligned)xx"
513 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
515 # font & label font definition
523 # Frame progression section
540 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
553 LatexType Environment
561 LabelString "Overprint"
569 # font & label font definition
580 LatexType Environment
587 LatexName overlayarea
588 LabelString "Overlayarea"
595 # font & label font definition
606 LatexType Environment
612 LatexName uncoverenv}%{
614 LabelString "Uncovered on slides"
621 # font & label font definition
632 LatexType Environment
640 LabelString "Only on slides"
647 # font & label font definition
659 LatexType Environment
675 # font & label font definition
686 LatexType Environment
693 LatexName exampleblock
694 LabelString "Example Block:"
702 # font & label font definition
717 LatexType Environment
725 LabelString "Alert Block:"
733 # font & label font definition
745 # Title slide data section
746 # Title style definition
762 # standard font definition
771 Style Title_(Plain_Frame)
774 % plain title style, override default
775 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
794 # standard font definition
803 # Author style definition
818 # standard font definition
840 # standard font definition
847 InsetLayout InstituteMark
851 LabelString "Institute mark"
868 # Date style definition
883 # standard font definition
890 # Titles & bibliography section
891 # Bibliography style definition
895 LatexType Bib_Environment
896 LatexName thebibliography
905 LabelType Bibliography
906 LabelString "References"
909 # label font definition
919 LatexType Environment
920 LatexName quotation}%{
931 AlignPossible Block, Left, Right, Center
938 LatexType Environment
947 AlignPossible Block, Left, Right, Center
953 # LaTeX type is first dynamic because of LaTeX implementation.
954 # In LyX this does not make sense.
956 LatexType Environment
967 AlignPossible Block, Left
977 LatexName titlegraphic
986 # standard font definition
995 # Theorems and such section
999 LatexType Environment
1006 LatexName corollary}%{
1007 LabelString "Corollary."
1015 # font & label font definition
1026 LatexName definition}%{
1027 LabelString "Definition."
1032 LatexName definitions}%{
1033 LabelString "Definitions."
1038 LatexName example}%{
1039 LabelString "Example."
1049 LatexName examples}%{
1050 LabelString "Examples."
1063 LabelString "Proof."
1068 LatexName theorem}%{
1069 LabelString "Theorem."
1073 # Separator style definition
1081 AlignPossible Block, Left, Right, Center
1082 Margin First_Dynamic
1101 LatexType Environment
1109 AlignPossible Block, Left, Right, Center
1113 # define the environment lyxcode
1115 \newenvironment{lyxcode}
1116 {\par\begin{list}{}{
1117 \setlength{\rightmargin}{\leftmargin}
1118 \setlength{\listparindent}{0pt}% needed for AMS classes
1120 \setlength{\itemsep}{0pt}
1121 \setlength{\parsep}{0pt}
1122 \normalfont\ttfamily}%
1125 \def\textasciitilde{\char`\~}
1130 # standard font definition
1140 LatexName note[item]
1150 LeftMargin "Note:xx"
1152 # standard font definition
1160 # Input lyxmacros.inc
1164 InsetLayout CharStyle:Alert
1175 InsetLayout CharStyle:Structure
1177 LabelString Structure
1186 InsetLayout Custom:ArticleMode
1188 LatexName mode<article>
1196 InsetLayout Custom:PresentationMode
1198 LatexName mode<presentation>
1201 LabelString Presentation
1213 ListName "List of Tables"
1215 ListCommand listoftables
1226 ListName "List of Figures"
1228 ListCommand listoffigures
1232 # to give users the choice of a title frame with and without
1233 # head-/footline, we define our own maketitle command
1234 TitleLaTeXName makebeamertitle
1237 % this default might be overridden by plain title style
1238 \newcommand\makebeamertitle{\frame{\maketitle}}%
1240 \let\origtableofcontents=\tableofcontents
1241 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1242 \def\gobbletableofcontents#1{\origtableofcontents}
1246 Input theorems-refprefix.inc