]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/seminar.lyx
Math.lyx: add info about character ^ in chemical formulas
[lyx.git] / lib / examples / seminar.lyx
index 305854ad930b6933db9ee4e6f139f15f0531a80e..05557ea6de591054afa27fb3fe945bbcf9842cd7 100644 (file)
-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 344
+#LyX 2.0 created this file. For more info see http://www.lyx.org/
+\lyxformat 413
 \begin_document
 \begin_header
 \textclass seminar
 \begin_preamble
 \renewcommand{\printlandscape}{\special{landscape}}
+
+% if slides come out in the viewer upside down, try:
 %\sliderotation{right}
+
+%\AtBeginDocument{%
+%  \pdfpageheight = \paperheight
+%  \pdfpagewidth = \paperwidth
+%}
 \end_preamble
-\options a4, semrot, slidesec
-\use_default_options false
+\use_default_options true
+\maintain_unincluded_children false
 \language english
+\language_package default
 \inputencoding auto
+\fontencoding global
 \font_roman lmodern
 \font_sans lmss
 \font_typewriter lmtt
 \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 pdf
+\output_sync 0
+\bibtex_command default
+\index_command default
 \paperfontsize default
 \spacing single
-\use_hyperref false
-\papersize default
+\use_hyperref true
+\pdf_bookmarks true
+\pdf_bookmarksnumbered false
+\pdf_bookmarksopen false
+\pdf_bookmarksopenlevel 1
+\pdf_breaklinks false
+\pdf_pdfborder true
+\pdf_colorlinks true
+\pdf_backref false
+\pdf_pdfusetitle true
+\papersize a4paper
 \use_geometry false
 \use_amsmath 1
 \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 3
 \tocdepth 3
 \paragraph_separation indent
-\defskip medskip
+\paragraph_indentation default
 \quotes_language english
 \papercolumns 1
 \papersides 1
 \paperpagestyle empty
 \tracking_changes false
 \output_changes false
-\author "" 
-\author "" 
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
 \end_header
 
 \begin_body
 
 \begin_layout Standard
-\begin_inset Note Note
+\begin_inset Flex LandscapeSlide
 status open
 
-\begin_layout Plain Layout
-
-\series bold
-Note:
-\series default
- You must not use the view PDF button to preview this file! For viewing
- and exporting this as PDF use in the menus only the method 
+\begin_layout Title
+Slides and Notes with the 
 \family sans
-PDF (dvipdfm)
+\noun on
+Seminar
 \family default
-.
- Viewing and exporting seminar documents to DVI and PS can result in an
- unwanted output, depending on your LaTeX system and the DVI or PostScript
- viewer.
+\noun default
+ class
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Author
+Günter Milde
+\end_layout
 
-\series bold
-Note:
-\series default
- The 
-\family sans
-seminar
-\family default
- class is designed to produce transparencies, not presentations.
- For presentations, use a presentation document class like 
-\family sans
-beamer
-\family default
- or 
-\family sans
-powerdot
-\family default
-.
+\begin_layout Date
+10/10/2010
 \end_layout
 
 \end_inset
@@ -93,286 +107,346 @@ powerdot
 
 \end_layout
 
-\begin_layout LandscapeSlide
-
-\end_layout
+\begin_layout Standard
+\begin_inset CommandInset toc
+LatexCommand tableofcontents
 
-\begin_deeper
-\begin_layout SlideHeading
-How to make a presentation with LyX
-\begin_inset Newline newline
 \end_inset
 
-and the seminar LaTeX class 
-\end_layout
 
-\begin_layout SlideSubHeading
-seminar.cls and seminar.layout
-\begin_inset Newline newline
-\end_inset
+\end_layout
 
-template and introduction
+\begin_layout Section
+Basics
 \end_layout
 
-\end_deeper
-\begin_layout --Separator--
+\begin_layout Standard
+\begin_inset Flex LandscapeSlide
+status open
 
+\begin_layout SlideHeading
+Seminar
 \end_layout
 
