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
128 # standard font definition
141 # Section style definition
146 LatexName lyxframeend{}\section
157 LabelString "Section \arabic{section}"
170 LabelStringAppendix "\Alph{section}"
174 # Section* style definition
179 LatexName lyxframeend{}\section*
184 # Subsection style definition
189 LatexName lyxframeend{}\subsection
199 LabelCounter subsection
200 LabelString "Subsection \arabic{section}.\arabic{subsection}"
204 # standard font definition
214 LabelStringAppendix "\arabic{section}.\arabic{subsection}"
218 # Subsection* style definition
223 LatexName lyxframeend{}\subsection*
228 # Frame control definition
234 LatexName lyxframeend{}\lyxframe
262 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
263 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
264 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
265 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
266 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
267 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
268 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
273 Style BeginPlainFrame
278 LatexName lyxframeend{}\lyxplainframe
290 LabelString "Frame (no head/foot/sidebars)"
305 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
306 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
307 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
308 \frame<#1>[plain]{\frametitle{#2}#3}}
317 LatexName lyxframeend{}\lyxagainframe
330 LabelString "Again frame with label"
345 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
346 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
347 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
348 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
349 \againframe<#1>[#2]{#3}}
358 LatexName lyxframeend
368 LabelString "________________________________"
378 \def\lyxframeend{} % In case there is a superfluous frame end
382 # Frame decoration section
387 LatexName framesubtitle
397 # standard font definition
419 LabelString "Start column (increase depth!), width:"
421 LeftMargin "Start column (increase depth!), width:xx"
423 # standard font definition
435 LatexType Environment
443 LabelString "Columns"
444 LeftMargin "Columnsxx"
452 # font & label font definition
460 Style ColumnsCenterAligned
464 LatexType Environment
471 LatexName centercolumns}%{
472 LabelString "Columns (center aligned)"
473 LeftMargin "Columns (center aligned)xx"
481 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
483 # font & label font definition
491 Style ColumnsTopAligned
495 LatexType Environment
502 LatexName topcolumns}%{
503 LabelString "Columns (top aligned)"
504 LeftMargin "Columns (top aligned)xx"
512 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
514 # font & label font definition
522 # Frame progression section
539 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
552 LatexType Environment
560 LabelString "Overprint"
568 # font & label font definition
579 LatexType Environment
586 LatexName overlayarea
587 LabelString "Overlayarea"
594 # font & label font definition
605 LatexType Environment
611 LatexName uncoverenv}%{
613 LabelString "Uncovered on slides"
620 # font & label font definition
631 LatexType Environment
639 LabelString "Only on slides"
646 # font & label font definition
658 LatexType Environment
666 LabelString "Block ( ERT[{title}] body ):"
673 # font & label font definition
684 LatexType Environment
691 LatexName exampleblock
692 LabelString "Block ( ERT[{title}] example text ):"
699 # font & label font definition
714 LatexType Environment
722 LabelString "Block ( ERT[{title}] alert text ):"
729 # font & label font definition
741 # Title slide data section
742 # Title style definition
758 # standard font definition
767 Style Title_(Plain_Frame)
770 % plain title style, override default
771 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
790 # standard font definition
799 # Author style definition
814 # standard font definition
836 # standard font definition
843 InsetLayout InstituteMark
847 LabelString "Institute mark"
864 # Date style definition
879 # standard font definition
886 # Titles & bibliography section
887 # Bibliography style definition
891 LatexType Bib_Environment
892 LatexName thebibliography
901 LabelType Bibliography
902 LabelString "References"
905 # label font definition
915 LatexType Environment
916 LatexName quotation}%{
927 AlignPossible Block, Left, Right, Center
934 LatexType Environment
943 AlignPossible Block, Left, Right, Center
949 # LaTeX type is first dynamic because of LaTeX implementation.
950 # In LyX this does not make sense.
952 LatexType Environment
963 AlignPossible Block, Left
973 LatexName titlegraphic
982 # standard font definition
991 # Theorems and such section
995 LatexType Environment
1002 LatexName corollary}%{
1003 LabelString "Corollary."
1011 # font & label font definition
1022 LatexName definition}%{
1023 LabelString "Definition."
1028 LatexName definitions}%{
1029 LabelString "Definitions."
1034 LatexName example}%{
1035 LabelString "Example."
1045 LatexName examples}%{
1046 LabelString "Examples."
1059 LabelString "Proof."
1064 LatexName theorem}%{
1065 LabelString "Theorem."
1069 # Separator style definition
1077 AlignPossible Block, Left, Right, Center
1078 Margin First_Dynamic
1097 LatexType Environment
1105 AlignPossible Block, Left, Right, Center
1109 # define the environment lyxcode
1111 \newenvironment{lyxcode}
1112 {\par\begin{list}{}{
1113 \setlength{\rightmargin}{\leftmargin}
1114 \setlength{\listparindent}{0pt}% needed for AMS classes
1116 \setlength{\itemsep}{0pt}
1117 \setlength{\parsep}{0pt}
1118 \normalfont\ttfamily}%
1121 \def\textasciitilde{\char`\~}
1126 # standard font definition
1136 LatexName note[item]
1146 LeftMargin "Note:xx"
1148 # standard font definition
1156 # Input lyxmacros.inc
1160 InsetLayout CharStyle:Alert
1171 InsetLayout CharStyle:Structure
1173 LabelString Structure
1182 InsetLayout Custom:ArticleMode
1184 LatexName mode<article>
1192 InsetLayout Custom:PresentationMode
1194 LatexName mode<presentation>
1197 LabelString Presentation
1209 ListName "List of Tables"
1211 ListCommand listoftables
1222 ListName "List of Figures"
1224 ListCommand listoffigures
1228 # to give users the choice of a title frame with and without
1229 # head-/footline, we define our own maketitle command
1230 TitleLaTeXName makebeamertitle
1233 % this default might be overridden by plain title style
1234 \newcommand\makebeamertitle{\frame{\maketitle}}%
1236 \let\origtableofcontents=\tableofcontents
1237 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1238 \def\gobbletableofcontents#1{\origtableofcontents}