]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/seminar.lyx
chkconfig.ltx: add lh fonts
[lyx.git] / lib / examples / seminar.lyx
index a8550ca375ef22241a04e7e6b5fa2fed74064db5..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 dvips
+\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
- It turned out that the method 
+\begin_layout Title
+Slides and Notes with the 
 \family sans
-PDF (dvipdfm)
+\noun on
+Seminar
 \family default
- works on all LaTeX systems as expected when viewing/exporting this file
- as PDF.
- 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 powerpoint-like presentations.
- For such presentations, use a presentation document class like
-\family sans
- beame
-\family default
-r or
-\family sans
- powerdot
-\family default
-.
+\begin_layout Date
+10/10/2010
 \end_layout
 
 \end_inset
@@ -93,279 +107,320 @@ r or
 
 \end_layout
 
-\begin_layout LandscapeSlide
-
-\end_layout
-
-\begin_deeper
-\begin_layout SlideHeading
-Slides and Notes with the 
-\family sans
-\noun on
-Seminar
-\family default
-\noun default
- class
-\begin_inset Note Note
-status open
-
-\begin_layout Plain Layout
-written by Günter Milde
-\end_layout
+\begin_layout Standard
+\begin_inset CommandInset toc
+LatexCommand tableofcontents
 
 \end_inset
 
 
 \end_layout
 
-\begin_layout Author
-Harry Testman
-\end_layout
-
-\begin_layout Date
-10/10/2010
+\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
-)
+
+\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
+
+
 \end_layout
 
-\end_deeper
-\begin_layout --Separator--
+\end_inset
+
 
 \end_layout
 
-\begin_layout PortraitSlide
+\begin_layout Standard
 
+\family sans
+Seminar
+\family default
+ puts everything that is not nested inside a 
+\family sans
+Slide
+\family default
+ 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_deeper
+\begin_layout Standard
+\begin_inset Flex LandscapeSlide
+status open
+
 \begin_layout SlideHeading
-Putting some content in a slide 
+Configuration
 \end_layout
 
-\begin_layout Standard
-If a paragraph shall appear in a slide, it need to be 
+\begin_layout SlideSubHeading
+Output options
+\begin_inset CommandInset label
+LatexCommand label
+name "sli:output-options"
+
+\end_inset
+
+
 \end_layout
 
-\begin_layout Itemize
-either inside the opening 
+\begin_layout Plain Layout
+The following options can be added to the 
 \family sans
-LandscapeSlide
+Options
 \family default
- paragraph 
-\end_layout
-
-\begin_layout Itemize
-or nested inside the 
+ field in 
 \family sans
-LandscapeSlide
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Document
+\begin_inset space ~
+\end_inset
+
+Class
 \family default
- environment
+:
 \end_layout
 
-\begin_layout Standard
-How to nest things is explained in LyX's User's Guide chapter 3.4.
+\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
 
-\end_deeper
-\begin_layout --Separator--
+\begin_layout Description
+notesonly* Produces a slide marker for each slide environment
+\end_layout
 
+\begin_layout Description
+article Print as article (two-up).
 \end_layout
 
-\begin_layout LandscapeSlide
+\begin_layout Plain Layout
+\begin_inset Newpage newpage
+\end_inset
+
 
 \end_layout
 
-\begin_deeper
 \begin_layout SlideSubHeading
-What can be part of a slide?
+Preamble commands 
 \end_layout
 
-\begin_layout Standard
-Virtually everything that can appear in normal LaTeX, can also be on a slide.
+\begin_layout Plain Layout
+The following options can be added to the 
+\family sans
+LaTeX preambel
+\family default
+ in 
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Document
+\begin_inset space ~
+\end_inset
+
+Class
+\family default
+:
 \end_layout
 
-\begin_layout Standard
-(Well, floats are an exception --- who would want them on a slide.)
+\begin_layout Description
+
+\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 Standard
-Additionally there are the paragraph styles:
+\begin_layout Description
+
+\backslash
+notslides{4,8,9,11} don't print these slides.
 \end_layout
 
-\begin_layout Itemize
+\end_inset
+
 
-\family sans
-SlideHeading,
 \end_layout
 
-\begin_layout Itemize
+\begin_layout Standard
+\begin_inset Flex PortraitSlide
+status open
 
-\family sans
-SlideSubheading,
+\begin_layout SlideHeading
+Slide contents
 \end_layout
 
-\begin_layout Itemize
+\begin_layout Plain Layout
+Virtually everything that can appear in normal LaTeX (except floats) can
+ also be on a slide.
+\end_layout
 
-\family sans
-ListOfSlides,
+\begin_layout Plain Layout
+Additional styles:
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-SlideContents,
-\family default
- and
+SlideHeading
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-ProgressContents
-\family default
-.
+SlideSubheading
 \end_layout
 
-\begin_layout Standard
-All of them can be found in the Style pull-down box.
-\end_layout
+\end_inset
 
-\end_deeper
-\begin_layout --Separator--
 
 \end_layout
 
-\begin_layout LandscapeSlide
-Text within the 
-\family sans
-LandscapeSlide
-\family default
- environment will go on top of the slide as a standard paragraph.
-\end_layout
+\begin_layout Standard
+\begin_inset Flex LandscapeSlide
+status open
 