-\begin_layout LandscapeSlide
+\begin_layout Itemize
+The 
+\begin_inset CommandInset href
+LatexCommand href
+name "seminar"
+target "http://www.ctan.org/pkg/seminar"
 
-\end_layout
+\end_inset
 
-\begin_deeper
-\begin_layout SlideHeading
-Some basic points to start with:
+ class is designed to produce overhead slides (transparencies).
+ For powerpoint-like presentations, use a 
+\emph on
+presentation
+\emph default
+ document class like
+\family sans
+ beamer
+\family default
+ or
+\family sans
+ powerdot
+\family default
+.
 \end_layout
 
 \begin_layout Itemize
-Start a slide with an paragraph of type 
-\family typewriter
+Insert a slide with a 
+\series bold
 LandscapeSlide
-\family default
+\series default
  or 
-\family typewriter
+\series bold
 PortraitSlide
-\family default
-.
+\series default
+ inset (Insert\SpecialChar \menuseparator
+Custom
+\begin_inset space ~
+\end_inset
+
+Insets).
 \end_layout
 
 \begin_layout Itemize
 It is really helpful to read the seminar handbook: 
 \family typewriter
-sem-user.pdf
-\family default
- (or 
-\family typewriter
-sem-user.dvi
-\family default
-)
-\end_layout
 
-\end_deeper
-\begin_layout --Separator--
+\begin_inset CommandInset href
+LatexCommand href
+name "sem-user.pdf"
+target "http://mirror.ctan.org/macros/latex/contrib/seminar/doc/sem-user.pdf"
 
-\end_layout
+\end_inset
 
-\begin_layout PortraitSlide
 
 \end_layout
 
-\begin_deeper
-\begin_layout SlideHeading
-Putting some stuff in a slide 
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
-If a paragraph shall appear in a slide, it need to be 
-\end_layout
 
-\begin_layout Itemize
-either inside the opening 
 \family sans
-LandscapeSlide
+Seminar
 \family default
- paragraph 
-\end_layout
-
-\begin_layout Itemize
-or nested inside the 
+ puts everything that is not nested inside a 
 \family sans
-LandscapeSlide
+Slide
 \family default
- environment
+ environment on extra pages as 
+\emph on
+notes.
+
+\emph default
+ (See Configuration below on how to print only slides, only notes, or both.)
 \end_layout
 
 \begin_layout Standard
-How to nest things is explained in LyX's User's Guide chapter 3.4.
+\begin_inset Flex LandscapeSlide
+status open
+
+\begin_layout SlideHeading
+Configuration
 \end_layout
 
-\end_deeper
-\begin_layout --Separator--
+\begin_layout SlideSubHeading
+Output options
+\begin_inset CommandInset label
+LatexCommand label
+name "sli:output-options"
+
+\end_inset
+
 
 \end_layout
 
-\begin_layout LandscapeSlide
+\begin_layout Plain Layout
+The following options can be added to the 
+\family sans
+Options
+\family default
+ field in 
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Document
+\begin_inset space ~
+\end_inset
 
+Class
+\family default
+:
 \end_layout
 
-\begin_deeper
-\begin_layout SlideHeading
-What can be part of a slide?
+\begin_layout Description
+slidesonly Only the slides are printed.
 \end_layout
 
-\begin_layout Standard
-Virtually everything that can appear in normal LaTeX, can also be on a slide.
+\begin_layout Description
+notesonly Only the notes are printed
 \end_layout
 
-\begin_layout Standard
-(Well, floats are an exception --- who would want them on a slide.)
+\begin_layout Description
+notes Both notes and slides are printed.
 \end_layout
 
-\begin_layout Standard
-Additionally there are the paragraph styles:
+\begin_layout Description
+notesonly* Produces a slide marker for each slide environment
 \end_layout
 
-\begin_layout Itemize
+\begin_layout Description
+article Print as article (two-up).
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Newpage newpage
+\end_inset
+
 
-\family sans
-SlideHeading,
 \end_layout
 
-\begin_layout Itemize
+\begin_layout SlideSubHeading
+Preamble commands 
+\end_layout
 
