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
63 # Enumerate style definition
67 LatexType Item_Environment
83 # Description style definition
87 LatexType Item_environment
106 # Part style definition
125 # standard font definition
138 # Section style definition
143 LatexName lyxframeend{}\section
154 LabelString "Section \arabic{section}"
167 LabelStringAppendix "\Alph{section}"
171 # Section* style definition
176 LatexName lyxframeend{}\section*
181 # Subsection style definition
186 LatexName lyxframeend{}\subsection
196 LabelCounter subsection
197 LabelString "Subsection \arabic{section}.\arabic{subsection}"
201 # standard font definition
211 LabelStringAppendix "\arabic{section}.\arabic{subsection}"
215 # Subsection* style definition
220 LatexName lyxframeend{}\subsection*
225 # Subsubsection style definition
230 LatexName lyxframeend{}\subsubsection
240 LabelCounter subsubsection
241 LabelString "Subsubsection \arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
245 # standard font definition
255 LabelStringAppendix "\arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
259 # Subsubsection* style definition
261 CopyStyle Subsubsection
264 LatexName lyxframeend{}\subsubsection*
269 # Frame control definition
275 LatexName lyxframeend{}\lyxframe
302 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
303 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
304 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
305 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
306 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
307 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
308 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
312 Style BeginPlainFrame
317 LatexName lyxframeend{}\lyxplainframe
329 LabelString "Frame (no head/foot/sidebars)"
343 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
344 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
345 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
346 \frame<#1>[plain]{\frametitle{#2}#3}}
354 LatexName lyxframeend{}\lyxagainframe
367 LabelString "Again frame with label"
381 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
382 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
383 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
384 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
385 \againframe<#1>[#2]{#3}}
393 LatexName lyxframeend
403 LabelString "________________________________"
413 \def\lyxframeend{} % In case there is a superfluous frame end
417 # Frame decoration section
422 LatexName framesubtitle
432 # standard font definition
454 LabelString "Start column (increase depth!), width:"
456 LeftMargin "Start column (increase depth!), width:xx"
458 # standard font definition
470 LatexType Environment
478 LabelString "Columns"
479 LeftMargin "Columnsxx"
487 # font & label font definition
495 Style ColumnsCenterAligned
499 LatexType Environment
506 LatexName centercolumns}%{
507 LabelString "Columns (center aligned)"
508 LeftMargin "Columns (center aligned)xx"
516 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
518 # font & label font definition
526 Style ColumnsTopAligned
530 LatexType Environment
537 LatexName topcolumns}%{
538 LabelString "Columns (top aligned)"
539 LeftMargin "Columns (top aligned)xx"
547 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
549 # font & label font definition
557 # Frame progression section
574 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
587 LatexType Environment
595 LabelString "Overprint"
603 # font & label font definition
614 LatexType Environment
621 LatexName overlayarea
622 LabelString "Overlayarea"
629 # font & label font definition
640 LatexType Environment
646 LatexName uncoverenv}%{
648 LabelString "Uncovered on slides"
655 # font & label font definition
666 LatexType Environment
674 LabelString "Only on slides"
681 # font & label font definition
693 LatexType Environment
708 # font & label font definition
719 LatexType Environment
726 LatexName exampleblock
727 LabelString "Example Block:"
734 # font & label font definition
749 LatexType Environment
757 LabelString "Alert Block:"
764 # font & label font definition
776 # Title slide data section
777 # Title style definition
793 # standard font definition
802 Style Title_(Plain_Frame)
805 % plain title style, override default
806 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
825 # standard font definition
834 # Author style definition
849 # standard font definition
871 # standard font definition
878 InsetLayout "Flex:InstituteMark"
882 LabelString "Institute mark"
899 # Date style definition
914 # standard font definition
921 # Titles & bibliography section
922 # Bibliography style definition
926 LatexType Bib_Environment
927 LatexName thebibliography
936 LabelType Bibliography
937 LabelString "References"
940 # label font definition
950 LatexType Environment
951 LatexName quotation}%{
962 AlignPossible Block, Left, Right, Center
969 LatexType Environment
978 AlignPossible Block, Left, Right, Center
984 # LaTeX type is first dynamic because of LaTeX implementation.
985 # In LyX this does not make sense.
987 LatexType Environment
998 AlignPossible Block, Left
1008 LatexName titlegraphic
1017 # standard font definition
1026 # Theorems and such section
1029 Margin First_Dynamic
1030 LatexType Environment
1037 LatexName corollary}%{
1038 LabelString "Corollary."
1046 # font & label font definition
1057 LatexName definition}%{
1058 LabelString "Definition."
1063 LatexName definitions}%{
1064 LabelString "Definitions."
1069 LatexName example}%{
1070 LabelString "Example."
1080 LatexName examples}%{
1081 LabelString "Examples."
1094 LabelString "Proof."
1099 LatexName theorem}%{
1100 LabelString "Theorem."
1104 # Separator style definition
1112 AlignPossible Block, Left, Right, Center
1113 Margin First_Dynamic
1132 LatexType Environment
1140 AlignPossible Block, Left, Right, Center
1144 # define the environment lyxcode
1146 \newenvironment{lyxcode}
1147 {\par\begin{list}{}{
1148 \setlength{\rightmargin}{\leftmargin}
1149 \setlength{\listparindent}{0pt}% needed for AMS classes
1151 \setlength{\itemsep}{0pt}
1152 \setlength{\parsep}{0pt}
1153 \normalfont\ttfamily}%
1156 \def\textasciitilde{\char`\~}
1161 # standard font definition
1171 LatexName note[item]
1181 LeftMargin "Note:xx"
1183 # standard font definition
1191 # Input lyxmacros.inc
1195 InsetLayout Flex:Alert
1206 InsetLayout Flex:Structure
1208 LabelString Structure
1217 InsetLayout Flex:ArticleMode
1219 LatexName mode<article>
1227 InsetLayout Flex:PresentationMode
1229 LatexName mode<presentation>
1232 LabelString Presentation
1244 ListName "List of Tables"
1247 ListCommand listoftables
1258 ListName "List of Figures"
1261 ListCommand listoffigures
1265 # to give users the choice of a title frame with and without
1266 # head-/footline, we define our own maketitle command
1267 TitleLaTeXName makebeamertitle
1270 % this default might be overridden by plain title style
1271 \newcommand\makebeamertitle{\frame{\maketitle}}%
1273 \let\origtableofcontents=\tableofcontents
1274 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1275 \def\gobbletableofcontents#1{\origtableofcontents}
1279 Input theorems-refprefix.inc