2013-03-17 16:56:07 +00:00
|
|
|
#LyX 2.1 created this file. For more info see http://www.lyx.org/
|
|
|
|
\lyxformat 465
|
2007-05-22 21:35:22 +00:00
|
|
|
\begin_document
|
|
|
|
\begin_header
|
|
|
|
\textclass powerdot
|
|
|
|
\begin_preamble
|
|
|
|
\pdsetup{%
|
|
|
|
lf=left footer,
|
|
|
|
rf=right footer
|
|
|
|
}
|
|
|
|
\end_preamble
|
2009-09-10 23:30:00 +00:00
|
|
|
\options style=fyma,display=slidesnotes
|
|
|
|
\use_default_options false
|
2011-06-14 16:32:44 +00:00
|
|
|
\maintain_unincluded_children false
|
2007-05-22 21:35:22 +00:00
|
|
|
\language english
|
2011-06-14 16:32:44 +00:00
|
|
|
\language_package default
|
2007-05-22 21:35:22 +00:00
|
|
|
\inputencoding auto
|
2011-06-14 16:32:44 +00:00
|
|
|
\fontencoding global
|
2007-05-22 21:35:22 +00:00
|
|
|
\font_roman default
|
|
|
|
\font_sans default
|
|
|
|
\font_typewriter default
|
2013-03-17 16:56:07 +00:00
|
|
|
\font_math auto
|
2007-05-22 21:35:22 +00:00
|
|
|
\font_default_family default
|
2011-06-14 16:32:44 +00:00
|
|
|
\use_non_tex_fonts false
|
2007-05-22 21:35:22 +00:00
|
|
|
\font_sc false
|
|
|
|
\font_osf false
|
|
|
|
\font_sf_scale 100
|
|
|
|
\font_tt_scale 100
|
|
|
|
\graphics default
|
2013-02-16 09:58:47 +00:00
|
|
|
\default_output_format pdf
|
2011-06-14 16:32:44 +00:00
|
|
|
\output_sync 0
|
|
|
|
\bibtex_command default
|
|
|
|
\index_command default
|
2007-05-22 21:35:22 +00:00
|
|
|
\paperfontsize size=10
|
|
|
|
\spacing single
|
2008-10-01 00:59:36 +00:00
|
|
|
\use_hyperref false
|
2007-05-22 21:35:22 +00:00
|
|
|
\papersize letterpaper
|
2009-09-10 23:30:00 +00:00
|
|
|
\use_geometry true
|
2013-03-17 16:56:07 +00:00
|
|
|
\use_package amsmath 1
|
|
|
|
\use_package amssymb 1
|
|
|
|
\use_package cancel 0
|
|
|
|
\use_package esint 0
|
|
|
|
\use_package mathdots 1
|
|
|
|
\use_package mathtools 0
|
|
|
|
\use_package mhchem 1
|
|
|
|
\use_package stackrel 0
|
|
|
|
\use_package stmaryrd 0
|
|
|
|
\use_package undertilde 0
|
2007-05-22 21:35:22 +00:00
|
|
|
\cite_engine basic
|
2013-03-17 16:56:07 +00:00
|
|
|
\cite_engine_type numerical
|
|
|
|
\biblio_style plain
|
2007-05-22 21:35:22 +00:00
|
|
|
\use_bibtopic false
|
2011-06-14 16:32:44 +00:00
|
|
|
\use_indices false
|
2007-05-22 21:35:22 +00:00
|
|
|
\paperorientation landscape
|
2011-06-14 16:32:44 +00:00
|
|
|
\suppress_date false
|
2013-03-17 16:56:07 +00:00
|
|
|
\justification true
|
2011-06-14 16:32:44 +00:00
|
|
|
\use_refstyle 0
|
|
|
|
\index Index
|
|
|
|
\shortcut idx
|
|
|
|
\color #008000
|
|
|
|
\end_index
|
2007-05-22 21:35:22 +00:00
|
|
|
\secnumdepth 3
|
|
|
|
\tocdepth 3
|
|
|
|
\paragraph_separation indent
|
2011-06-14 16:32:44 +00:00
|
|
|
\paragraph_indentation default
|
2013-03-17 16:56:07 +00:00
|
|
|
\quotes_language english
|
2007-05-22 21:35:22 +00:00
|
|
|
\papercolumns 1
|
|
|
|
\papersides 1
|
|
|
|
\paperpagestyle default
|
|
|
|
\tracking_changes false
|
|
|
|
\output_changes false
|
2011-06-14 16:32:44 +00:00
|
|
|
\html_math_output 0
|
|
|
|
\html_css_as_file 0
|
|
|
|
\html_be_strict false
|
2007-05-22 21:35:22 +00:00
|
|
|
\end_header
|
|
|
|
|
|
|
|
\begin_body
|
|
|
|
|
|
|
|
\begin_layout Title
|
|
|
|
A LyX sample
|
|
|
|
\begin_inset Note Note
|
|
|
|
status open
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
\series bold
|
|
|
|
Note:
|
|
|
|
\series default
|
2013-03-17 16:56:07 +00:00
|
|
|
Powerdot does not work with PDF
|
2011-09-25 21:40:10 +00:00
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
2013-03-17 16:56:07 +00:00
|
|
|
(pdflatex).
|
|
|
|
The view PDF button uses PDF
|
2011-09-25 21:40:10 +00:00
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
2013-03-17 16:56:07 +00:00
|
|
|
(ps2pdf), but you can also use the method or PDF
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
(dvipdfm) via the menus or the
|
|
|
|
\begin_inset Quotes eld
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
View other formats
|
|
|
|
\begin_inset Quotes erd
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
button.
|
2007-05-22 21:35:22 +00:00
|
|
|
For more informations, please read the
|
|
|
|
\series bold
|
|
|
|
powerdot
|
|
|
|
\series default
|
|
|
|
manual.
|
|
|
|
\end_layout
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
\series bold
|
|
|
|
Note:
|
|
|
|
\series default
|
|
|
|
Depending on your LaTeX-system you might have to add the option
|
|
|
|
\begin_inset Quotes fld
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
dvips
|
|
|
|
\begin_inset Quotes frd
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
to the document class options to get proper DVI output.
|
|
|
|
\end_layout
|
|
|
|
|
2011-09-25 21:40:10 +00:00
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\series bold
|
|
|
|
Note:
|
|
|
|
\series default
|
|
|
|
|
|
|
|
\series bold
|
|
|
|
powerdot
|
|
|
|
\series default
|
|
|
|
version <= 1.4g is incompatible with
|
|
|
|
\series bold
|
|
|
|
enumitem
|
|
|
|
\series default
|
|
|
|
version 3.5.
|
|
|
|
If you get
|
|
|
|
\family typewriter
|
|
|
|
enumitem
|
|
|
|
\family default
|
|
|
|
errors, make sure to download
|
|
|
|
\series bold
|
|
|
|
powerdot
|
|
|
|
\series default
|
|
|
|
version 1.4h (2011/09/15) from CTAN.
|
|
|
|
\end_layout
|
|
|
|
|
2007-05-22 21:35:22 +00:00
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Author
|
|
|
|
Mael Hilléreau
|
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
and
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Hendri Adriaens
|
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
and
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Christopher Ellison
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Date
|
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
today
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Slide
|
|
|
|
My first slide
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
We use a
|
|
|
|
\family typewriter
|
|
|
|
Slide
|
|
|
|
\family default
|
|
|
|
style (magenta color, see above this text into LyX window) for the title
|
|
|
|
of each slide of a section or document.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout WideSlide
|
|
|
|
My wide slide
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_inset CommandInset label
|
|
|
|
LatexCommand label
|
2007-05-22 21:35:22 +00:00
|
|
|
name "toc"
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
But we may also use wide slides (green color, see above this text into LyX
|
|
|
|
window).
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Let's have a look at the TOC:
|
|
|
|
\begin_inset VSpace medskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_inset CommandInset toc
|
|
|
|
LatexCommand tableofcontents
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Section
|
|
|
|
This is the first section
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Slide
|
2013-03-17 16:56:07 +00:00
|
|
|
\begin_inset Argument 1
|
2007-05-22 21:35:22 +00:00
|
|
|
status collapsed
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2013-03-17 16:56:07 +00:00
|
|
|
toc=This slide has\SpecialChar \ldots{}
|
|
|
|
|
2007-05-22 21:35:22 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
This slide has a very very long title
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
This slide's title is different in the TOC, see slide
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_inset CommandInset ref
|
|
|
|
LatexCommand pageref
|
2007-05-22 21:35:22 +00:00
|
|
|
reference "toc"
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
or at the left of all slides in this section.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Note
|
|
|
|
Important note!
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Don't forget to use
|
|
|
|
\family typewriter
|
|
|
|
Insert
|
|
|
|
\family default
|
|
|
|
\SpecialChar \menuseparator
|
|
|
|
|
|
|
|
\family typewriter
|
2013-03-17 16:56:07 +00:00
|
|
|
Slide Option
|
2007-05-22 21:35:22 +00:00
|
|
|
\family default
|
|
|
|
in order to specify slide options.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Slide
|
|
|
|
Using
|
|
|
|
\family typewriter
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
pause
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Let's make a pause!
|
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
pause
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\SpecialChar \ldots{}
|
|
|
|
and then continue.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Section
|
|
|
|
Second section
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Slide
|
|
|
|
Using
|
|
|
|
\family typewriter
|
|
|
|
enumerate
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Let's enumerate things:
|
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
pause
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout EnumerateType1
|
|
|
|
The first thing;
|
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
pause
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout EnumerateType1
|
|
|
|
The second thing;
|
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
pause
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout EnumerateType1
|
|
|
|
The third thing;
|
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
pause
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout EnumerateType1
|
|
|
|
The final thing!
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Slide
|
|
|
|
Using
|
|
|
|
\family typewriter
|
|
|
|
itemize
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
We may also make some items and nest them:
|
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
pause
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout ItemizeType1
|
|
|
|
<2> The first;
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout ItemizeType1
|
|
|
|
<3> The second;
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_deeper
|
|
|
|
\begin_layout ItemizeType1
|
|
|
|
<4> One,
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout ItemizeType1
|
|
|
|
<5> Two,
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout ItemizeType1
|
|
|
|
<6> Three,
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_deeper
|
|
|
|
\begin_layout ItemizeType1
|
|
|
|
<7> The last one.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout EmptySlide
|
2013-03-17 16:56:07 +00:00
|
|
|
\begin_inset Argument 1
|
2007-05-22 21:35:22 +00:00
|
|
|
status collapsed
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
toc=,randomdots
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
The empty slide!
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset VSpace bigskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\align center
|
|
|
|
This slide is empty\SpecialChar \ldots{}
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
pause
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\align center
|
|
|
|
It uses
|
|
|
|
\family typewriter
|
|
|
|
EmptySlide
|
|
|
|
\family default
|
|
|
|
style for its title (see cyan color into LyX window).
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
pause
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\align center
|
|
|
|
You may also have noticed the use of
|
|
|
|
\family typewriter
|
|
|
|
randomdots
|
|
|
|
\family default
|
|
|
|
slide option which
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
allows displaying those multicolor dots into the slide background.
|
2007-05-22 21:35:22 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Slide
|
2013-03-17 16:56:07 +00:00
|
|
|
\begin_inset Argument 1
|
2007-05-22 21:35:22 +00:00
|
|
|
status collapsed
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
method=direct
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Example of LaTeX source code
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Let's now use the
|
|
|
|
\family typewriter
|
|
|
|
listings
|
|
|
|
\family default
|
|
|
|
package in order to typeset some source code.
|
|
|
|
Here's the
|
|
|
|
\family typewriter
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
HelloWorld
|
|
|
|
\family default
|
|
|
|
LaTeX command:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2007-05-23 23:41:22 +00:00
|
|
|
\begin_inset listings
|
|
|
|
lstparams "language={[LaTeX]TeX}"
|
|
|
|
inline false
|
2007-05-22 21:35:22 +00:00
|
|
|
status open
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
newcommand{
|
|
|
|
\backslash
|
|
|
|
HelloWorld}{Hello World!}
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Note that this slide uses the
|
|
|
|
\family typewriter
|
|
|
|
method=direct
|
|
|
|
\family default
|
|
|
|
option (see its short title options box above into LyX window).
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Slide
|
2013-03-17 16:56:07 +00:00
|
|
|
\begin_inset Argument 1
|
2007-05-22 21:35:22 +00:00
|
|
|
status collapsed
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
method=file
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Verbatim material with overlays
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Here's
|
|
|
|
\family typewriter
|
|
|
|
HelloWorld()
|
|
|
|
\family default
|
|
|
|
C function:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset listings
|
|
|
|
lstparams "language=C"
|
|
|
|
inline false
|
|
|
|
status open
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
void HelloWorld() {
|
|
|
|
\end_layout
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
printf("Hello World!
|
|
|
|
\backslash
|
|
|
|
n");
|
|
|
|
\end_layout
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
2008-10-01 00:59:36 +00:00
|
|
|
\begin_layout Plain Layout
|
2007-05-22 21:35:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
pause
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Unlike the previous one, this slide must use
|
|
|
|
\family typewriter
|
|
|
|
method=file
|
|
|
|
\family default
|
|
|
|
as it employs two overlays.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Slide
|
|
|
|
The end.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Don't forget to put an
|
|
|
|
\family typewriter
|
|
|
|
EndSlide
|
|
|
|
\family default
|
|
|
|
style at the end of the document (see the black symbol below into LyX window).
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Have fun!
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout EndSlide
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_body
|
|
|
|
\end_document
|