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
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
674 # font & label font definition
685 LatexType Environment
692 LatexName exampleblock
693 LabelString "Example Block:"
700 # font & label font definition
715 LatexType Environment
723 LabelString "Alert Block:"
730 # font & label font definition
742 # Title slide data section
743 # Title style definition
759 # standard font definition
768 Style Title_(Plain_Frame)
771 % plain title style, override default
772 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
791 # standard font definition
800 # Author style definition
815 # standard font definition
837 # standard font definition
844 InsetLayout InstituteMark
848 LabelString "Institute mark"
865 # Date style definition
880 # standard font definition
887 # Titles & bibliography section
888 # Bibliography style definition
892 LatexType Bib_Environment
893 LatexName thebibliography
902 LabelType Bibliography
903 LabelString "References"
906 # label font definition
916 LatexType Environment
917 LatexName quotation}%{
928 AlignPossible Block, Left, Right, Center
935 LatexType Environment
944 AlignPossible Block, Left, Right, Center
950 # LaTeX type is first dynamic because of LaTeX implementation.
951 # In LyX this does not make sense.
953 LatexType Environment
964 AlignPossible Block, Left
974 LatexName titlegraphic
983 # standard font definition
992 # Theorems and such section
996 LatexType Environment
1003 LatexName corollary}%{
1004 LabelString "Corollary."
1012 # font & label font definition
1023 LatexName definition}%{
1024 LabelString "Definition."
1029 LatexName definitions}%{
1030 LabelString "Definitions."
1035 LatexName example}%{
1036 LabelString "Example."
1046 LatexName examples}%{
1047 LabelString "Examples."
1060 LabelString "Proof."
1065 LatexName theorem}%{
1066 LabelString "Theorem."
1070 # Separator style definition
1078 AlignPossible Block, Left, Right, Center
1079 Margin First_Dynamic
1098 LatexType Environment
1106 AlignPossible Block, Left, Right, Center
1110 # define the environment lyxcode
1112 \newenvironment{lyxcode}
1113 {\par\begin{list}{}{
1114 \setlength{\rightmargin}{\leftmargin}
1115 \setlength{\listparindent}{0pt}% needed for AMS classes
1117 \setlength{\itemsep}{0pt}
1118 \setlength{\parsep}{0pt}
1119 \normalfont\ttfamily}%
1122 \def\textasciitilde{\char`\~}
1127 # standard font definition
1137 LatexName note[item]
1147 LeftMargin "Note:xx"
1149 # standard font definition
1157 # Input lyxmacros.inc
1161 InsetLayout Flex:Alert
1172 InsetLayout Flex:Structure
1174 LabelString Structure
1183 InsetLayout Flex:ArticleMode
1185 LatexName mode<article>
1193 InsetLayout Flex:PresentationMode
1195 LatexName mode<presentation>
1198 LabelString Presentation
1210 ListName "List of Tables"
1212 ListCommand listoftables
1223 ListName "List of Figures"
1225 ListCommand listoffigures
1229 # to give users the choice of a title frame with and without
1230 # head-/footline, we define our own maketitle command
1231 TitleLaTeXName makebeamertitle
1234 % this default might be overridden by plain title style
1235 \newcommand\makebeamertitle{\frame{\maketitle}}%
1237 \let\origtableofcontents=\tableofcontents
1238 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1239 \def\gobbletableofcontents#1{\origtableofcontents}
1243 Input theorems-refprefix.inc