+\begin_layout Plain Layout
+The following options can be added to the 
+\family sans
+LaTeX preambel
+\family default
+ in 
 \family sans
-SlideSubheading,
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Document
+\begin_inset space ~
+\end_inset
+
+Class
+\family default
+:
 \end_layout
 
-\begin_layout Itemize
+\begin_layout Description
 
-\family sans
-ListOfSlides,
+\backslash
+onlyslides{8,9,11} print only slides number 8, 9 and 11 (e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+color plots),
 \end_layout
 
-\begin_layout Itemize
+\begin_layout Description
 
-\family sans
-SlideContents,
-\family default
- and
+\backslash
+notslides{4,8,9,11} don't print these slides.
 \end_layout
 
-\begin_layout Itemize
+\end_inset
+
 
-\family sans
-ProgressContents
-\family default
-.
 \end_layout
 
 \begin_layout Standard
-All of them can be found in the Style pulldown.
+\begin_inset Flex PortraitSlide
+status open
+
+\begin_layout SlideHeading
+Slide contents
+\end_layout
+
+\begin_layout Plain Layout
+Virtually everything that can appear in normal LaTeX (except floats) can
+ also be on a slide.
 \end_layout
 
-\end_deeper
-\begin_layout --Separator--
+\begin_layout Plain Layout
+Additional styles:
+\end_layout
+
+\begin_layout Itemize
 
+\family sans
+SlideHeading
 \end_layout
 
-\begin_layout LandscapeSlide
-Text within the 
+\begin_layout Itemize
+
 \family sans
-LandscapeSlide
-\family default
- environment will go on top of the slide as a standard paragraph.
+SlideSubheading
 \end_layout
 
-\begin_deeper
-\begin_layout SlideHeading
-What happens, when you want a List or a Heading first? 
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
-Normally, LyX doesn't like empty paragraphs and it kills empty environments
- before you are able to nest something in them (if you don't insert an empty
- command, like 
-\begin_inset ERT
-status collapsed
+\begin_inset Flex LandscapeSlide
+status open
 
-\begin_layout Plain Layout
+\begin_layout SlideHeading
+Warnings
+\end_layout
 
-{}
+\begin_layout Plain Layout
+Size and orientation of the slides show problems depending on the output
+ format and viewing application:
 \end_layout
 
-\end_inset
+\begin_layout Itemize
 
-, say).
-\family typewriter
-seminar
-\family default
-.
-\family typewriter
-layout
-\family default
- tells LyX to leave an empty 
 \family sans
-LandscapeSlide
+seminar
 \family default
- or 
+ uses Postscript specials and does not work with 
 \family sans
-PortraitSlide
+PDF (pdflatex)
 \family default
-, so you don't need to use the above workaround.
+.
 \end_layout
 
-\begin_layout Standard
-The same holds for the 
-\family sans
---Separator--
-\family default
- Environment, that is needed because LyX will normally merge two environments
- if they come immediately one after the other (i.e.
- two Paragraphs in the 
+\begin_layout Itemize
+Landscape slides do not work with 
 \family sans
-LandscapeSlide
-\family default
- environment will go to one slide, if there is nothing else in between.)
+DVI.
 \end_layout
 
-\end_deeper
-\begin_layout LandscapeSlide
-
+\begin_layout Plain Layout
+With the current configuration in Document\SpecialChar \menuseparator
+Settings,
 \end_layout
 
-\begin_layout --Separator--
-
-\end_layout
+\begin_layout Itemize
 
