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 $
14 # Is this needed? Could probably go -- MV 16/05/2007
17 Name lyxframeend{}\section
21 # General textclass parameters
38 # Standard style definition
47 AlignPossible Block, Left, Right, Center
52 # Itemize style definition
56 LatexType Item_Environment
71 # Enumerate style definition
75 LatexType Item_Environment
90 # Description style definition
94 LatexType Item_environment
109 # label font definition
116 # Part style definition
134 # standard font definition
146 # Section style definition
151 LatexName lyxframeend{}\section
162 LabelString "Section \arabic{section}"
174 LabelStringAppendix "\Alph{section}"
178 # Section* style definition
183 LatexName lyxframeend{}\section*
188 # Subsection style definition
193 LatexName lyxframeend{}\subsection
203 LabelCounter subsection
204 LabelString "Subsection \arabic{section}.\arabic{subsection}"
207 # standard font definition
217 LabelStringAppendix "\arabic{section}.\arabic{subsection}"
221 # Subsection* style definition
226 LatexName lyxframeend{}\subsection*
231 # Frame control definition
237 LatexName lyxframeend{}\lyxframe
265 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
266 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
267 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
268 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
269 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
270 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
271 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
276 Style BeginPlainFrame
281 LatexName lyxframeend{}\lyxplainframe
293 LabelString "Frame (no head/foot/sidebars)"
308 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
309 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
310 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
311 \frame<#1>[plain]{\frametitle{#2}#3}}
320 LatexName lyxframeend{}\lyxagainframe
333 LabelString "Again frame with label"
348 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
349 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
350 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
351 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
352 \againframe<#1>[#2]{#3}}
361 LatexName lyxframeend
371 LabelString "________________________________"
381 \def\lyxframeend{} % In case there is a superfluous frame end
385 # Frame decoration section
390 LatexName framesubtitle
400 # standard font definition
422 LabelString "Start column (increase depth!), width:"
424 LeftMargin "Start column (increase depth!), width:xx"
426 # standard font definition
438 LatexType Environment
446 LabelString "Columns"
447 LeftMargin "Columnsxx"
455 # font & label font definition
463 Style ColumnsCenterAligned
467 LatexType Environment
474 LatexName centercolumns}%{
475 LabelString "Columns (center aligned)"
476 LeftMargin "Columns (center aligned)xx"
484 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
486 # font & label font definition
494 Style ColumnsTopAligned
498 LatexType Environment
505 LatexName topcolumns}%{
506 LabelString "Columns (top aligned)"
507 LeftMargin "Columns (top aligned)xx"
515 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
517 # font & label font definition
525 # Frame progression section
542 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
555 LatexType Environment
563 LabelString "Overprint"
571 # font & label font definition
582 LatexType Environment
589 LatexName overlayarea
590 LabelString "Overlayarea"
597 # font & label font definition
608 LatexType Environment
614 LatexName uncoverenv}%{
616 LabelString "Uncovered on slides"
623 # font & label font definition
634 LatexType Environment
642 LabelString "Only on slides"
649 # font & label font definition
661 LatexType Environment
669 LabelString "Block ( ERT[{title}] body ):"
676 # font & label font definition
687 LatexType Environment
694 LatexName exampleblock
695 LabelString "Block ( ERT[{title}] example text ):"
702 # font & label font definition
717 LatexType Environment
725 LabelString "Block ( ERT[{title}] alert text ):"
732 # font & label font definition
744 # Title slide data section
745 # Title style definition
761 # standard font definition
770 Style Title_(Plain_Frame)
773 % plain title style, override default
774 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
793 # standard font definition
802 # Author style definition
817 # standard font definition
839 # standard font definition
846 # Date style definition
861 # standard font definition
868 # Titles & bibliography section
869 # Bibliography style definition
873 LatexType Bib_Environment
874 LatexName thebibliography
883 LabelType Bibliography
884 LabelString "References"
887 # label font definition
899 LatexName titlegraphic
908 # standard font definition
918 # Theorems and such section
922 LatexType Environment
929 LatexName corollary}%{
930 LabelString "Corollary."
938 # font & label font definition
949 LatexName definition}%{
950 LabelString "Definition."
955 LatexName definitions}%{
956 LabelString "Definitions."
962 LabelString "Example."
972 LatexName examples}%{
973 LabelString "Examples."
992 LabelString "Theorem."
996 # Separator style definition
1004 AlignPossible Block, Left, Right, Center
1005 Margin First_Dynamic
1024 LatexType Environment
1032 AlignPossible Block, Left, Right, Center
1036 # define the environment lyxcode
1038 \newenvironment{lyxcode}
1039 {\par\begin{list}{}{
1040 \setlength{\rightmargin}{\leftmargin}
1041 \setlength{\listparindent}{0pt}% needed for AMS classes
1043 \setlength{\itemsep}{0pt}
1044 \setlength{\parsep}{0pt}
1045 \normalfont\ttfamily}%
1048 \def\textasciitilde{\char`\~}
1053 # standard font definition
1063 LatexName note[item]
1073 LeftMargin "Note:xx"
1075 # standard font definition
1083 # Input lyxmacros.inc
1087 InsetLayout CharStyle:Alert
1098 InsetLayout CharStyle:Structure
1100 LabelString Structure
1109 InsetLayout Custom:ArticleMode
1111 LatexName mode<article>
1119 InsetLayout Custom:PresentationMode
1121 LatexName mode<presentation>
1124 LabelString Presentation
1136 ListName "List of Tables"
1148 ListName "List of Figures"
1153 # to give users the choice of a title frame with and without
1154 # head-/footline, we define our own maketitle command
1155 TitleLaTeXName makebeamertitle
1158 % this default might be overridden by plain title style
1159 \newcommand\makebeamertitle{\frame{\maketitle}}%
1161 \let\origtableofcontents=\tableofcontents
1162 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1163 \def\gobbletableofcontents#1{\origtableofcontents}