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
226 LatexName lyxframeend{}\lyxframe
254 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
255 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
256 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
257 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
258 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
259 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
260 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
265 Style BeginPlainFrame
269 LatexName lyxframeend{}\lyxplainframe
281 LabelString "Frame (no head/foot/sidebars)"
296 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
297 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
298 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
299 \frame<#1>[plain]{\frametitle{#2}#3}}
307 LatexName lyxframeend{}\lyxagainframe
320 LabelString "Again frame with label"
335 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
336 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
337 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
338 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
339 \againframe<#1>[#2]{#3}}
347 LatexName lyxframeend
357 LabelString "________________________________"
367 \def\lyxframeend{} % In case there is a superfluous frame end
371 # Frame decoration section
375 LatexName framesubtitle
385 # standard font definition
406 LabelString "Start column (increase depth!), width:"
408 LeftMargin "Start column (increase depth!), width:xx"
410 # standard font definition
421 LatexType Environment
429 LabelString "Columns"
430 LeftMargin "Columnsxx"
438 # font & label font definition
446 Style ColumnsCenterAligned
449 LatexType Environment
456 LatexName centercolumns}%{
457 LabelString "Columns (center aligned)"
458 LeftMargin "Columns (center aligned)xx"
466 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
468 # font & label font definition
476 Style ColumnsTopAligned
479 LatexType Environment
486 LatexName topcolumns}%{
487 LabelString "Columns (top aligned)"
488 LeftMargin "Columns (top aligned)xx"
496 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
498 # font & label font definition
506 # Frame progression section
522 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
534 LatexType Environment
542 LabelString "Overprint"
550 # font & label font definition
560 LatexType Environment
567 LatexName overlayarea
568 LabelString "Overlayarea"
575 # font & label font definition
585 LatexType Environment
591 LatexName uncoverenv}%{
593 LabelString "Uncovered on slides"
600 # font & label font definition
610 LatexType Environment
618 LabelString "Only on slides"
625 # font & label font definition
636 LatexType Environment
644 LabelString "Block ( ERT[{title}] body ):"
651 # font & label font definition
661 LatexType Environment
668 LatexName exampleblock
669 LabelString "Block ( ERT[{title}] example text ):"
676 # font & label font definition
690 LatexType Environment
698 LabelString "Block ( ERT[{title}] alert text ):"
705 # font & label font definition
717 # Title slide data section
718 # Title style definition
733 # standard font definition
742 Style Title_(Plain_Frame)
745 % plain title style, override default
746 \renewcommand\makebeamertitle{\frame[plain]{\maketitle}}%
764 # standard font definition
773 # Author style definition
787 # standard font definition
808 # standard font definition
815 # Date style definition
829 # standard font definition
836 # Titles & bibliography section
837 # Bibliography style definition
840 LatexType Bib_Environment
841 LatexName thebibliography
850 LabelType Bibliography
851 LabelString "References"
854 # label font definition
865 LatexName titlegraphic
874 # standard font definition
884 # Theorems and such section
887 LatexType Environment
894 LatexName corollary}%{
895 LabelString "Corollary."
903 # font & label font definition
914 LatexName definition}%{
915 LabelString "Definition."
920 LatexName definitions}%{
921 LabelString "Definitions."
927 LabelString "Example."
937 LatexName examples}%{
938 LabelString "Examples."
957 LabelString "Theorem."
961 # Separator style definition
968 AlignPossible Block, Left, Right, Center
987 LatexType Environment
995 AlignPossible Block, Left, Right, Center
999 # define the environment lyxcode
1001 \newenvironment{lyxcode}
1003 \setlength{\rightmargin}{\leftmargin}
1004 \setlength{\listparindent}{0pt}% needed for AMS classes
1006 \setlength{\itemsep}{0pt}
1007 \setlength{\parsep}{0pt}
1008 \normalfont\ttfamily}%
1011 \def\textasciitilde{\char`\~}
1016 # standard font definition
1025 LatexName note[item]
1035 LeftMargin "Note:xx"
1037 # standard font definition
1045 # Input lyxmacros.inc
1049 InsetLayout CharStyle:Alert
1060 InsetLayout CharStyle:Structure
1062 LabelString Structure
1078 ListName "List of Tables"
1089 ListName "List of Figures"
1093 # to give users the choice of a title frame with and without
1094 # head-/footline, we define our own maketitle command
1095 TitleLaTeXName makebeamertitle
1098 % this default might be overridden by plain title style
1099 \newcommand\makebeamertitle{\frame{\maketitle}}%
1101 \let\origtableofcontents=\tableofcontents
1102 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1103 \def\gobbletableofcontents#1{\origtableofcontents}