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)"
304 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
305 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
306 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
307 \frame<#1>[plain]{\frametitle{#2}#3}}
316 LatexName lyxframeend{}\lyxagainframe
329 LabelString "Again frame with label"
344 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
345 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
346 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
347 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
348 \againframe<#1>[#2]{#3}}
357 LatexName lyxframeend
367 LabelString "________________________________"
377 \def\lyxframeend{} % In case there is a superfluous frame end
381 # Frame decoration section
386 LatexName framesubtitle
396 # standard font definition
418 LabelString "Start column (increase depth!), width:"
420 LeftMargin "Start column (increase depth!), width:xx"
422 # standard font definition
434 LatexType Environment
442 LabelString "Columns"
443 LeftMargin "Columnsxx"
451 # font & label font definition
459 Style ColumnsCenterAligned
463 LatexType Environment
470 LatexName centercolumns}%{
471 LabelString "Columns (center aligned)"
472 LeftMargin "Columns (center aligned)xx"
480 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
482 # font & label font definition
490 Style ColumnsTopAligned
494 LatexType Environment
501 LatexName topcolumns}%{
502 LabelString "Columns (top aligned)"
503 LeftMargin "Columns (top aligned)xx"
511 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
513 # font & label font definition
521 # Frame progression section
538 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
551 LatexType Environment
559 LabelString "Overprint"
567 # font & label font definition
578 LatexType Environment
585 LatexName overlayarea
586 LabelString "Overlayarea"
593 # font & label font definition
604 LatexType Environment
610 LatexName uncoverenv}%{
612 LabelString "Uncovered on slides"
619 # font & label font definition
630 LatexType Environment
638 LabelString "Only on slides"
645 # font & label font definition
657 LatexType Environment
672 # font & label font definition
683 LatexType Environment
690 LatexName exampleblock
691 LabelString "Example Block:"
698 # font & label font definition
713 LatexType Environment
721 LabelString "Alert Block:"
728 # font & label font definition
740 # Title slide data section
741 # Title style definition
757 # standard font definition
766 Style Title_(Plain_Frame)
769 % plain title style, override default
770 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
789 # standard font definition
798 # Author style definition
813 # standard font definition
835 # standard font definition
842 InsetLayout InstituteMark
846 LabelString "Institute mark"
863 # Date style definition
878 # standard font definition
885 # Titles & bibliography section
886 # Bibliography style definition
890 LatexType Bib_Environment
891 LatexName thebibliography
900 LabelType Bibliography
901 LabelString "References"
904 # label font definition
914 LatexType Environment
915 LatexName quotation}%{
926 AlignPossible Block, Left, Right, Center
933 LatexType Environment
942 AlignPossible Block, Left, Right, Center
948 # LaTeX type is first dynamic because of LaTeX implementation.
949 # In LyX this does not make sense.
951 LatexType Environment
962 AlignPossible Block, Left
972 LatexName titlegraphic
981 # standard font definition
990 # Theorems and such section
994 LatexType Environment
1001 LatexName corollary}%{
1002 LabelString "Corollary."
1010 # font & label font definition
1021 LatexName definition}%{
1022 LabelString "Definition."
1027 LatexName definitions}%{
1028 LabelString "Definitions."
1033 LatexName example}%{
1034 LabelString "Example."
1044 LatexName examples}%{
1045 LabelString "Examples."
1058 LabelString "Proof."
1063 LatexName theorem}%{
1064 LabelString "Theorem."
1068 # Separator style definition
1076 AlignPossible Block, Left, Right, Center
1077 Margin First_Dynamic
1096 LatexType Environment
1104 AlignPossible Block, Left, Right, Center
1108 # define the environment lyxcode
1110 \newenvironment{lyxcode}
1111 {\par\begin{list}{}{
1112 \setlength{\rightmargin}{\leftmargin}
1113 \setlength{\listparindent}{0pt}% needed for AMS classes
1115 \setlength{\itemsep}{0pt}
1116 \setlength{\parsep}{0pt}
1117 \normalfont\ttfamily}%
1120 \def\textasciitilde{\char`\~}
1125 # standard font definition
1135 LatexName note[item]
1145 LeftMargin "Note:xx"
1147 # standard font definition
1155 # Input lyxmacros.inc
1159 InsetLayout Flex:Alert
1170 InsetLayout Flex:Structure
1172 LabelString Structure
1181 InsetLayout Flex:ArticleMode
1183 LatexName mode<article>
1191 InsetLayout Flex:PresentationMode
1193 LatexName mode<presentation>
1196 LabelString Presentation
1208 ListName "List of Tables"
1210 ListCommand listoftables
1221 ListName "List of Figures"
1223 ListCommand listoffigures
1227 # to give users the choice of a title frame with and without
1228 # head-/footline, we define our own maketitle command
1229 TitleLaTeXName makebeamertitle
1232 % this default might be overridden by plain title style
1233 \newcommand\makebeamertitle{\frame{\maketitle}}%
1235 \let\origtableofcontents=\tableofcontents
1236 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1237 \def\gobbletableofcontents#1{\origtableofcontents}
1241 Input theorems-refprefix.inc