-\begin_layout Standard
-There is no need for a 
-\family sans
---Separator--
-\family default
- paragraph, if some notes follow the slide (or if a 
 \family sans
-Landscape Slide
+PDF (dvips)
 \family default
- is followed by a 
+ adapts the pager orientation → online viewing and presentation.
+\end_layout
+
+\begin_layout Itemize
+
 \family sans
-Portrait Slide
+Postscript
 \family default
-.
- The seminar class puts everything that is not nested inside a 
+ and 
 \family sans
-Slide
+PDF (dvipdfm)
 \family default
- environment on extra pages (see slide 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sli:output-options"
+ rotate landscape slides → hardcopies.
+\end_layout
 
 \end_inset
 
- for output options).
-\end_layout
 
-\begin_layout Section
-Outline
 \end_layout
 
 \begin_layout Standard
-Seminar defines additional content-listing commands, as the standard Table
- of Contents only lists standard headings and subheadings:
+Seminar uses non-standard ways to deal with paper layout and orientation.
+ Therefore, also Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Page Layout\SpecialChar \menuseparator
+Orientation has no effect on
+ the output.
+\end_layout
+
+\begin_layout Section
+Outline
 \end_layout
 
 \begin_layout Standard
-\begin_inset CommandInset toc
-LatexCommand tableofcontents
+Seminar defines additional content-listing commands, as the Table of Contents
+ only lists 
+\begin_inset Quotes eld
+\end_inset
 
+normal
+\begin_inset Quotes erd
 \end_inset
 
+ headings and subheadings.
+ (To get a slide with the listings, nest themt in a 
+\family sans
+slide 
+\family default
+inset.)
+\end_layout
 
+\begin_layout Subsection
+Slide contents
 \end_layout
 
 \begin_layout Standard
@@ -380,145 +454,95 @@ The
 \family sans
 SlideContents
 \family default
- paragraph style lists every page of the output (to produce a slide with
- the contents, nest it in a 
+ inset is an analogue to the table of contents but lists only 
 \family sans
-Slide
+SlideHeading
 \family default
- paragraph):
-\end_layout
+s (no 
+\family sans
+SlideSubheading
+\family default
+s): 
+\begin_inset Flex SlideContents
+status collapsed
 
-\begin_layout SlideContents
+\begin_layout Plain Layout
 
 \end_layout
 
-\begin_layout Standard
-If you want to have a listing of the slides only, use the 
-\family sans
-ListOfSlides
-\family default
- paragraph style:
-\end_layout
+\end_inset
 
-\begin_layout ListOfSlides
 
 \end_layout
 
-\begin_layout Section
-Progress Contents
+\begin_layout Subsection
+List of slides
 \end_layout
 
 \begin_layout Standard
-If you want to assure the audience, that the presentation is almost over,
- insert a slide with 
+Analogue to a list of tables, the 
 \family sans
-ProgressContents
+ListOfSlides
 \family default
-:
+ style lists all slides in your document: 
 \end_layout
 
-\begin_layout LandscapeSlide
-
-\end_layout
+\begin_layout Standard
+\begin_inset Flex ListOfSlides
+status collapsed
 
-\begin_deeper
-\begin_layout ProgressContents
+\begin_layout Plain Layout
 
 \end_layout
 
-\end_deeper
-\begin_layout --Separator--
-
-\end_layout
+\end_inset
 
-\begin_layout LandscapeSlide
 
 \end_layout
 
-\begin_deeper
-\begin_layout SlideHeading
-output options 
-\begin_inset CommandInset label
-LatexCommand label
-name "sli:output-options"
-
-\end_inset
-
-
+\begin_layout Subsection
+Progress Contents
 \end_layout
 
 \begin_layout Standard
-The following options can be added to the 
-\family sans
-Options
-\family default
- field in the menu 
+If you want to assure the audience, that the presentation is almost over,
+ insert a slide with 
 \family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
-Document
-\begin_inset space ~
-\end_inset
-
-Class
+ProgressContents
 \family default
 :
 \end_layout
 
-\begin_layout Description
-slidesonly Only the slides are printed
-\end_layout
-
-\begin_layout Description
-notesonly Only the notes are printed
-\end_layout
-
-\begin_layout Description
-notes Both notes and slides are printed
-\end_layout
+\begin_layout Standard
+\begin_inset Flex LandscapeSlide
+status open
 
-\begin_layout Description
-notesonly* Produces a slide marker for each slide environment
-\end_layout
+\begin_layout Plain Layout
+\align center
+\begin_inset Flex ProgressContents
+status collapsed
 
-\begin_layout Description
-article Print as article (two-up)
-\end_layout
+\begin_layout Plain Layout
 
-\begin_layout SlideHeading
-preamble commands 
 \end_layout
 
-\begin_layout Description
-
-\backslash
-onlyslides{8,9,11} print only slides number 8, 9 and 11 (e.g.
- color plots),
-\end_layout
+\end_inset
 
-\begin_layout Description
 
-\backslash
-notslides{4,8,9,11} don't print these slides.
 \end_layout
 
-\end_deeper
-\begin_layout --Separator--
-
-\end_layout
+\end_inset
 
-\begin_layout LandscapeSlide
 
 \end_layout
 
-\begin_deeper
-\begin_layout SlideHeading
+\begin_layout SlideSubHeading
 Fancier formatting
 \end_layout
 
 \begin_layout Standard
-The LaTeX preamble is the right place for many many options to get fancier
- formatting, e.
+The LaTeX preamble is the right place for many options to get fancier formatting
+, e.
 \begin_inset space \thinspace{}
 \end_inset
 
@@ -531,25 +555,22 @@ different font sets, e.
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 the Iwona fonts: 
 \end_layout
 
-\begin_deeper
 \begin_layout LyX-Code
 
 \backslash
 usepackage{iwona}
 \end_layout
 
-\end_deeper
 \begin_layout Itemize
 fancy frames:
 \end_layout
 
-\begin_deeper
 \begin_layout LyX-Code
 
 \backslash
@@ -574,32 +595,31 @@ setlength{
 shadowsize}{1pt}]{shadow} 
 \end_layout
 
