1 #% Do not delete the line below; configure depends on this
2 # \DeclareLaTeXClass[beamer,pgf.sty,xcolor.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
64 # Enumerate style definition
68 LatexType Item_Environment
83 # Description style definition
87 LatexType Item_environment
102 # label font definition
109 # Part style definition
127 # standard font definition
140 # Section style definition
145 LatexName lyxframeend{}\section
156 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}"
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
259 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
260 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
261 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
262 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
263 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
264 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
265 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
270 Style BeginPlainFrame
275 LatexName lyxframeend{}\lyxplainframe
287 LabelString "Frame (no head/foot/sidebars)"
302 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
303 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
304 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
305 \frame<#1>[plain]{\frametitle{#2}#3}}
314 LatexName lyxframeend{}\lyxagainframe
327 LabelString "Again frame with label"
342 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
343 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
344 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
345 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
346 \againframe<#1>[#2]{#3}}
355 LatexName lyxframeend
365 LabelString "________________________________"
375 \def\lyxframeend{} % In case there is a superfluous frame end
379 # Frame decoration section
384 LatexName framesubtitle
394 # standard font definition
416 LabelString "Start column (increase depth!), width:"
418 LeftMargin "Start column (increase depth!), width:xx"
420 # standard font definition
432 LatexType Environment
440 LabelString "Columns"
441 LeftMargin "Columnsxx"
449 # font & label font definition
457 Style ColumnsCenterAligned
461 LatexType Environment
468 LatexName centercolumns}%{
469 LabelString "Columns (center aligned)"
470 LeftMargin "Columns (center aligned)xx"
478 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
480 # font & label font definition
488 Style ColumnsTopAligned
492 LatexType Environment
499 LatexName topcolumns}%{
500 LabelString "Columns (top aligned)"
501 LeftMargin "Columns (top aligned)xx"
509 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
511 # font & label font definition
519 # Frame progression section
536 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
549 LatexType Environment
557 LabelString "Overprint"
565 # font & label font definition
576 LatexType Environment
583 LatexName overlayarea
584 LabelString "Overlayarea"
591 # font & label font definition
602 LatexType Environment
608 LatexName uncoverenv}%{
610 LabelString "Uncovered on slides"
617 # font & label font definition
628 LatexType Environment
636 LabelString "Only on slides"
643 # font & label font definition
655 LatexType Environment
663 LabelString "Block ( ERT[{title}] body ):"
670 # font & label font definition
681 LatexType Environment
688 LatexName exampleblock
689 LabelString "Block ( ERT[{title}] example text ):"
696 # font & label font definition
711 LatexType Environment
719 LabelString "Block ( ERT[{title}] alert text ):"
726 # font & label font definition
738 # Title slide data section
739 # Title style definition
755 # standard font definition
764 Style Title_(Plain_Frame)
767 % plain title style, override default
768 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
787 # standard font definition
796 # Author style definition
811 # standard font definition
833 # standard font definition
840 InsetLayout InstituteMark
844 LabelString "Institute mark"
861 # Date style definition
876 # standard font definition
883 # Titles & bibliography section
884 # Bibliography style definition
888 LatexType Bib_Environment
889 LatexName thebibliography
898 LabelType Bibliography
899 LabelString "References"
902 # label font definition
912 LatexType Environment
913 LatexName quotation}%{
924 AlignPossible Block, Left, Right, Center
931 LatexType Environment
940 AlignPossible Block, Left, Right, Center
946 # LaTeX type is first dynamic because of LaTeX implementation.
947 # In LyX this does not make sense.
949 LatexType Environment
960 AlignPossible Block, Left
970 LatexName titlegraphic
979 # standard font definition
988 # Theorems and such section
992 LatexType Environment
999 LatexName corollary}%{
1000 LabelString "Corollary."
1008 # font & label font definition
1019 LatexName definition}%{
1020 LabelString "Definition."
1025 LatexName definitions}%{
1026 LabelString "Definitions."
1031 LatexName example}%{
1032 LabelString "Example."
1042 LatexName examples}%{
1043 LabelString "Examples."
1056 LabelString "Proof."
1061 LatexName theorem}%{
1062 LabelString "Theorem."
1066 # Separator style definition
1074 AlignPossible Block, Left, Right, Center
1075 Margin First_Dynamic
1094 LatexType Environment
1102 AlignPossible Block, Left, Right, Center
1106 # define the environment lyxcode
1108 \newenvironment{lyxcode}
1109 {\par\begin{list}{}{
1110 \setlength{\rightmargin}{\leftmargin}
1111 \setlength{\listparindent}{0pt}% needed for AMS classes
1113 \setlength{\itemsep}{0pt}
1114 \setlength{\parsep}{0pt}
1115 \normalfont\ttfamily}%
1118 \def\textasciitilde{\char`\~}
1123 # standard font definition
1133 LatexName note[item]
1143 LeftMargin "Note:xx"
1145 # standard font definition
1153 # Input lyxmacros.inc
1157 InsetLayout CharStyle:Alert
1168 InsetLayout CharStyle:Structure
1170 LabelString Structure
1179 InsetLayout Custom:ArticleMode
1181 LatexName mode<article>
1189 InsetLayout Custom:PresentationMode
1191 LatexName mode<presentation>
1194 LabelString Presentation
1206 ListName "List of Tables"
1208 ListCommand listoftables
1219 ListName "List of Figures"
1221 ListCommand listoffigures
1225 # to give users the choice of a title frame with and without
1226 # head-/footline, we define our own maketitle command
1227 TitleLaTeXName makebeamertitle
1230 % this default might be overridden by plain title style
1231 \newcommand\makebeamertitle{\frame{\maketitle}}%
1233 \let\origtableofcontents=\tableofcontents
1234 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1235 \def\gobbletableofcontents#1{\origtableofcontents}