-\begin_deeper
 \begin_layout SlideHeading
-What happens, when you want a List or a Heading first? 
+Warnings
 \end_layout
 
-\begin_layout Standard
-Normally, LyX does not 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 or a note).
-\family typewriter
-seminar
-\family default
-.
-\family typewriter
-layout
-\family default
- tells LyX to leave an empty 
+\begin_layout Plain Layout
+Size and orientation of the slides show problems depending on the output
+ format and viewing application:
+\end_layout
+
+\begin_layout Itemize
+
 \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 
+\begin_layout Itemize
+Landscape slides do not work with 
 \family sans
---Separator--
-\family default
- paragraph after a slide is needed because LyX will normally merge two environme
-nts if they come immediately one after the other (i.
-\begin_inset space \thinspace{}
-\end_inset
+DVI.
+\end_layout
 
-g.
-\begin_inset space \space{}
-\end_inset
+\begin_layout Plain Layout
+With the current configuration in Document\SpecialChar \menuseparator
+Settings,
+\end_layout
+
+\begin_layout Itemize
 
-two Paragraphs in the 
 \family sans
-LandscapeSlide
+PDF (dvips)
 \family default
- environment will go to one slide, if there is nothing else between.)
+ adapts the pager orientation → online viewing and presentation.
 \end_layout
 
-\end_deeper
-\begin_layout --Separator--
-
-\end_layout
+\begin_layout Itemize
 
-\begin_layout Standard
-The seminar class puts everything that is not nested inside a 
 \family sans
-Slide
+Postscript
 \family default
- environment on extra pages as 
-\emph on
-notes
-\emph default
- (see slide 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sli:output-options"
+ and 
+\family sans
+PDF (dvipdfm)
+\family default
+ rotate landscape slides → hardcopies.
+\end_layout
 
 \end_inset
 
- for output options).
+
 \end_layout
 
 \begin_layout Standard
-There is no need for a 
-\family sans
---Separator--
-\family default
- paragraph, if notes follow the slide (or if a 
-\family sans
-Landscape Slide
-\family default
- is followed by a 
-\family sans
-Portrait Slide
-\family default
-.
+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
@@ -382,16 +437,12 @@ normal
 \begin_inset Quotes erd
 \end_inset
 
- headings and subheadings:
-\end_layout
-
-\begin_layout Standard
-\begin_inset CommandInset toc
-LatexCommand tableofcontents
-
-\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
@@ -403,24 +454,24 @@ The
 \family sans
 SlideContents
 \family default
- paragraph style is an analogue to the table of contents but lists only
+ inset is an analogue to the table of contents but lists only 
 \family sans
 SlideHeading
 \family default
-s.
- It has problems with 
+s (no 
 \family sans
 SlideSubheading
 \family default
-s, though which fail to show up in the list (seems to be a bug in 
-\family typewriter
-slidesec.sty
-\family default
-):
+s): 
+\begin_inset Flex SlideContents
+status collapsed
+
+\begin_layout Plain Layout
+
 \end_layout
 
-\begin_layout SlideContents
+\end_inset
+
 
 \end_layout
 
@@ -433,151 +484,65 @@ Analogue to a list of tables, the
 \family sans
 ListOfSlides
 \family default
- style lists all slides in your document (to produce a slide with the list,
- nest it in a 
-\family sans
-...Slide
-\family default
- paragraph):
-\end_layout
-
-\begin_layout ListOfSlides
-
-\end_layout
-
-\begin_layout Subsection
-Progress Contents
+ style lists all slides in your document: 
 \end_layout
 
 \begin_layout Standard
-If you want to assure the audience, that the presentation is almost over,
- insert a slide with 
-\family sans
-ProgressContents
-\family default
-:
-\end_layout
-
-\begin_layout LandscapeSlide
+\begin_inset Flex ListOfSlides
+status collapsed
 
-\end_layout
-
-\begin_deeper
-\begin_layout ProgressContents
-
-\end_layout
-
-\end_deeper
-\begin_layout --Separator--
+\begin_layout Plain Layout
 
 \end_layout
 
-\begin_layout LandscapeSlide
+\end_inset
 
-\end_layout
 
-\begin_deeper
-\begin_layout SlideHeading
-Configuration
 \end_layout
 
-\begin_layout SlideSubHeading
-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 Description
-notesonly* Produces a slide marker for each slide environment
-\end_layout
-
-\begin_layout Description
-article Print as article (two-up).
-\end_layout
-
 \begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
+\begin_inset Flex LandscapeSlide
+status open
 
+\begin_layout Plain Layout
+\align center
+\begin_inset Flex ProgressContents
+status collapsed
 
-\end_layout
+\begin_layout Plain Layout
 
-\begin_layout SlideSubHeading
-Preamble commands 
 \end_layout
 
-\begin_layout Description
-
-\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 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 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
 
@@ -596,19 +561,16 @@ g.
 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
@@ -633,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
@@ -677,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
@@ -715,17 +685,24 @@ tions in Apppendix
 \begin_inset space ~
 \end_inset
 
-E of the seminar handbook.
+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