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"
534 LabelString "Columns Options"
535 Tooltip "Columns options (see beamer manual)"
544 # font & label font definition
552 Style ColumnsCenterAligned
556 LatexType Environment
563 LatexName centercolumns}%{
564 LabelString "Columns (center aligned)"
565 LeftMargin "Columns (center aligned)xx"
573 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
575 # font & label font definition
583 Style ColumnsTopAligned
587 LatexType Environment
594 LatexName topcolumns}%{
595 LabelString "Columns (top aligned)"
596 LeftMargin "Columns (top aligned)xx"
604 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
606 # font & label font definition
614 # Frame progression section
622 LabelString "Pause number"
623 Tooltip "Number of slide where the pause takes effect"
634 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
647 LatexType Environment
655 LabelString "Overprint"
663 # font & label font definition
674 LatexType Environment
681 LatexName overlayarea
682 LabelString "Overlayarea"
689 # font & label font definition
700 LatexType Environment
706 LatexName uncoverenv}%{
708 LabelString "Uncovered on slides"
715 # font & label font definition
726 LatexType Environment
734 LabelString "Only on slides"
741 # font & label font definition
753 LatexType Environment
768 # font & label font definition
779 LatexType Environment
786 LatexName exampleblock
787 LabelString "Example Block:"
794 # font & label font definition
809 LatexType Environment
817 LabelString "Alert Block:"
824 # font & label font definition
836 # Title slide data section
837 # Title style definition
852 LabelString "Short Title"
854 Tooltip "Short title which appears in the sidebar/header"
857 # standard font definition
866 Style Title_(Plain_Frame)
869 % plain title style, override default
870 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
888 LabelString "Short Subtitle"
890 Tooltip "Short subtitle which appears in the sidebar/header"
893 # standard font definition
902 # Author style definition
916 LabelString "Short Author"
918 Tooltip "Short author which appears in the sidebar/header"
921 # standard font definition
942 LabelString "Short Institute"
944 Tooltip "Short institute which appears in the sidebar/header"
947 # standard font definition
954 InsetLayout "Flex:InstituteMark"
958 LabelString "Institute mark"
975 # Date style definition
989 LabelString "Short Date"
991 Tooltip "Short date which appears in the sidebar/header"
994 # standard font definition
1001 # Titles & bibliography section
1002 # Bibliography style definition
1005 Margin First_Dynamic
1006 LatexType Bib_Environment
1007 LatexName thebibliography
1016 LabelType Bibliography
1017 LabelString "References"
1020 # label font definition
1030 LatexType Environment
1031 LatexName quotation}%{
1042 AlignPossible Block, Left, Right, Center
1049 LatexType Environment
1058 AlignPossible Block, Left, Right, Center
1064 # LaTeX type is first dynamic because of LaTeX implementation.
1065 # In LyX this does not make sense.
1067 LatexType Environment
1069 Margin First_Dynamic
1078 AlignPossible Block, Left
1088 LatexName titlegraphic
1097 # standard font definition
1106 # Theorems and such section
1109 Margin First_Dynamic
1110 LatexType Environment
1117 LatexName corollary}%{
1118 LabelString "Corollary."
1126 # font & label font definition
1137 LatexName definition}%{
1138 LabelString "Definition."
1143 LatexName definitions}%{
1144 LabelString "Definitions."
1149 LatexName example}%{
1150 LabelString "Example."
1160 LatexName examples}%{
1161 LabelString "Examples."
1174 LabelString "Proof."
1179 LatexName theorem}%{
1180 LabelString "Theorem."
1184 # Separator style definition
1192 AlignPossible Block, Left, Right, Center
1193 Margin First_Dynamic
1212 LatexType Environment
1220 AlignPossible Block, Left, Right, Center
1224 # define the environment lyxcode
1226 \newenvironment{lyxcode}
1227 {\par\begin{list}{}{
1228 \setlength{\rightmargin}{\leftmargin}
1229 \setlength{\listparindent}{0pt}% needed for AMS classes
1231 \setlength{\itemsep}{0pt}
1232 \setlength{\parsep}{0pt}
1233 \normalfont\ttfamily}%
1236 \def\textasciitilde{\char`\~}
1241 # standard font definition
1251 LatexName note[item]
1260 LeftMargin "Note:xx"
1262 # standard font definition
1270 # Input lyxmacros.inc
1274 InsetLayout Flex:Alert
1285 InsetLayout Flex:Structure
1287 LabelString Structure
1296 InsetLayout Flex:ArticleMode
1298 LatexName mode<article>
1306 InsetLayout Flex:PresentationMode
1308 LatexName mode<presentation>
1311 LabelString Presentation
1323 ListName "List of Tables"
1326 ListCommand listoftables
1337 ListName "List of Figures"
1340 ListCommand listoffigures
1344 # to give users the choice of a title frame with and without
1345 # head-/footline, we define our own maketitle command
1346 TitleLaTeXName makebeamertitle
1349 % this default might be overridden by plain title style
1350 \newcommand\makebeamertitle{\frame{\maketitle}}%
1352 \let\origtableofcontents=\tableofcontents
1353 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1354 \def\gobbletableofcontents#1{\origtableofcontents}
1358 Input theorems-refprefix.inc