seminar.lyx: new example file from Günter Milde (forgot it in last commit)

This commit is contained in:
Uwe Stöhr 2012-05-18 23:20:20 +02:00
parent b0c3dce84f
commit ab28040ca4
2 changed files with 360 additions and 406 deletions

View File

@ -5,10 +5,16 @@
\textclass seminar \textclass seminar
\begin_preamble \begin_preamble
\renewcommand{\printlandscape}{\special{landscape}} \renewcommand{\printlandscape}{\special{landscape}}
% if slides come out in the viewer upside down, try:
%\sliderotation{right} %\sliderotation{right}
%\AtBeginDocument{%
% \pdfpageheight = \paperheight
% \pdfpagewidth = \paperwidth
%}
\end_preamble \end_preamble
\options a4paper, semrot, slidesec \use_default_options true
\use_default_options false
\maintain_unincluded_children false \maintain_unincluded_children false
\language english \language english
\language_package default \language_package default
@ -24,15 +30,24 @@
\font_sf_scale 100 \font_sf_scale 100
\font_tt_scale 100 \font_tt_scale 100
\graphics dvips \graphics default
\default_output_format default \default_output_format pdf
\output_sync 0 \output_sync 0
\bibtex_command default \bibtex_command default
\index_command default \index_command default
\paperfontsize default \paperfontsize default
\spacing single \spacing single
\use_hyperref false \use_hyperref true
\papersize default \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_geometry false
\use_amsmath 1 \use_amsmath 1
\use_esint 0 \use_esint 0
@ -66,57 +81,10 @@
\begin_body \begin_body
\begin_layout Standard \begin_layout Standard
\begin_inset Note Note \begin_inset Flex LandscapeSlide
status open status open
\begin_layout Plain Layout \begin_layout Title
\series bold
Note:
\series default
It turned out that the method
\family sans
PDF (dvipdfm)
\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.
\end_layout
\begin_layout Plain 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
beamer
\family default
or
\family sans
powerdot
\family default
.
\end_layout
\end_inset
\end_layout
\begin_layout LandscapeSlide
\end_layout
\begin_deeper
\begin_layout SlideHeading
Slides and Notes with the Slides and Notes with the
\family sans \family sans
\noun on \noun on
@ -124,283 +92,19 @@ Seminar
\family default \family default
\noun default \noun default
class class
\begin_inset Note Note
status open
\begin_layout Plain Layout
written by Günter Milde
\end_layout
\end_inset
\end_layout \end_layout
\begin_layout Author \begin_layout Author
Harry Testman Günter Milde
\end_layout \end_layout
\begin_layout Date \begin_layout Date
10/10/2010 10/10/2010
\end_layout \end_layout
\end_deeper
\begin_layout --Separator--
\end_layout
\begin_layout LandscapeSlide
\end_layout
\begin_deeper
\begin_layout SlideHeading
Some basic points to start with:
\end_layout
\begin_layout Itemize
Start a slide with an paragraph of type
\family typewriter
LandscapeSlide
\family default
or
\family typewriter
PortraitSlide
\family default
.
\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--
\end_layout
\begin_layout PortraitSlide
\end_layout
\begin_deeper
\begin_layout SlideHeading
Putting some content in a slide
\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
\family default
paragraph
\end_layout
\begin_layout Itemize
or nested inside the
\family sans
LandscapeSlide
\family default
environment
\end_layout
\begin_layout Standard
How to nest things is explained in LyX's User's Guide chapter 3.4.
\end_layout
\end_deeper
\begin_layout --Separator--
\end_layout
\begin_layout LandscapeSlide
\end_layout
\begin_deeper
\begin_layout SlideSubHeading
What can be part of a slide?
\end_layout
\begin_layout Standard
Virtually everything that can appear in normal LaTeX, can also be on a slide.
\end_layout
\begin_layout Standard
(Well, floats are an exception --- who would want them on a slide.)
\end_layout
\begin_layout Standard
Additionally there are the paragraph styles:
\end_layout
\begin_layout Itemize
\family sans
SlideHeading,
\end_layout
\begin_layout Itemize
\family sans
SlideSubheading,
\end_layout
\begin_layout Itemize
\family sans
ListOfSlides,
\end_layout
\begin_layout Itemize
\family sans
SlideContents,
\family default
and
\end_layout
\begin_layout Itemize
\family sans
ProgressContents
\family default
.
\end_layout
\begin_layout Standard
All of them can be found in the Style pull-down box.
\end_layout
\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_deeper
\begin_layout SlideHeading
What happens, when you want a List or a Heading first?
\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
\family sans
LandscapeSlide
\family default
or
\family sans
PortraitSlide
\family default
, so you don't need to use the above workaround.
\end_layout
\begin_layout Standard
The
\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 \end_inset
g.
\begin_inset space \space{}
\end_inset
two Paragraphs in the
\family sans
LandscapeSlide
\family default
environment will go to one slide, if there is nothing else between.)
\end_layout
\end_deeper
\begin_layout --Separator--
\end_layout
\begin_layout Standard
The seminar class puts everything that is not nested inside a
\family sans
Slide
\family default
environment on extra pages as
\emph on
notes
\emph default
(see slide
\begin_inset CommandInset ref
LatexCommand ref
reference "sli:output-options"
\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
.
\end_layout
\begin_layout Section
Outline
\end_layout
\begin_layout Standard
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:
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -412,89 +116,102 @@ LatexCommand tableofcontents
\end_layout \end_layout
\begin_layout Subsection \begin_layout Section
Slide contents Basics
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
\begin_inset Flex LandscapeSlide
status open
\begin_layout SlideHeading
Seminar
\end_layout
\begin_layout Itemize
The The
\begin_inset CommandInset href
LatexCommand href
name "seminar"
target "http://www.ctan.org/pkg/seminar"
\end_inset
class is designed to produce overhead slides (transparencies).
For powerpoint-like presentations, use a
\emph on
presentation
\emph default
document class like
\family sans \family sans
SlideContents beamer
\family default \family default
paragraph style is an analogue to the table of contents but lists only or
\family sans
powerdot
\family default
.
\end_layout
\begin_layout Itemize
Insert a slide with a
\series bold
LandscapeSlide
\series default
or
\series bold
PortraitSlide
\series default
inset (Insert\SpecialChar \menuseparator
Custom
\begin_inset space ~
\end_inset
Insets).
\family sans \end_layout
SlideHeading
\family default \begin_layout Itemize
s. It is really helpful to read the seminar handbook:
It has problems with
\family sans
SlideSubheading
\family default
s, though which fail to show up in the list (seems to be a bug in
\family typewriter \family typewriter
slidesec.sty
\family default
):
\end_layout
\begin_layout SlideContents \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_layout
\begin_layout Subsection \end_inset
List of slides
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
Analogue to a list of tables, the
\family sans \family sans
ListOfSlides Seminar
\family default \family default
style lists all slides in your document (to produce a slide with the list, puts everything that is not nested inside a
nest it in a
\family sans \family sans
...Slide Slide
\family default \family default
paragraph): environment on extra pages as
\end_layout \emph on
notes.
\begin_layout ListOfSlides \emph default
(See Configuration below on how to print only slides, only notes, or both.)
\end_layout
\begin_layout Subsection
Progress Contents
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
If you want to assure the audience, that the presentation is almost over, \begin_inset Flex LandscapeSlide
insert a slide with status open
\family sans
ProgressContents
\family default
:
\end_layout
\begin_layout LandscapeSlide
\end_layout
\begin_deeper
\begin_layout ProgressContents
\end_layout
\end_deeper
\begin_layout --Separator--
\end_layout
\begin_layout LandscapeSlide
\end_layout
\begin_deeper
\begin_layout SlideHeading \begin_layout SlideHeading
Configuration Configuration
\end_layout \end_layout
@ -510,12 +227,12 @@ name "sli:output-options"
\end_layout \end_layout
\begin_layout Standard \begin_layout Plain Layout
The following options can be added to the The following options can be added to the
\family sans \family sans
Options Options
\family default \family default
field in the menu field in
\family sans \family sans
Document\SpecialChar \menuseparator Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator Settings\SpecialChar \menuseparator
@ -548,7 +265,7 @@ notesonly* Produces a slide marker for each slide environment
article Print as article (two-up). article Print as article (two-up).
\end_layout \end_layout
\begin_layout Standard \begin_layout Plain Layout
\begin_inset Newpage newpage \begin_inset Newpage newpage
\end_inset \end_inset
@ -559,6 +276,24 @@ article Print as article (two-up).
Preamble commands Preamble commands
\end_layout \end_layout
\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 Description \begin_layout Description
\backslash \backslash
@ -579,23 +314,235 @@ color plots),
notslides{4,8,9,11} don't print these slides. notslides{4,8,9,11} don't print these slides.
\end_layout \end_layout
\end_deeper \end_inset
\begin_layout --Separator--
\end_layout \end_layout
\begin_layout LandscapeSlide \begin_layout Standard
\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
\begin_layout Plain Layout
Additional styles:
\end_layout
\begin_layout Itemize
\family sans
SlideHeading
\end_layout
\begin_layout Itemize
\family sans
SlideSubheading
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Flex LandscapeSlide
status open
\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
\begin_layout Itemize
\family sans
seminar
\family default
uses Postscript specials and does not work with
\family sans
PDF (pdflatex)
\family default
.
\end_layout
\begin_layout Itemize
Landscape slides do not work with
\family sans
DVI.
\end_layout
\begin_layout Plain Layout
With the current configuration in Document\SpecialChar \menuseparator
Settings,
\end_layout
\begin_layout Itemize
\family sans
PDF (dvips)
\family default
adapts the pager orientation → online viewing and presentation.
\end_layout
\begin_layout Itemize
\family sans
Postscript
\family default
and
\family sans
PDF (dvipdfm)
\family default
rotate landscape slides → hardcopies.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
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
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
The
\family sans
SlideContents
\family default
inset is an analogue to the table of contents but lists only
\family sans
SlideHeading
\family default
s (no
\family sans
SlideSubheading
\family default
s):
\begin_inset Flex SlideContents
status collapsed
\begin_layout Plain Layout
\end_layout
\end_inset
\end_layout
\begin_layout Subsection
List of slides
\end_layout
\begin_layout Standard
Analogue to a list of tables, the
\family sans
ListOfSlides
\family default
style lists all slides in your document:
\end_layout
\begin_layout Standard
\begin_inset Flex ListOfSlides
status collapsed
\begin_layout Plain Layout
\end_layout
\end_inset
\end_layout
\begin_layout Subsection
Progress Contents
\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 Standard
\begin_inset Flex LandscapeSlide
status open
\begin_layout Plain Layout
\align center
\begin_inset Flex ProgressContents
status collapsed
\begin_layout Plain Layout
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout \end_layout
\begin_deeper
\begin_layout SlideSubHeading \begin_layout SlideSubHeading
Fancier formatting Fancier formatting
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
The LaTeX preamble is the right place for many many options to get fancier The LaTeX preamble is the right place for many options to get fancier formatting
formatting, e. , e.
\begin_inset space \thinspace{} \begin_inset space \thinspace{}
\end_inset \end_inset
@ -614,19 +561,16 @@ g.
the Iwona fonts: the Iwona fonts:
\end_layout \end_layout
\begin_deeper
\begin_layout LyX-Code \begin_layout LyX-Code
\backslash \backslash
usepackage{iwona} usepackage{iwona}
\end_layout \end_layout
\end_deeper
\begin_layout Itemize \begin_layout Itemize
fancy frames: fancy frames:
\end_layout \end_layout
\begin_deeper
\begin_layout LyX-Code \begin_layout LyX-Code
\backslash \backslash
@ -651,17 +595,20 @@ setlength{
shadowsize}{1pt}]{shadow} shadowsize}{1pt}]{shadow}
\end_layout \end_layout
\end_deeper \begin_layout Standard
\end_deeper See
\begin_layout --Separator-- \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
for details.
\end_layout \end_layout
\begin_layout LandscapeSlide
\end_layout
\begin_deeper
\begin_layout SlideHeading \begin_layout SlideHeading
Troubleshooting Troubleshooting
\end_layout \end_layout
@ -738,17 +685,24 @@ tions in Apppendix
\begin_inset space ~ \begin_inset space ~
\end_inset \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 \end_layout
\begin_layout Itemize \begin_layout Itemize
Assure that the document page margins are set to default. Assure that the document page margins are set to default.
\end_layout \end_layout
\end_deeper
\begin_layout LandscapeSlide
\end_layout
\end_body \end_body
\end_document \end_document

View File

@ -68,7 +68,7 @@ What's new
- Recognize geany, leafpad and mousepad as viewers (bug #8021). - Recognize geany, leafpad and mousepad as viewers (bug #8021).
- Improved version of the layout file for Seminar slide documents (bug 7624). - Improved example and layout file for Seminar slide documents (bug 7624).
* DOCUMENTATION AND LOCALIZATION * DOCUMENTATION AND LOCALIZATION