X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fexamples%2Fbeamerlyxexample1.lyx;h=a59c85925fcca9c41243e4d313f395eb6fb4a759;hb=3c93d5078918f43af76827d2991ed5fa35a3a20e;hp=5ec80b8cfa2770714cabeb744a32def14bbad52a;hpb=25aef8a80135e4742e6513c7cf0f54b56af128d7;p=lyx.git diff --git a/lib/examples/beamerlyxexample1.lyx b/lib/examples/beamerlyxexample1.lyx index 5ec80b8cfa..a59c85925f 100644 --- a/lib/examples/beamerlyxexample1.lyx +++ b/lib/examples/beamerlyxexample1.lyx @@ -1,8 +1,7 @@ -#LyX 1.6.0 created this file. For more info see http://www.lyx.org/ -\lyxformat 345 +#LyX 2.0 created this file. For more info see http://www.lyx.org/ +\lyxformat 413 \begin_document \begin_header -\use_default_options false \textclass beamer \begin_preamble \beamertemplateshadingbackground{red!5}{structure!5} @@ -150,17 +149,27 @@ } \end_preamble \options notes=show +\use_default_options false +\maintain_unincluded_children false \language english +\language_package default \inputencoding auto +\fontencoding global \font_roman times \font_sans default \font_typewriter default \font_default_family default +\use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 + \graphics default +\default_output_format default +\output_sync 0 +\bibtex_command default +\index_command default \paperfontsize default \spacing single \use_hyperref false @@ -168,20 +177,31 @@ \use_geometry false \use_amsmath 2 \use_esint 0 +\use_mhchem 1 +\use_mathdots 1 \cite_engine basic \use_bibtopic false +\use_indices false \paperorientation portrait +\suppress_date false +\use_refstyle 0 +\index Index +\shortcut idx +\color #008000 +\end_index \secnumdepth 2 \tocdepth 2 \paragraph_separation indent -\defskip medskip +\paragraph_indentation default \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false -\author "" +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false \end_header \begin_body @@ -204,7 +224,7 @@ International Computer Schience Institute \end_inset Berkeley, California -\begin_inset OptArg +\begin_inset Argument status collapsed \begin_layout Plain Layout @@ -5861,8 +5881,10 @@ There exists an approximation scheme for \end_inset needs space -\begin_inset Formula \[ -O\left(\log|V|\log\frac{1}{r-1}\right).\] +\begin_inset Formula +\[ +O\left(\log|V|\log\frac{1}{r-1}\right). +\] \end_inset @@ -5913,6 +5935,158 @@ status collapsed hierarchy \end_layout +\begin_layout EndFrame + +\end_layout + +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout +If a frame includes a program listing, the frame needs to be marked as +\begin_inset Quotes eld +\end_inset + +fragile +\begin_inset Quotes erd +\end_inset + +. + This is not yet supported by LyX, so the frame is created using TeX code. + Note that the +\backslash +begin{frame}[fragile] needs to be preceeded by an +\emph on +EndFrame +\emph default + environment. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +begin{frame}[fragile] +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +frametitle{ +\end_layout + +\end_inset + +Just a frame with a program code listing +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +This is some program code: +\end_layout + +\begin_layout Standard +\begin_inset listings +lstparams "extendedchars=true,language=Python,numbers=left,stepnumber=3,tabsize=4" +inline false +status open + +\begin_layout Plain Layout + +def func(param): +\end_layout + +\begin_layout Plain Layout + + 'this is a python function' +\end_layout + +\begin_layout Plain Layout + + pass +\end_layout + +\begin_layout Plain Layout + +def func(param): +\end_layout + +\begin_layout Plain Layout + +'This is a German word: Tschüs' +\end_layout + +\begin_layout Plain Layout + +pass +\end_layout + +\begin_layout Plain Layout + +def func(param): +\end_layout + +\begin_layout Plain Layout + +'this is a python function' +\end_layout + +\begin_layout Plain Layout + +pass +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +end{frame} +\end_layout + +\end_inset + + +\end_layout + \begin_layout Section* Summary \end_layout @@ -6105,6 +6279,7 @@ beamertemplatebookbibitems \end_layout \begin_layout Bibliography +\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "Moon1968" @@ -6165,6 +6340,7 @@ beamertemplatearticlebibitems \end_layout \begin_layout Bibliography +\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "NickelsenT2002" @@ -6211,6 +6387,7 @@ Proc. \end_layout \begin_layout Bibliography +\labelwidthstring References \begin_inset CommandInset bibitem LatexCommand bibitem key "Tantau2004b"