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
55 LabelString "Overlay Specifications"
57 Tooltip "Overlay specifications for this list"
70 # Enumerate style definition
74 LatexType Item_Environment
77 LabelString "Overlay Specifications"
79 Tooltip "Overlay specifications for this list"
82 LabelString "Mini template"
83 Tooltip "Mini template for this List"
98 # Description style definition
102 LatexType Item_environment
103 LatexName description
105 LabelString "Overlay Specifications"
107 Tooltip "Overlay specifications for this list"
110 LabelString "Longest label"
111 Tooltip "The longest label in this list"
129 # Part style definition
136 LabelString "Short Title"
138 Tooltip "The part as it appears in the table of contents/running headers"
152 # standard font definition
165 # Section style definition
170 LatexName lyxframeend{}\section
181 LabelString "Section \arabic{section}"
184 LabelString "Short Title"
186 Tooltip "The section as it appears in the table of contents/running headers"
198 LabelStringAppendix "\Alph{section}"
202 # Section* style definition
207 LatexName lyxframeend{}\section*
212 # Subsection style definition
217 LatexName lyxframeend{}\subsection
227 LabelCounter subsection
228 LabelString "Subsection \arabic{section}.\arabic{subsection}"
231 LabelString "Short Title"
233 Tooltip "The subsection as it appears in the table of contents/running headers"
236 # standard font definition
246 LabelStringAppendix "\arabic{section}.\arabic{subsection}"
250 # Subsection* style definition
255 LatexName lyxframeend{}\subsection*
260 # Subsubsection style definition
265 LatexName lyxframeend{}\subsubsection
275 LabelCounter subsubsection
276 LabelString "Subsubsection \arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
279 LabelString "Short Title"
281 Tooltip "The subsubsection as it appears in the table of contents/running headers"
284 # standard font definition
294 LabelStringAppendix "\arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
298 # Subsubsection* style definition
300 CopyStyle Subsubsection
303 LatexName lyxframeend{}\subsubsection*
308 # Frame control definition
314 LatexName lyxframeend{}\lyxframe
316 LabelString "Frame Options"
317 Tooltip "Frame options (see beamer manual)"
344 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
345 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
346 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
347 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
348 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
349 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
350 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
354 Style BeginPlainFrame
359 LatexName lyxframeend{}\lyxplainframe
371 LabelString "Frame (no head/foot/sidebars)"
385 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
386 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
387 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
388 \frame<#1>[plain]{\frametitle{#2}#3}}
396 LatexName lyxframeend{}\lyxagainframe
398 LabelString "Overlay Specifications"
400 Tooltip "Overlay specifications for this list"
403 LabelString "Frame Options"
404 Tooltip "Frame options (see beamer manual)"
417 LabelString "Again frame with label"
431 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
432 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
433 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
434 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
435 \againframe<#1>[#2]{#3}}
443 LatexName lyxframeend
453 LabelString "________________________________"
463 \def\lyxframeend{} % In case there is a superfluous frame end
467 # Frame decoration section
472 LatexName framesubtitle
481 # standard font definition
503 LabelString "Start column (increase depth!), width:"
505 LabelString "Column Options"
506 Tooltip "Column options (see beamer manual)"
508 LeftMargin "Start column (increase depth!), width:xx"
510 # standard font definition
522 LatexType Environment
530 LabelString "Columns"
531 LeftMargin "Columnsxx"
539 # font & label font definition
547 Style ColumnsCenterAligned
551 LatexType Environment
558 LatexName centercolumns}%{
559 LabelString "Columns (center aligned)"
560 LeftMargin "Columns (center aligned)xx"
568 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
570 # font & label font definition
578 Style ColumnsTopAligned
582 LatexType Environment
589 LatexName topcolumns}%{
590 LabelString "Columns (top aligned)"
591 LeftMargin "Columns (top aligned)xx"
599 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
601 # font & label font definition
609 # Frame progression section
617 LabelString "Pause number"
618 Tooltip "Number of slide where the pause takes effect"
629 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
642 LatexType Environment
650 LabelString "Overprint"
658 # font & label font definition
669 LatexType Environment
676 LatexName overlayarea
677 LabelString "Overlayarea"
684 # font & label font definition
695 LatexType Environment
701 LatexName uncoverenv}%{
703 LabelString "Uncovered on slides"
710 # font & label font definition
721 LatexType Environment
729 LabelString "Only on slides"
736 # font & label font definition
748 LatexType Environment
763 # font & label font definition
774 LatexType Environment
781 LatexName exampleblock
782 LabelString "Example Block:"
789 # font & label font definition
804 LatexType Environment
812 LabelString "Alert Block:"
819 # font & label font definition
831 # Title slide data section
832 # Title style definition
847 LabelString "Short Title"
849 Tooltip "Short title which appears in the sidebar/header"
852 # standard font definition
861 Style Title_(Plain_Frame)
864 % plain title style, override default
865 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
883 LabelString "Short Subtitle"
885 Tooltip "Short subtitle which appears in the sidebar/header"
888 # standard font definition
897 # Author style definition
911 LabelString "Short Author"
913 Tooltip "Short author which appears in the sidebar/header"
916 # standard font definition
937 LabelString "Short Institute"
939 Tooltip "Short institute which appears in the sidebar/header"
942 # standard font definition
949 InsetLayout "Flex:InstituteMark"
953 LabelString "Institute mark"
970 # Date style definition
984 LabelString "Short Date"
986 Tooltip "Short date which appears in the sidebar/header"
989 # standard font definition
996 # Titles & bibliography section
997 # Bibliography style definition
1000 Margin First_Dynamic
1001 LatexType Bib_Environment
1002 LatexName thebibliography
1011 LabelType Bibliography
1012 LabelString "References"
1015 # label font definition
1025 LatexType Environment
1026 LatexName quotation}%{
1037 AlignPossible Block, Left, Right, Center
1044 LatexType Environment
1053 AlignPossible Block, Left, Right, Center
1059 # LaTeX type is first dynamic because of LaTeX implementation.
1060 # In LyX this does not make sense.
1062 LatexType Environment
1064 Margin First_Dynamic
1073 AlignPossible Block, Left
1083 LatexName titlegraphic
1092 # standard font definition
1101 # Theorems and such section
1104 Margin First_Dynamic
1105 LatexType Environment
1112 LatexName corollary}%{
1113 LabelString "Corollary."
1121 # font & label font definition
1132 LatexName definition}%{
1133 LabelString "Definition."
1138 LatexName definitions}%{
1139 LabelString "Definitions."
1144 LatexName example}%{
1145 LabelString "Example."
1155 LatexName examples}%{
1156 LabelString "Examples."
1169 LabelString "Proof."
1174 LatexName theorem}%{
1175 LabelString "Theorem."
1179 # Separator style definition
1187 AlignPossible Block, Left, Right, Center
1188 Margin First_Dynamic
1207 LatexType Environment
1215 AlignPossible Block, Left, Right, Center
1219 # define the environment lyxcode
1221 \newenvironment{lyxcode}
1222 {\par\begin{list}{}{
1223 \setlength{\rightmargin}{\leftmargin}
1224 \setlength{\listparindent}{0pt}% needed for AMS classes
1226 \setlength{\itemsep}{0pt}
1227 \setlength{\parsep}{0pt}
1228 \normalfont\ttfamily}%
1231 \def\textasciitilde{\char`\~}
1236 # standard font definition
1246 LatexName note[item]
1255 LeftMargin "Note:xx"
1257 # standard font definition
1265 # Input lyxmacros.inc
1269 InsetLayout Flex:Alert
1280 InsetLayout Flex:Structure
1282 LabelString Structure
1291 InsetLayout Flex:ArticleMode
1293 LatexName mode<article>
1301 InsetLayout Flex:PresentationMode
1303 LatexName mode<presentation>
1306 LabelString Presentation
1318 ListName "List of Tables"
1321 ListCommand listoftables
1332 ListName "List of Figures"
1335 ListCommand listoffigures
1339 # to give users the choice of a title frame with and without
1340 # head-/footline, we define our own maketitle command
1341 TitleLaTeXName makebeamertitle
1344 % this default might be overridden by plain title style
1345 \newcommand\makebeamertitle{\frame{\maketitle}}%
1347 \let\origtableofcontents=\tableofcontents
1348 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1349 \def\gobbletableofcontents#1{\origtableofcontents}
1353 Input theorems-refprefix.inc