-\end_deeper
-\end_deeper
-\begin_layout --Separator--
+\begin_layout Standard
+See 
+\family typewriter
 
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "sem-user.pdf"
+target "http://mirror.ctan.org/macros/latex/contrib/seminar/doc/sem-user.pdf"
 
-\begin_layout LandscapeSlide
+\end_inset
 
+ for details.
 \end_layout
 
-\begin_deeper
 \begin_layout SlideHeading
 Troubleshooting
 \end_layout
 
 \begin_layout Itemize
-There is a bug in 
+
 \family typewriter
 seminar.cls
 \family default
- making it fail with the 
-\family typewriter
-a4paper
-\family default
- option.
- If you use A4 paper, set in the menu 
+ versions before 1.5 (2008-10-15) contained a bug regarding the a4paper option.
+ If you use A4 paper with such a version, set in the menu 
 \family sans
 Document\SpecialChar \menuseparator
 Settings\SpecialChar \menuseparator
@@ -618,22 +638,31 @@ Paper
 Size
 \family default
  to 
+\begin_inset Quotes eld
+\end_inset
+
+
 \family sans
-Default
+A4
 \family default
- and add 
+
+\begin_inset Quotes erd
+\end_inset
+
+ (unless it is the default layout of your LaTeX distribution), and delete
+ the option 
 \begin_inset Quotes eld
 \end_inset
 
 
 \family sans
-a4
+a4paper
 \family default
 
 \begin_inset Quotes erd
 \end_inset
 
to the 
if necessary in the 
 \family sans
 Options
 \family default
@@ -652,17 +681,28 @@ Class
 
 \begin_layout Itemize
 If you have problems with the orientation of the slides/page, try the recommenda
-tions in Apppendix E of the seminar handbook.
+tions in Apppendix
+\begin_inset space ~
+\end_inset
+
+E of the seminar handbook 
+\family typewriter
+
+\begin_inset CommandInset href
+LatexCommand href
+name "sem-user.pdf"
+target "http://mirror.ctan.org/macros/latex/contrib/seminar/doc/sem-user.pdf"
+
+\end_inset
+
+
+\family default
+.
 \end_layout
 
 \begin_layout Itemize
 Assure that the document page margins are set to default.
 \end_layout
 
-\end_deeper
-\begin_layout LandscapeSlide
-
-\end_layout
-
 \end_body
 \end_document