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
69 # Enumerate style definition
72 LatexType Item_Environment
88 # Description style definition
91 LatexType Item_environment
107 # label font definition
114 # Part style definition
132 # standard font definition
144 # Section style definition
148 LatexName lyxframeend{}\section
160 LabelString "Section \arabic{section}"
172 LabelStringAppendix "\Alph{section}"
176 # Section* style definition
180 LatexName lyxframeend{}\section*
185 # Subsection style definition
189 LatexName lyxframeend{}\subsection
200 LabelCounter subsection
201 LabelString "Subsection \arabic{section}.\arabic{subsection}"
204 # standard font definition
214 LabelStringAppendix "\arabic{section}.\arabic{subsection}"
218 # Subsection* style definition
222 LatexName lyxframeend{}\subsection*
227 # Frame control definition
231 LatexName lyxframeend{}\lyxframe
260 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
261 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
262 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
263 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
264 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
265 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
266 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
271 Style BeginPlainFrame
274 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}}
313 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}}
354 LatexName lyxframeend
365 LabelString "________________________________"
375 \def\lyxframeend{} % In case there is a superfluous frame end
379 # Frame decoration section
383 LatexName framesubtitle
394 # standard font definition
415 LabelString "Start column (increase depth!), width:"
417 LeftMargin "Start column (increase depth!), width:xx"
419 # standard font definition
430 LatexType Environment
438 LabelString "Columns"
439 LeftMargin "Columnsxx"
447 # font & label font definition
455 Style ColumnsCenterAligned
458 LatexType Environment
465 LatexName centercolumns}%{
466 LabelString "Columns (center aligned)"
467 LeftMargin "Columns (center aligned)xx"
475 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
477 # font & label font definition
485 Style ColumnsTopAligned
488 LatexType Environment
495 LatexName topcolumns}%{
496 LabelString "Columns (top aligned)"
497 LeftMargin "Columns (top aligned)xx"
505 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
507 # font & label font definition
515 # Frame progression section
532 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
544 LatexType Environment
552 LabelString "Overprint"
560 # font & label font definition
570 LatexType Environment
577 LatexName overlayarea
578 LabelString "Overlayarea"
585 # font & label font definition
595 LatexType Environment
601 LatexName uncoverenv}%{
603 LabelString "Uncovered on slides"
610 # font & label font definition
620 LatexType Environment
628 LabelString "Only on slides"
635 # font & label font definition
646 LatexType Environment
654 LabelString "Block ( ERT[{title}] body ):"
661 # font & label font definition
671 LatexType Environment
678 LatexName exampleblock
679 LabelString "Block ( ERT[{title}] example text ):"
686 # font & label font definition
700 LatexType Environment
708 LabelString "Block ( ERT[{title}] alert text ):"
715 # font & label font definition
727 # Title slide data section
728 # Title style definition
744 # standard font definition
768 # standard font definition
777 # Author style definition
792 # standard font definition
814 # standard font definition
821 # Date style definition
836 # standard font definition
843 # Titles & bibliography section
844 # Bibliography style definition
847 LatexType Bib_Environment
848 LatexName thebibliography
858 LabelType Bibliography
859 LabelString "References"
862 # label font definition
873 LatexName titlegraphic
883 # standard font definition
893 # Theorems and such section
896 LatexType Environment
903 LatexName corollary}%{
904 LabelString "Corollary."
912 # font & label font definition
923 LatexName definition}%{
924 LabelString "Definition."
929 LatexName definitions}%{
930 LabelString "Definitions."
936 LabelString "Example."
946 LatexName examples}%{
947 LabelString "Examples."
966 LabelString "Theorem."
970 # Separator style definition
977 AlignPossible Block, Left, Right, Center
996 LatexType Environment
1004 AlignPossible Block, Left, Right, Center
1008 # define the environment lyxcode
1010 \newenvironment{lyxcode}
1012 \setlength{\rightmargin}{\leftmargin}
1013 \setlength{\listparindent}{0pt}% needed for AMS classes
1015 \setlength{\itemsep}{0pt}
1016 \setlength{\parsep}{0pt}
1017 \normalfont\ttfamily}%
1020 \def\textasciitilde{\char`\~}
1025 # standard font definition
1034 LatexName note[item]
1044 LeftMargin "Note:xx"
1046 # standard font definition
1054 # Input lyxmacros.inc
1058 InsetLayout CharStyle:Alert
1069 InsetLayout CharStyle:Structure
1071 LabelString Structure
1087 ListName "List of Tables"
1098 ListName "List of Figures"
1102 TitleLaTeXName frame{\maketitle}
1107 \let\origtableofcontents=\tableofcontents
1108 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1109 \def\gobbletableofcontents#1{\origtableofcontents}