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 # Frame control definition
231 LatexName lyxframeend{}\lyxframe
258 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
259 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
260 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
261 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
262 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
263 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
264 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
268 Style BeginPlainFrame
273 LatexName lyxframeend{}\lyxplainframe
285 LabelString "Frame (no head/foot/sidebars)"
299 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
300 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
301 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
302 \frame<#1>[plain]{\frametitle{#2}#3}}
310 LatexName lyxframeend{}\lyxagainframe
323 LabelString "Again frame with label"
337 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
338 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
339 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
340 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
341 \againframe<#1>[#2]{#3}}
349 LatexName lyxframeend
359 LabelString "________________________________"
369 \def\lyxframeend{} % In case there is a superfluous frame end
373 # Frame decoration section
378 LatexName framesubtitle
388 # standard font definition
410 LabelString "Start column (increase depth!), width:"
412 LeftMargin "Start column (increase depth!), width:xx"
414 # standard font definition
426 LatexType Environment
434 LabelString "Columns"
435 LeftMargin "Columnsxx"
443 # font & label font definition
451 Style ColumnsCenterAligned
455 LatexType Environment
462 LatexName centercolumns}%{
463 LabelString "Columns (center aligned)"
464 LeftMargin "Columns (center aligned)xx"
472 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
474 # font & label font definition
482 Style ColumnsTopAligned
486 LatexType Environment
493 LatexName topcolumns}%{
494 LabelString "Columns (top aligned)"
495 LeftMargin "Columns (top aligned)xx"
503 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
505 # font & label font definition
513 # Frame progression section
530 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
543 LatexType Environment
551 LabelString "Overprint"
559 # font & label font definition
570 LatexType Environment
577 LatexName overlayarea
578 LabelString "Overlayarea"
585 # font & label font definition
596 LatexType Environment
602 LatexName uncoverenv}%{
604 LabelString "Uncovered on slides"
611 # font & label font definition
622 LatexType Environment
630 LabelString "Only on slides"
637 # font & label font definition
649 LatexType Environment
664 # font & label font definition
675 LatexType Environment
682 LatexName exampleblock
683 LabelString "Example Block:"
690 # font & label font definition
705 LatexType Environment
713 LabelString "Alert Block:"
720 # font & label font definition
732 # Title slide data section
733 # Title style definition
749 # standard font definition
758 Style Title_(Plain_Frame)
761 % plain title style, override default
762 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
781 # standard font definition
790 # Author style definition
805 # standard font definition
827 # standard font definition
834 InsetLayout "Flex:InstituteMark"
838 LabelString "Institute mark"
855 # Date style definition
870 # standard font definition
877 # Titles & bibliography section
878 # Bibliography style definition
882 LatexType Bib_Environment
883 LatexName thebibliography
892 LabelType Bibliography
893 LabelString "References"
896 # label font definition
906 LatexType Environment
907 LatexName quotation}%{
918 AlignPossible Block, Left, Right, Center
925 LatexType Environment
934 AlignPossible Block, Left, Right, Center
940 # LaTeX type is first dynamic because of LaTeX implementation.
941 # In LyX this does not make sense.
943 LatexType Environment
954 AlignPossible Block, Left
964 LatexName titlegraphic
973 # standard font definition
982 # Theorems and such section
986 LatexType Environment
993 LatexName corollary}%{
994 LabelString "Corollary."
1002 # font & label font definition
1013 LatexName definition}%{
1014 LabelString "Definition."
1019 LatexName definitions}%{
1020 LabelString "Definitions."
1025 LatexName example}%{
1026 LabelString "Example."
1036 LatexName examples}%{
1037 LabelString "Examples."
1050 LabelString "Proof."
1055 LatexName theorem}%{
1056 LabelString "Theorem."
1060 # Separator style definition
1068 AlignPossible Block, Left, Right, Center
1069 Margin First_Dynamic
1088 LatexType Environment
1096 AlignPossible Block, Left, Right, Center
1100 # define the environment lyxcode
1102 \newenvironment{lyxcode}
1103 {\par\begin{list}{}{
1104 \setlength{\rightmargin}{\leftmargin}
1105 \setlength{\listparindent}{0pt}% needed for AMS classes
1107 \setlength{\itemsep}{0pt}
1108 \setlength{\parsep}{0pt}
1109 \normalfont\ttfamily}%
1112 \def\textasciitilde{\char`\~}
1117 # standard font definition
1127 LatexName note[item]
1137 LeftMargin "Note:xx"
1139 # standard font definition
1147 # Input lyxmacros.inc
1151 InsetLayout Flex:Alert
1162 InsetLayout Flex:Structure
1164 LabelString Structure
1173 InsetLayout Flex:ArticleMode
1175 LatexName mode<article>
1183 InsetLayout Flex:PresentationMode
1185 LatexName mode<presentation>
1188 LabelString Presentation
1200 ListName "List of Tables"
1203 ListCommand listoftables
1214 ListName "List of Figures"
1217 ListCommand listoffigures
1221 # to give users the choice of a title frame with and without
1222 # head-/footline, we define our own maketitle command
1223 TitleLaTeXName makebeamertitle
1226 % this default might be overridden by plain title style
1227 \newcommand\makebeamertitle{\frame{\maketitle}}%
1229 \let\origtableofcontents=\tableofcontents
1230 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1231 \def\gobbletableofcontents#1{\origtableofcontents}
1235 Input theorems-refprefix.inc