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
32 # Standard style definition
41 AlignPossible Block, Left, Right, Center
46 # Itemize style definition
50 LatexType Item_Environment
64 # Enumerate style definition
68 LatexType Item_Environment
84 # Description style definition
88 LatexType Item_environment
107 # Part style definition
126 # standard font definition
139 # Section style definition
144 LatexName lyxframeend{}\section
155 LabelString "Section \arabic{section}"
168 LabelStringAppendix "\Alph{section}"
172 # Section* style definition
177 LatexName lyxframeend{}\section*
182 # Subsection style definition
187 LatexName lyxframeend{}\subsection
197 LabelCounter subsection
198 LabelString "Subsection \arabic{section}.\arabic{subsection}"
202 # standard font definition
212 LabelStringAppendix "\arabic{section}.\arabic{subsection}"
216 # Subsection* style definition
221 LatexName lyxframeend{}\subsection*
226 # Subsubsection style definition
231 LatexName lyxframeend{}\subsubsection
241 LabelCounter subsubsection
242 LabelString "Subsubsection \arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
246 # standard font definition
256 LabelStringAppendix "\arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
260 # Subsubsection* style definition
262 CopyStyle Subsubsection
265 LatexName lyxframeend{}\subsubsection*
270 # Frame control definition
276 LatexName lyxframeend{}\lyxframe
303 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
304 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
305 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
306 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
307 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
308 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
309 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
313 Style BeginPlainFrame
318 LatexName lyxframeend{}\lyxplainframe
330 LabelString "Frame (no head/foot/sidebars)"
344 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
345 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
346 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
347 \frame<#1>[plain]{\frametitle{#2}#3}}
355 LatexName lyxframeend{}\lyxagainframe
368 LabelString "Again frame with label"
382 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
383 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
384 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
385 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
386 \againframe<#1>[#2]{#3}}
394 LatexName lyxframeend
404 LabelString "________________________________"
414 \def\lyxframeend{} % In case there is a superfluous frame end
418 # Frame decoration section
423 LatexName framesubtitle
433 # standard font definition
455 LabelString "Start column (increase depth!), width:"
457 LeftMargin "Start column (increase depth!), width:xx"
459 # standard font definition
471 LatexType Environment
479 LabelString "Columns"
480 LeftMargin "Columnsxx"
488 # font & label font definition
496 Style ColumnsCenterAligned
500 LatexType Environment
507 LatexName centercolumns}%{
508 LabelString "Columns (center aligned)"
509 LeftMargin "Columns (center aligned)xx"
517 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
519 # font & label font definition
527 Style ColumnsTopAligned
531 LatexType Environment
538 LatexName topcolumns}%{
539 LabelString "Columns (top aligned)"
540 LeftMargin "Columns (top aligned)xx"
548 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
550 # font & label font definition
558 # Frame progression section
575 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
588 LatexType Environment
596 LabelString "Overprint"
604 # font & label font definition
615 LatexType Environment
622 LatexName overlayarea
623 LabelString "Overlayarea"
630 # font & label font definition
641 LatexType Environment
647 LatexName uncoverenv}%{
649 LabelString "Uncovered on slides"
656 # font & label font definition
667 LatexType Environment
675 LabelString "Only on slides"
682 # font & label font definition
694 LatexType Environment
709 # font & label font definition
720 LatexType Environment
727 LatexName exampleblock
728 LabelString "Example Block:"
735 # font & label font definition
750 LatexType Environment
758 LabelString "Alert Block:"
765 # font & label font definition
777 # Title slide data section
778 # Title style definition
794 # standard font definition
803 Style Title_(Plain_Frame)
806 % plain title style, override default
807 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
826 # standard font definition
835 # Author style definition
850 # standard font definition
872 # standard font definition
879 InsetLayout "Flex:InstituteMark"
883 LabelString "Institute mark"
900 # Date style definition
915 # standard font definition
922 # Titles & bibliography section
923 # Bibliography style definition
927 LatexType Bib_Environment
928 LatexName thebibliography
937 LabelType Bibliography
938 LabelString "References"
941 # label font definition
951 LatexType Environment
952 LatexName quotation}%{
963 AlignPossible Block, Left, Right, Center
970 LatexType Environment
979 AlignPossible Block, Left, Right, Center
985 # LaTeX type is first dynamic because of LaTeX implementation.
986 # In LyX this does not make sense.
988 LatexType Environment
999 AlignPossible Block, Left
1009 LatexName titlegraphic
1018 # standard font definition
1027 # Theorems and such section
1030 Margin First_Dynamic
1031 LatexType Environment
1038 LatexName corollary}%{
1039 LabelString "Corollary."
1047 # font & label font definition
1058 LatexName definition}%{
1059 LabelString "Definition."
1064 LatexName definitions}%{
1065 LabelString "Definitions."
1070 LatexName example}%{
1071 LabelString "Example."
1081 LatexName examples}%{
1082 LabelString "Examples."
1095 LabelString "Proof."
1100 LatexName theorem}%{
1101 LabelString "Theorem."
1105 # Separator style definition
1113 AlignPossible Block, Left, Right, Center
1114 Margin First_Dynamic
1133 LatexType Environment
1141 AlignPossible Block, Left, Right, Center
1145 # define the environment lyxcode
1147 \newenvironment{lyxcode}
1148 {\par\begin{list}{}{
1149 \setlength{\rightmargin}{\leftmargin}
1150 \setlength{\listparindent}{0pt}% needed for AMS classes
1152 \setlength{\itemsep}{0pt}
1153 \setlength{\parsep}{0pt}
1154 \normalfont\ttfamily}%
1157 \def\textasciitilde{\char`\~}
1162 # standard font definition
1172 LatexName note[item]
1182 LeftMargin "Note:xx"
1184 # standard font definition
1192 # Input lyxmacros.inc
1196 InsetLayout Flex:Alert
1207 InsetLayout Flex:Structure
1209 LabelString Structure
1218 InsetLayout Flex:ArticleMode
1220 LatexName mode<article>
1228 InsetLayout Flex:PresentationMode
1230 LatexName mode<presentation>
1233 LabelString Presentation
1245 ListName "List of Tables"
1248 ListCommand listoftables
1259 ListName "List of Figures"
1262 ListCommand listoffigures
1266 # to give users the choice of a title frame with and without
1267 # head-/footline, we define our own maketitle command
1268 TitleLaTeXName makebeamertitle
1271 % this default might be overridden by plain title style
1272 \newcommand\makebeamertitle{\frame{\maketitle}}%
1274 \let\origtableofcontents=\tableofcontents
1275 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1276 \def\gobbletableofcontents#1{\origtableofcontents}
1280 Input theorems-refprefix.inc