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
753 Style Title_(Plain_Frame)
756 % plain title style, override default
757 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
776 # standard font definition
785 # Author style definition
800 # standard font definition
822 # standard font definition
829 # Date style definition
844 # standard font definition
851 # Titles & bibliography section
852 # Bibliography style definition
855 LatexType Bib_Environment
856 LatexName thebibliography
866 LabelType Bibliography
867 LabelString "References"
870 # label font definition
881 LatexName titlegraphic
891 # standard font definition
901 # Theorems and such section
904 LatexType Environment
911 LatexName corollary}%{
912 LabelString "Corollary."
920 # font & label font definition
931 LatexName definition}%{
932 LabelString "Definition."
937 LatexName definitions}%{
938 LabelString "Definitions."
944 LabelString "Example."
954 LatexName examples}%{
955 LabelString "Examples."
974 LabelString "Theorem."
978 # Separator style definition
985 AlignPossible Block, Left, Right, Center
1004 LatexType Environment
1012 AlignPossible Block, Left, Right, Center
1016 # define the environment lyxcode
1018 \newenvironment{lyxcode}
1020 \setlength{\rightmargin}{\leftmargin}
1021 \setlength{\listparindent}{0pt}% needed for AMS classes
1023 \setlength{\itemsep}{0pt}
1024 \setlength{\parsep}{0pt}
1025 \normalfont\ttfamily}%
1028 \def\textasciitilde{\char`\~}
1033 # standard font definition
1042 LatexName note[item]
1052 LeftMargin "Note:xx"
1054 # standard font definition
1062 # Input lyxmacros.inc
1066 InsetLayout CharStyle:Alert
1077 InsetLayout CharStyle:Structure
1079 LabelString Structure
1095 ListName "List of Tables"
1106 ListName "List of Figures"
1110 # to give users the choice of a title frame with and without
1111 # head-/footline, we define our own maketitle command
1112 TitleLaTeXName makebeamertitle
1115 % this default might be overridden by plain title style
1116 \newcommand\makebeamertitle{\frame{\maketitle}}%
1118 \let\origtableofcontents=\tableofcontents
1119 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1120 \def\gobbletableofcontents#1{\origtableofcontents}