1 #% Do not delete the line below; configure depends on this
2 # \DeclareLaTeXClass[beamer,amssymb.sty,hyperref.sty,pgf.sty,xcolor.sty,xxcolor.sty]{Beamer}
3 # \DeclareCategory{Presentations}
4 # Author : Till Tantau <tantau@users.sourceforge.net>
6 # $Header: /cvsroot/latex-beamer/latex-beamer/lyx/layouts/beamer.layout,v 1.16 2004/10/07 20:53:07 tantau Exp $
14 # General textclass parameters
34 # Standard style definition
43 AlignPossible Block, Left, Right, Center
48 # Itemize style definition
52 LatexType Item_Environment
66 # Enumerate style definition
70 LatexType Item_Environment
86 # Description style definition
90 LatexType Item_environment
109 # Part style definition
128 # standard font definition
141 # Section style definition
146 LatexName lyxframeend{}\section
157 LabelString "Section \arabic{section}"
170 LabelStringAppendix "\Alph{section}"
174 # Section* style definition
179 LatexName lyxframeend{}\section*
184 # Subsection style definition
189 LatexName lyxframeend{}\subsection
199 LabelCounter subsection
200 LabelString "Subsection \arabic{section}.\arabic{subsection}"
204 # standard font definition
214 LabelStringAppendix "\arabic{section}.\arabic{subsection}"
218 # Subsection* style definition
223 LatexName lyxframeend{}\subsection*
228 # Subsubsection style definition
233 LatexName lyxframeend{}\subsubsection
243 LabelCounter subsubsection
244 LabelString "Subsubsection \arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
248 # standard font definition
258 LabelStringAppendix "\arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
262 # Subsubsection* style definition
264 CopyStyle Subsubsection
267 LatexName lyxframeend{}\subsubsection*
272 # Frame control definition
278 LatexName lyxframeend{}\lyxframe
305 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
306 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
307 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
308 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
309 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
310 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
311 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
315 Style BeginPlainFrame
320 LatexName lyxframeend{}\lyxplainframe
332 LabelString "Frame (no head/foot/sidebars)"
346 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
347 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
348 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
349 \frame<#1>[plain]{\frametitle{#2}#3}}
357 LatexName lyxframeend{}\lyxagainframe
370 LabelString "Again frame with label"
384 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
385 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
386 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
387 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
388 \againframe<#1>[#2]{#3}}
396 LatexName lyxframeend
406 LabelString "________________________________"
416 \def\lyxframeend{} % In case there is a superfluous frame end
420 # Frame decoration section
425 LatexName framesubtitle
435 # standard font definition
457 LabelString "Start column (increase depth!), width:"
459 LeftMargin "Start column (increase depth!), width:xx"
461 # standard font definition
473 LatexType Environment
481 LabelString "Columns"
482 LeftMargin "Columnsxx"
490 # font & label font definition
498 Style ColumnsCenterAligned
502 LatexType Environment
509 LatexName centercolumns}%{
510 LabelString "Columns (center aligned)"
511 LeftMargin "Columns (center aligned)xx"
519 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
521 # font & label font definition
529 Style ColumnsTopAligned
533 LatexType Environment
540 LatexName topcolumns}%{
541 LabelString "Columns (top aligned)"
542 LeftMargin "Columns (top aligned)xx"
550 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
552 # font & label font definition
560 # Frame progression section
577 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
590 LatexType Environment
598 LabelString "Overprint"
606 # font & label font definition
617 LatexType Environment
624 LatexName overlayarea
625 LabelString "Overlayarea"
632 # font & label font definition
643 LatexType Environment
649 LatexName uncoverenv}%{
651 LabelString "Uncovered on slides"
658 # font & label font definition
669 LatexType Environment
677 LabelString "Only on slides"
684 # font & label font definition
696 LatexType Environment
711 # font & label font definition
722 LatexType Environment
729 LatexName exampleblock
730 LabelString "Example Block:"
737 # font & label font definition
752 LatexType Environment
760 LabelString "Alert Block:"
767 # font & label font definition
779 # Title slide data section
780 # Title style definition
796 # standard font definition
805 Style Title_(Plain_Frame)
808 % plain title style, override default
809 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
828 # standard font definition
837 # Author style definition
852 # standard font definition
874 # standard font definition
881 InsetLayout "Flex:InstituteMark"
885 LabelString "Institute mark"
902 # Date style definition
917 # standard font definition
924 # Titles & bibliography section
925 # Bibliography style definition
929 LatexType Bib_Environment
930 LatexName thebibliography
939 LabelType Bibliography
940 LabelString "References"
943 # label font definition
953 LatexType Environment
954 LatexName quotation}%{
965 AlignPossible Block, Left, Right, Center
972 LatexType Environment
981 AlignPossible Block, Left, Right, Center
987 # LaTeX type is first dynamic because of LaTeX implementation.
988 # In LyX this does not make sense.
990 LatexType Environment
1001 AlignPossible Block, Left
1011 LatexName titlegraphic
1020 # standard font definition
1029 # Theorems and such section
1032 Margin First_Dynamic
1033 LatexType Environment
1040 LatexName corollary}%{
1041 LabelString "Corollary."
1049 # font & label font definition
1060 LatexName definition}%{
1061 LabelString "Definition."
1066 LatexName definitions}%{
1067 LabelString "Definitions."
1072 LatexName example}%{
1073 LabelString "Example."
1083 LatexName examples}%{
1084 LabelString "Examples."
1097 LabelString "Proof."
1102 LatexName theorem}%{
1103 LabelString "Theorem."
1107 # Separator style definition
1115 AlignPossible Block, Left, Right, Center
1116 Margin First_Dynamic
1135 LatexType Environment
1143 AlignPossible Block, Left, Right, Center
1147 # define the environment lyxcode
1149 \newenvironment{lyxcode}
1150 {\par\begin{list}{}{
1151 \setlength{\rightmargin}{\leftmargin}
1152 \setlength{\listparindent}{0pt}% needed for AMS classes
1154 \setlength{\itemsep}{0pt}
1155 \setlength{\parsep}{0pt}
1156 \normalfont\ttfamily}%
1159 \def\textasciitilde{\char`\~}
1164 # standard font definition
1174 LatexName note[item]
1184 LeftMargin "Note:xx"
1186 # standard font definition
1194 # Input lyxmacros.inc
1198 InsetLayout Flex:Alert
1209 InsetLayout Flex:Structure
1211 LabelString Structure
1220 InsetLayout Flex:ArticleMode
1222 LatexName mode<article>
1230 InsetLayout Flex:PresentationMode
1232 LatexName mode<presentation>
1235 LabelString Presentation
1247 ListName "List of Tables"
1250 ListCommand listoftables
1261 ListName "List of Figures"
1264 ListCommand listoffigures
1268 # to give users the choice of a title frame with and without
1269 # head-/footline, we define our own maketitle command
1270 TitleLaTeXName makebeamertitle
1273 % this default might be overridden by plain title style
1274 \newcommand\makebeamertitle{\frame{\maketitle}}%
1276 \let\origtableofcontents=\tableofcontents
1277 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1278 \def\gobbletableofcontents#1{\origtableofcontents}
1282 Input theorems-refprefix.inc