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|S"
56 Tooltip "Overlay specifications for this list"
69 # Enumerate style definition
73 LatexType Item_Environment
76 LabelString "Overlay Specifications|S"
77 Tooltip "Overlay specifications for this list"
80 LabelString "Mini template"
81 Tooltip "Mini template for this List"
96 # Description style definition
100 LatexType Item_environment
101 LatexName description
103 LabelString "Overlay Specifications|S"
104 Tooltip "Overlay specifications for this list"
107 LabelString "Longest label|s"
108 Tooltip "The longest label in this list"
126 # Part style definition
133 LabelString "Short Title|S"
134 Tooltip "The part as it appears in the table of contents/running headers"
148 # standard font definition
161 # Section style definition
166 LatexName lyxframeend{}\section
177 LabelString "Section \arabic{section}"
180 LabelString "Short Title|S"
181 Tooltip "The section as it appears in the table of contents/running headers"
193 LabelStringAppendix "\Alph{section}"
197 # Section* style definition
202 LatexName lyxframeend{}\section*
207 # Subsection style definition
212 LatexName lyxframeend{}\subsection
222 LabelCounter subsection
223 LabelString "Subsection \arabic{section}.\arabic{subsection}"
226 LabelString "Short Title|S"
227 Tooltip "The subsection as it appears in the table of contents/running headers"
230 # standard font definition
240 LabelStringAppendix "\arabic{section}.\arabic{subsection}"
244 # Subsection* style definition
249 LatexName lyxframeend{}\subsection*
254 # Subsubsection style definition
259 LatexName lyxframeend{}\subsubsection
269 LabelCounter subsubsection
270 LabelString "Subsubsection \arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
273 LabelString "Short Title|S"
274 Tooltip "The subsubsection as it appears in the table of contents/running headers"
277 # standard font definition
287 LabelStringAppendix "\arabic{section}.\arabic{subsection}.\arabic{subsubsection}"
291 # Subsubsection* style definition
293 CopyStyle Subsubsection
296 LatexName lyxframeend{}\subsubsection*
301 # Frame control definition
307 LatexName lyxframeend{}\lyxframe
309 LabelString "Frame Options"
310 Tooltip "Frame options (see beamer manual)"
337 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
338 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
339 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
340 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
341 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
342 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
343 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
347 Style BeginPlainFrame
352 LatexName lyxframeend{}\lyxplainframe
364 LabelString "Frame (no head/foot/sidebars)"
378 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
379 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
380 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
381 \frame<#1>[plain]{\frametitle{#2}#3}}
389 LatexName lyxframeend{}\lyxagainframe
391 LabelString "Overlay Specifications|S"
392 Tooltip "Overlay specifications for this list"
395 LabelString "Frame Options"
396 Tooltip "Frame options (see beamer manual)"
409 LabelString "Again frame with label"
423 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
424 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
425 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
426 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
427 \againframe<#1>[#2]{#3}}
435 LatexName lyxframeend
445 LabelString "________________________________"
455 \def\lyxframeend{} % In case there is a superfluous frame end
459 # Frame decoration section
464 LatexName framesubtitle
473 # standard font definition
495 LabelString "Start column (increase depth!), width:"
497 LabelString "Column Options"
498 Tooltip "Column options (see beamer manual)"
500 LeftMargin "Start column (increase depth!), width:xx"
502 # standard font definition
514 LatexType Environment
522 LabelString "Columns"
523 LeftMargin "Columnsxx"
526 LabelString "Columns Options"
527 Tooltip "Columns options (see beamer manual)"
536 # font & label font definition
544 Style ColumnsCenterAligned
548 LatexType Environment
555 LatexName centercolumns}%{
556 LabelString "Columns (center aligned)"
557 LeftMargin "Columns (center aligned)xx"
565 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
567 # font & label font definition
575 Style ColumnsTopAligned
579 LatexType Environment
586 LatexName topcolumns}%{
587 LabelString "Columns (top aligned)"
588 LeftMargin "Columns (top aligned)xx"
596 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
598 # font & label font definition
606 # Frame progression section
614 LabelString "Pause number"
615 Tooltip "Number of slide where the pause takes effect"
626 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
639 LatexType Environment
647 LabelString "Overprint"
655 # font & label font definition
666 LatexType Environment
673 LatexName overlayarea
674 LabelString "Overlayarea"
681 # font & label font definition
692 LatexType Environment
698 LatexName uncoverenv}%{
700 LabelString "Uncovered on slides"
707 # font & label font definition
718 LatexType Environment
726 LabelString "Only on slides"
733 # font & label font definition
745 LatexType Environment
760 # font & label font definition
771 LatexType Environment
778 LatexName exampleblock
779 LabelString "Example Block:"
786 # font & label font definition
801 LatexType Environment
809 LabelString "Alert Block:"
816 # font & label font definition
828 # Title slide data section
829 # Title style definition
844 LabelString "Short Title|S"
845 Tooltip "Short title which appears in the sidebar/header"
848 # standard font definition
857 Style Title_(Plain_Frame)
860 % plain title style, override default
861 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
879 LabelString "Short Subtitle|S"
880 Tooltip "Short subtitle which appears in the sidebar/header"
883 # standard font definition
892 # Author style definition
906 LabelString "Short Author|S"
907 Tooltip "Short author which appears in the sidebar/header"
910 # standard font definition
931 LabelString "Short Institute|S"
932 Tooltip "Short institute which appears in the sidebar/header"
935 # standard font definition
942 InsetLayout "Flex:InstituteMark"
946 LabelString "Institute mark"
963 # Date style definition
977 LabelString "Short Date|S"
978 Tooltip "Short date which appears in the sidebar/header"
981 # standard font definition
988 # Titles & bibliography section
989 # Bibliography style definition
993 LatexType Bib_Environment
994 LatexName thebibliography
1003 LabelType Bibliography
1004 LabelString "References"
1007 # label font definition
1017 LatexType Environment
1018 LatexName quotation}%{
1029 AlignPossible Block, Left, Right, Center
1036 LatexType Environment
1045 AlignPossible Block, Left, Right, Center
1051 # LaTeX type is first dynamic because of LaTeX implementation.
1052 # In LyX this does not make sense.
1054 LatexType Environment
1056 Margin First_Dynamic
1065 AlignPossible Block, Left
1075 LatexName titlegraphic
1084 # standard font definition
1093 # Theorems and such section
1096 Margin First_Dynamic
1097 LatexType Environment
1104 LatexName corollary}%{
1105 LabelString "Corollary."
1113 # font & label font definition
1124 LatexName definition}%{
1125 LabelString "Definition."
1130 LatexName definitions}%{
1131 LabelString "Definitions."
1136 LatexName example}%{
1137 LabelString "Example."
1147 LatexName examples}%{
1148 LabelString "Examples."
1161 LabelString "Proof."
1166 LatexName theorem}%{
1167 LabelString "Theorem."
1171 # Separator style definition
1179 AlignPossible Block, Left, Right, Center
1180 Margin First_Dynamic
1199 LatexType Environment
1207 AlignPossible Block, Left, Right, Center
1211 # define the environment lyxcode
1213 \newenvironment{lyxcode}
1214 {\par\begin{list}{}{
1215 \setlength{\rightmargin}{\leftmargin}
1216 \setlength{\listparindent}{0pt}% needed for AMS classes
1218 \setlength{\itemsep}{0pt}
1219 \setlength{\parsep}{0pt}
1220 \normalfont\ttfamily}%
1223 \def\textasciitilde{\char`\~}
1228 # standard font definition
1238 LatexName note[item]
1247 LeftMargin "Note:xx"
1249 # standard font definition
1257 # Input lyxmacros.inc
1261 InsetLayout Flex:Alert
1272 InsetLayout Flex:Structure
1274 LabelString Structure
1283 InsetLayout Flex:ArticleMode
1285 LatexName mode<article>
1293 InsetLayout Flex:PresentationMode
1295 LatexName mode<presentation>
1298 LabelString Presentation
1310 ListName "List of Tables"
1313 ListCommand listoftables
1324 ListName "List of Figures"
1327 ListCommand listoffigures
1331 # to give users the choice of a title frame with and without
1332 # head-/footline, we define our own maketitle command
1333 TitleLaTeXName makebeamertitle
1336 % this default might be overridden by plain title style
1337 \newcommand\makebeamertitle{\frame{\maketitle}}%
1339 \let\origtableofcontents=\tableofcontents
1340 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1341 \def\gobbletableofcontents#1{\origtableofcontents}
1345 Input theorems-refprefix.inc