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
139 # Section style definition
144 LatexName lyxframeend{}\section
155 LabelString "Section \arabic{section}"
167 LabelStringAppendix "\Alph{section}"
171 # Section* style definition
176 LatexName lyxframeend{}\section*
181 # Subsection style definition
186 LatexName lyxframeend{}\subsection
196 LabelCounter subsection
197 LabelString "Subsection \arabic{section}.\arabic{subsection}"
200 # standard font definition
210 LabelStringAppendix "\arabic{section}.\arabic{subsection}"
214 # Subsection* style definition
219 LatexName lyxframeend{}\subsection*
224 # Frame control definition
230 LatexName lyxframeend{}\lyxframe
258 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
259 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
260 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
261 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
262 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
263 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
264 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
269 Style BeginPlainFrame
274 LatexName lyxframeend{}\lyxplainframe
286 LabelString "Frame (no head/foot/sidebars)"
301 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
302 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
303 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
304 \frame<#1>[plain]{\frametitle{#2}#3}}
313 LatexName lyxframeend{}\lyxagainframe
326 LabelString "Again frame with label"
341 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
342 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
343 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
344 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
345 \againframe<#1>[#2]{#3}}
354 LatexName lyxframeend
364 LabelString "________________________________"
374 \def\lyxframeend{} % In case there is a superfluous frame end
378 # Frame decoration section
383 LatexName framesubtitle
393 # standard font definition
415 LabelString "Start column (increase depth!), width:"
417 LeftMargin "Start column (increase depth!), width:xx"
419 # standard font definition
431 LatexType Environment
439 LabelString "Columns"
440 LeftMargin "Columnsxx"
448 # font & label font definition
456 Style ColumnsCenterAligned
460 LatexType Environment
467 LatexName centercolumns}%{
468 LabelString "Columns (center aligned)"
469 LeftMargin "Columns (center aligned)xx"
477 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
479 # font & label font definition
487 Style ColumnsTopAligned
491 LatexType Environment
498 LatexName topcolumns}%{
499 LabelString "Columns (top aligned)"
500 LeftMargin "Columns (top aligned)xx"
508 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
510 # font & label font definition
518 # Frame progression section
535 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
548 LatexType Environment
556 LabelString "Overprint"
564 # font & label font definition
575 LatexType Environment
582 LatexName overlayarea
583 LabelString "Overlayarea"
590 # font & label font definition
601 LatexType Environment
607 LatexName uncoverenv}%{
609 LabelString "Uncovered on slides"
616 # font & label font definition
627 LatexType Environment
635 LabelString "Only on slides"
642 # font & label font definition
654 LatexType Environment
662 LabelString "Block ( ERT[{title}] body ):"
669 # font & label font definition
680 LatexType Environment
687 LatexName exampleblock
688 LabelString "Block ( ERT[{title}] example text ):"
695 # font & label font definition
710 LatexType Environment
718 LabelString "Block ( ERT[{title}] alert text ):"
725 # font & label font definition
737 # Title slide data section
738 # Title style definition
754 # standard font definition
763 Style Title_(Plain_Frame)
766 % plain title style, override default
767 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
786 # standard font definition
795 # Author style definition
810 # standard font definition
832 # standard font definition
839 InsetLayout InstituteMark
843 LabelString "Institute mark"
860 # Date style definition
875 # standard font definition
882 # Titles & bibliography section
883 # Bibliography style definition
887 LatexType Bib_Environment
888 LatexName thebibliography
897 LabelType Bibliography
898 LabelString "References"
901 # label font definition
911 LatexType Environment
912 LatexName quotation}%{
923 AlignPossible Block, Left, Right, Center
930 LatexType Environment
939 AlignPossible Block, Left, Right, Center
945 # LaTeX type is first dynamic because of LaTeX implementation.
946 # In LyX this does not make sense.
948 LatexType Environment
959 AlignPossible Block, Left
969 LatexName titlegraphic
978 # standard font definition
987 # Theorems and such section
991 LatexType Environment
998 LatexName corollary}%{
999 LabelString "Corollary."
1007 # font & label font definition
1018 LatexName definition}%{
1019 LabelString "Definition."
1024 LatexName definitions}%{
1025 LabelString "Definitions."
1030 LatexName example}%{
1031 LabelString "Example."
1041 LatexName examples}%{
1042 LabelString "Examples."
1055 LabelString "Proof."
1060 LatexName theorem}%{
1061 LabelString "Theorem."
1065 # Separator style definition
1073 AlignPossible Block, Left, Right, Center
1074 Margin First_Dynamic
1093 LatexType Environment
1101 AlignPossible Block, Left, Right, Center
1105 # define the environment lyxcode
1107 \newenvironment{lyxcode}
1108 {\par\begin{list}{}{
1109 \setlength{\rightmargin}{\leftmargin}
1110 \setlength{\listparindent}{0pt}% needed for AMS classes
1112 \setlength{\itemsep}{0pt}
1113 \setlength{\parsep}{0pt}
1114 \normalfont\ttfamily}%
1117 \def\textasciitilde{\char`\~}
1122 # standard font definition
1132 LatexName note[item]
1142 LeftMargin "Note:xx"
1144 # standard font definition
1152 # Input lyxmacros.inc
1156 InsetLayout CharStyle:Alert
1167 InsetLayout CharStyle:Structure
1169 LabelString Structure
1178 InsetLayout Custom:ArticleMode
1180 LatexName mode<article>
1188 InsetLayout Custom:PresentationMode
1190 LatexName mode<presentation>
1193 LabelString Presentation
1205 ListName "List of Tables"
1217 ListName "List of Figures"
1222 # to give users the choice of a title frame with and without
1223 # head-/footline, we define our own maketitle command
1224 TitleLaTeXName makebeamertitle
1227 % this default might be overridden by plain title style
1228 \newcommand\makebeamertitle{\frame{\maketitle}}%
1230 \let\origtableofcontents=\tableofcontents
1231 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1232 \def\gobbletableofcontents#1{\origtableofcontents}