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 $
13 # General textclass parameters
31 # Standard style definition
40 AlignPossible Block, Left, Right, Center
45 # Itemize style definition
49 LatexType Item_Environment
64 # Enumerate style definition
68 LatexType Item_Environment
83 # Description style definition
87 LatexType Item_environment
102 # label font definition
109 # Part style definition
128 # standard font definition
141 # Section style definition
146 LatexName lyxframeend{}\section
157 LabelString "Section \arabic{section}"
170 LabelStringAppendix "\Alph{section}"
174 # Section* style definition
179 LatexName lyxframeend{}\section*
184 # Subsection style definition
189 LatexName lyxframeend{}\subsection
199 LabelCounter subsection
200 LabelString "Subsection \arabic{section}.\arabic{subsection}"
204 # standard font definition
214 LabelStringAppendix "\arabic{section}.\arabic{subsection}"
218 # Subsection* style definition
223 LatexName lyxframeend{}\subsection*
228 # Frame control definition
234 LatexName lyxframeend{}\lyxframe
262 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
263 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
264 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
265 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
266 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
267 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
268 \frame<#1>[#2][#3]{\frametitle{#4}#5}}
273 Style BeginPlainFrame
278 LatexName lyxframeend{}\lyxplainframe
290 LabelString "Frame (no head/foot/sidebars)"
305 \long\def\lyxplainframe#1{\@lyxplainframe#1\@lyxframestop}%
306 \def\@lyxplainframe{\@ifnextchar<{\@@lyxplainframe}{\@@lyxplainframe<*>}}%
307 \long\def\@@lyxplainframe<#1>#2\@lyxframestop#3\lyxframeend{%
308 \frame<#1>[plain]{\frametitle{#2}#3}}
317 LatexName lyxframeend{}\lyxagainframe
330 LabelString "Again frame with label"
345 \long\def\lyxagainframe#1{\@lyxagainframe#1\@lyxframestop}%
346 \def\@lyxagainframe{\@ifnextchar<{\@@lyxagainframe}{\@@lyxagainframe<*>}}%
347 \def\@@lyxagainframe<#1>{\@ifnextchar[{\@@@lyxagainframe<#1>}{\@@@lyxagainframe<#1>[]}}
348 \long\def\@@@lyxagainframe<#1>[#2]#3\@lyxframestop{%
349 \againframe<#1>[#2]{#3}}
358 LatexName lyxframeend
368 LabelString "________________________________"
378 \def\lyxframeend{} % In case there is a superfluous frame end
382 # Frame decoration section
387 LatexName framesubtitle
397 # standard font definition
419 LabelString "Start column (increase depth!), width:"
421 LeftMargin "Start column (increase depth!), width:xx"
423 # standard font definition
435 LatexType Environment
443 LabelString "Columns"
444 LeftMargin "Columnsxx"
452 # font & label font definition
460 Style ColumnsCenterAligned
464 LatexType Environment
471 LatexName centercolumns}%{
472 LabelString "Columns (center aligned)"
473 LeftMargin "Columns (center aligned)xx"
481 \newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
483 # font & label font definition
491 Style ColumnsTopAligned
495 LatexType Environment
502 LatexName topcolumns}%{
503 LabelString "Columns (top aligned)"
504 LeftMargin "Columns (top aligned)xx"
512 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
514 # font & label font definition
522 # Frame progression section
539 LabelString "_ _ _ _ _ _ _ _ _ _ _ _ _ _"
552 LatexType Environment
560 LabelString "Overprint"
568 # font & label font definition
579 LatexType Environment
586 LatexName overlayarea
587 LabelString "Overlayarea"
594 # font & label font definition
605 LatexType Environment
611 LatexName uncoverenv}%{
613 LabelString "Uncovered on slides"
620 # font & label font definition
631 LatexType Environment
639 LabelString "Only on slides"
646 # font & label font definition
658 LatexType Environment
674 # font & label font definition
685 LatexType Environment
692 LatexName exampleblock
693 LabelString "Example Block:"
701 # font & label font definition
716 LatexType Environment
724 LabelString "Alert Block:"
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 InsetLayout InstituteMark
850 LabelString "Institute mark"
867 # Date style definition
882 # standard font definition
889 # Titles & bibliography section
890 # Bibliography style definition
894 LatexType Bib_Environment
895 LatexName thebibliography
904 LabelType Bibliography
905 LabelString "References"
908 # label font definition
918 LatexType Environment
919 LatexName quotation}%{
930 AlignPossible Block, Left, Right, Center
937 LatexType Environment
946 AlignPossible Block, Left, Right, Center
952 # LaTeX type is first dynamic because of LaTeX implementation.
953 # In LyX this does not make sense.
955 LatexType Environment
966 AlignPossible Block, Left
976 LatexName titlegraphic
985 # standard font definition
994 # Theorems and such section
998 LatexType Environment
1005 LatexName corollary}%{
1006 LabelString "Corollary."
1014 # font & label font definition
1025 LatexName definition}%{
1026 LabelString "Definition."
1031 LatexName definitions}%{
1032 LabelString "Definitions."
1037 LatexName example}%{
1038 LabelString "Example."
1048 LatexName examples}%{
1049 LabelString "Examples."
1062 LabelString "Proof."
1067 LatexName theorem}%{
1068 LabelString "Theorem."
1072 # Separator style definition
1080 AlignPossible Block, Left, Right, Center
1081 Margin First_Dynamic
1100 LatexType Environment
1108 AlignPossible Block, Left, Right, Center
1112 # define the environment lyxcode
1114 \newenvironment{lyxcode}
1115 {\par\begin{list}{}{
1116 \setlength{\rightmargin}{\leftmargin}
1117 \setlength{\listparindent}{0pt}% needed for AMS classes
1119 \setlength{\itemsep}{0pt}
1120 \setlength{\parsep}{0pt}
1121 \normalfont\ttfamily}%
1124 \def\textasciitilde{\char`\~}
1129 # standard font definition
1139 LatexName note[item]
1149 LeftMargin "Note:xx"
1151 # standard font definition
1159 # Input lyxmacros.inc
1163 InsetLayout CharStyle:Alert
1174 InsetLayout CharStyle:Structure
1176 LabelString Structure
1185 InsetLayout Custom:ArticleMode
1187 LatexName mode<article>
1195 InsetLayout Custom:PresentationMode
1197 LatexName mode<presentation>
1200 LabelString Presentation
1212 ListName "List of Tables"
1214 ListCommand listoftables
1225 ListName "List of Figures"
1227 ListCommand listoffigures
1231 # to give users the choice of a title frame with and without
1232 # head-/footline, we define our own maketitle command
1233 TitleLaTeXName makebeamertitle
1236 % this default might be overridden by plain title style
1237 \newcommand\makebeamertitle{\frame{\maketitle}}%
1239 \let\origtableofcontents=\tableofcontents
1240 \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
1241 \def\gobbletableofcontents#1{\origtableofcontents}