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
37 # Standard style definition
45 AlignPossible Block, Left, Right, Center
50 # Itemize style definition
53 LatexType Item_Environment
68 # Enumerate style definition
71 LatexType Item_Environment
86 # Description style definition
89 LatexType Item_environment
104 # label font definition
111 # Part style definition
128 # standard font definition
140 # Section style definition
144 LatexName lyxframeend{}\section
155 LabelString "Section \arabic{section}"
167 LabelStringAppendix "\Alph{section}"
171 # Section* style definition
175 LatexName lyxframeend{}\section*
180 # Subsection style definition
184 LatexName lyxframeend{}\subsection
194 LabelCounter subsection
195 LabelString "Subsection \arabic{section}.\arabic{subsection}"
198 # standard font definition
208 LabelStringAppendix "\arabic{section}.\arabic{subsection}"
212 # Subsection* style definition
216 LatexName lyxframeend{}\subsection*
221 # Frame control definition
225 LatexName lyxframeend{}\lyxframe
253 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
254 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
255 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
256 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
257 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
258 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
259 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
264 Style BeginPlainFrame
267 LatexName lyxframeend{}\lyxplainframe
279 LabelString "Frame (no head/foot/sidebars)"
294 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
295 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
296 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
297 \frame<#1>[plain]{\frametitle{#2}#3}}
305 LatexName lyxframeend{}\lyxagainframe
318 LabelString "Again frame with label"
333 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
334 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
335 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
336 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
337 \againframe<#1>[#2]{#3}}
345 LatexName lyxframeend
355 LabelString "________________________________"
365 \def\lyxframeend{} % In case there is a superfluous frame end
369 # Frame decoration section
373 LatexName framesubtitle
383 # standard font definition
404 LabelString "Start column (increase depth!), width:"
406 LeftMargin "Start column (increase depth!), width:xx"
408 # standard font definition
419 LatexType Environment
427 LabelString "Columns"
428 LeftMargin "Columnsxx"
436 # font & label font definition
444 Style ColumnsCenterAligned
447 LatexType Environment
454 LatexName centercolumns}%{
455 LabelString "Columns (center aligned)"
456 LeftMargin "Columns (center aligned)xx"
464 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
466 # font & label font definition
474 Style ColumnsTopAligned
477 LatexType Environment
484 LatexName topcolumns}%{
485 LabelString "Columns (top aligned)"
486 LeftMargin "Columns (top aligned)xx"
494 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
496 # font & label font definition
504 # Frame progression section
520 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
532 LatexType Environment
540 LabelString "Overprint"
548 # font & label font definition
558 LatexType Environment
565 LatexName overlayarea
566 LabelString "Overlayarea"
573 # font & label font definition
583 LatexType Environment
589 LatexName uncoverenv}%{
591 LabelString "Uncovered on slides"
598 # font & label font definition
608 LatexType Environment
616 LabelString "Only on slides"
623 # font & label font definition
634 LatexType Environment
642 LabelString "Block ( ERT[{title}] body ):"
649 # font & label font definition
659 LatexType Environment
666 LatexName exampleblock
667 LabelString "Block ( ERT[{title}] example text ):"
674 # font & label font definition
688 LatexType Environment
696 LabelString "Block ( ERT[{title}] alert text ):"
703 # font & label font definition
715 # Title slide data section
716 # Title style definition
731 # standard font definition
740 Style Title_(Plain_Frame)
743 % plain title style, override default
744 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
762 # standard font definition
771 # Author style definition
785 # standard font definition
806 # standard font definition
813 # Date style definition
827 # standard font definition
834 # Titles & bibliography section
835 # Bibliography style definition
838 LatexType Bib_Environment
839 LatexName thebibliography
848 LabelType Bibliography
849 LabelString "References"
852 # label font definition
863 LatexName titlegraphic
872 # standard font definition
882 # Theorems and such section
885 LatexType Environment
892 LatexName corollary}%{
893 LabelString "Corollary."
901 # font & label font definition
912 LatexName definition}%{
913 LabelString "Definition."
918 LatexName definitions}%{
919 LabelString "Definitions."
925 LabelString "Example."
935 LatexName examples}%{
936 LabelString "Examples."
955 LabelString "Theorem."
959 # Separator style definition
966 AlignPossible Block, Left, Right, Center
985 LatexType Environment
993 AlignPossible Block, Left, Right, Center
997 # define the environment lyxcode
999 \newenvironment{lyxcode}
1001 \setlength{\rightmargin}{\leftmargin}
1002 \setlength{\listparindent}{0pt}% needed for AMS classes
1004 \setlength{\itemsep}{0pt}
1005 \setlength{\parsep}{0pt}
1006 \normalfont\ttfamily}%
1009 \def\textasciitilde{\char`\~}
1014 # standard font definition
1023 LatexName note[item]
1033 LeftMargin "Note:xx"
1035 # standard font definition
1043 # Input lyxmacros.inc
1047 InsetLayout CharStyle:Alert
1058 InsetLayout CharStyle:Structure
1060 LabelString Structure
1076 ListName "List of Tables"
1087 ListName "List of Figures"
1091 # to give users the choice of a title frame with and without
1092 # head-/footline, we define our own maketitle command
1093 TitleLaTeXName makebeamertitle
1096 % this default might be overridden by plain title style
1097 \newcommand\makebeamertitle{\frame{\maketitle}}%
1099 \let\origtableofcontents=\tableofcontents
1100 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1101 \def\gobbletableofcontents#1{\origtableofcontents}