Home
        Colour slides with LATEX and seminar.sty
         Contents
1.    Linewidth  slideframewidth     framesep  slideframesep     cornersize absolute    Linearc  5cm         psframebox  1     def SlideColours 1 2      gdef SlideFront  color  1      slideframet  Framedefault     slideframe L psset fillcolor  2    fillstyle solid   blueframe          def blackandwhite     SlideColours Black  White         The slide defaults will be for a detailed layout and CERN  logo  with yellow writing on a blue background      pagestyle cernsections    slideframe cern    def Framedefault cern    SlideColours Yellow  RoyalBlue     The result of this setup is show in Figure 1  Figure 2 shows  how we might combine colour and seminar   s overlay com     Dutch TEX Users Group  NTG   P O  Box 394  1740 AJ Schagen  The Netherlands    mands to highlight the relationship between parts of a pro   gram schema     If you do not like the CERN layout we describe above   or whatever your local system has provided   you can     roll your own    to various degrees of sophistication  In  the simplest case you can just write a file in your local  directory     A A do nothing file seminar con   endinput    Of course it might be more sensible to build on our work  by redefining the commands so that they do what you want   For instance  if you had the seminar   con described above   and wanted to change the default set up to black on white  and use a plain pagestyle and frame  you could add some  code in front of the command  begin document       documentstyle seminar    pagesty
2.   done using the PStricks macros  which are automatically  included by the    semcolor    option above   The colour com   mands are also defined using PStricks  the code is not listed  here   the names are used in the    colour    figure      newslideframetcern    SlideFront   boxput   0 7  1 11      psframebox linecolor black    fillcolor ForestGreen     fillstyle solid      hbox      normalsize   sffamily   color Black CERN    FIHLA   color Black         Finally we make sure that each slide starts with the current  foreground colour      def  everyslide  SlideFront    def  theslideheading      The user sets up slides with the command  SlideColours   with two parameters  which are colour names for fore   ground and background  A synonym is defined for black  on white  We have to be a bit careful defining the frame  border  because by default it is coloured using the POST   SCRIPT    setgray    operator  and that might not work with  colour separation  so we define an explicit blue frame  for  variety      Dutch TEX Users Group  NTG   P O  Box 394  1740 AJ Schagen  The Netherlands    Bijlage S    EN 1    Z        WM  WA  SOM    R ROS  UMM  CUMIN   S   CUMIN       January 28  1994 Introduction 1     SlideColours Yellow  SkyBlue   A Introducing    seminar          ZA  Introducing    seminar       There is a much better ATX style file available now     seminar sty  if  used in conjunction with a PostScript printer  and a set of useful  macros called PStricks  this offers almost 
3.   pian  3  Three nested endgroups    4  Two undefined commands    5     and a token in TEX   s stomach       On the fifth day of Christmas  my true love gave    to me     1  Five overfull hboxes    2  Four fontdimens missing    align    3  Three nested endgroups    4  Two undefined commands    5     and a token in T   X   s stomach       Both slide frames and page styles can be customized  for  instance  the examples in this paper  eg Figure 1  are suit   able for use at the European Particle Physics Laboratory   CERN      Dutch TEX Users Group  NTG   P O  Box 394  1740 AJ Schagen  The Netherlands    Bijlage S    4 Interleaving notes  and selecting subsets    It is easy to intersperse your slides with notes to yourself    these can be simply placed between the slide environ    ments or enclosed in a specific note environment  You   can use any IATBX commands in these notes  and include   your whole article here if desired  When you want to print   the slides  a variety of style options can be used    slidesonly Only the slides are printed    notesonly Only the slides are printed    notes The slides are interleaved with the notes    article The document notes are typeset like a normal  IATEX paper  and the slides are placed as figures   reduced to half size      The  slideplacement command can be used to affect   how slides are placed in the  article format  the pos    sible parameters are    float  default  Slides are floated   float  Slides are floated  but if two column for
4.  Group  NTG   P O  Box 394  1740 AJ Schagen  The Netherlands    Colour slides with IATFX and seminar sty 65    some fonts  especially for mathematics  are not available at  the size needed  If you use dvips  it tries to generate these  fonts but does not always find the necessary Metafont in   put files to successfully complete the generation of the new  font bitmaps  It makes sense  therefore  to use scaleable  POSTSCRIPT fonts  the complete Computer Modern fam   ily is available in POSTSCRIPT Typel format  either in the  commercial set from Blue Sky or Y amp Y  or in  slightly less  polished  public domain Paradissa set by Basil Malyshev     7 The local control file    The seminar package always starts by trying to find a file  called seminar   con on the TEXINPUTS path  this gives the  user or site an opportunity to conveniently overwrite the  defaults  The seminar con file can contain any IATEX  commands  including inputting style files  Figure 1 was  typeset using a seminar con set up for CERN  the con   tents of this are given below  with explanation of what is  being done     First  we set up landscape macros for the dvips driver      newcommand  printlandscape      special papersize 297mm 210mm      We will assume POSTSCRIPT printers  and gain nice POST   SCRIPT effects like rounded box corners  these will need  some extra style files      input semcolor sty   input fancybox sty    Since this setup is designed to be used in Europe  where  A4 paper is standard  we need
5.  to set up some sizes and  re invoke the code to set internal parameters      def  paperwidth 210mm     def  paperheight  297mm    input sem page sty   slidewidth 205mm   slideheight 150mm   def slideleftmargin  8in    def sliderightmargin  8in     For slide    sections     list of contents  etc we use another  style file      input slidesec sty    This gives us access to various internal commands  some  of which are used below  We can also produce a list of  slides  in two layouts     Preprint MAPS 12  94 1   May 1994    66     listofslides  Ss        List of Slides    Introduction  3 Slides and BIEX  4 Introducing    seminar       5 Normal slide with coloured background  and text    Frame styles  6 Frame styles   Text colours and colour tables  8 Text colors  9 Colour tests    10 A multi page coloured table       Colour slides with XTX and seminar sty     Slidecontents    Frame styles 7    Introduction  y    Slides and Tex  y e Introducing    seminar             y    Normal slide with coloured  background and text          Frame styles    y    Frame styles    Text colours and colour tables   e Text colors  Colour tests  A multi page coloured table 10    Z schemas built up with over     11 Z schemas built up with overlays       January 16  1994 Introduction 2 January 16  1994 Frame styles 2    For slide headings  there is a predefined  slideheading  command  we will amend this so that it is typeset with a     shadow     A slidechapter command is also defined      newcount   
6. Bijlage S    Colour slides with IATFX and seminar sty 63    Colour slides with IATFX and seminar sty      Michel Goossens   CERN   Sebastian Rahtz     ArchaeoInformatica     1 Slides and LATpx    Many JATpxX users want to take advantage of TEX   s high   quality typesetting when they produce overhead slides for  a presentation  This facility was originally provided by a  separate package  SLITEX  but that had a number of disad   vantages    e it was limited to a set of specially scaled Computer  Modern fonts and it was not easy to adapt to other  fonts    e the user was required to have two separate files  one for  control information and the other for the actual slides    e the control of colour and overlays was limited and  crude    e There was only one    style    for slides  and writing a dif   ferent layout  to  say  put a logo on each slide  was not  documented     IATEX users now have a variety of fonts  and vast num   bers of styles  to choose from  but SLITgX has lagged be   hind  When IATBX2    was released at the end of 1993   this included a simple IATEX package  already available  in the New Font Selection Scheme  version 2  to emulate  SLITEX without the overhead of a separate macro package   However  there is a much better IATBX package which has  been available for some time now   seminar sty  if used in  conjunction with a POSTSCRIPT printer  and a set of useful  macros called PStricks     this offers almost every imagin   able facility  including     Fancy f
7. e assume you have a POSTSCRIPT  printer   using the  slideframe command     On the fifth day of Christmas  my true love gave    to me     1  Five overfull hboxes  2  Four fontdimens missing  none 3  Three nested endgroups    4  Two undefined commands    5     and a token in TRX   s stomach    On the fifth day of Christmas  my true love gave    to me     1  Five overfull hboxes   2  Four fontdimens missing   shadow  3  Three nested endgroups    4  Two undefined commands    5     and a token in T   X   s stomach       Preprint MAPS 12  94 1   May 1994    Bijlage S    On the fifth day of Christmas  my true love gave    to me     1  Five overfull hboxes  2  Four fontdimens missing  double  3  Three nested endgroups    4  Two undefined commands    5     and a token in T   X   s stomach          7    On the fifth day of Christmas  my true love gave  to me     1  Five overfull hboxes  oval 2  Four fontdimens missing  3  Three nested endgroups    4  Two undefined commands          5     and a token in T   X   s stomach    i P    1       Similarly  a variety of page styles  the headers and footers   are available with the  pagestyle command  such as     On the fifth day of Christmas  my true love gave  to me     1  Five overfull hboxes  empty 2  Four fontdimens missing  3  Three nested endgroups    4  Two undefined commands    5     and a token in TEX   s stomach       On the fifth day of Christmas  my true love gave  to me     1  Five overfull hboxes   1aj 2  Four fontdimens missing 
8. every imaginable facility   including     Fancy frames  headers and footers    Coloured text and tables  Interleaving of annotations and slides    Slide    chapters    and list of slides       January 16  1994     SlideColours White  Blue     Introduction 4    Colour slides with IATFX and seminar sty 67    Slides and TFX 3  A    Z      Slides and ETRX J    Many STEX users want to take advantage of TEX   s high quality  typesetting when they produce overhead slides for a presentation        This facility was originally provided by a separate package  SLITpx     but that had a number of disadvantages     e it was limited to a set of specially scaled Computer Modern fonts  and it was not easy to adapt to other fonts     the user was required to have two separate files  one for control  information and the other for the actual slides     the control of colour and overlays was crude and limited     There was only one    style    for slides  and writing a different  layout  to  say  put a logo on each slide  was not documented        January 16  1994 Introduction 3     SlideColours Black  White   Normal slide with coloured background and text 5  A       Normal slide with coloured bac    The Urban Origins in Eastern Afric    1  Ran from 1987 to 19  development agen        January 16  1994 Introduction 5    Red on gradient White JungleGreen    Figure 1  Colour in slide background and foreground   simulated in black and white      newslideframe blueframe L    psset linecolor NavyBlue 
9. inchap     inchapO    def 1 chapslide 1 7    slide undottedcline  1           def slidechapter 1     begin slide    immediate addtocontents los      protect l chapslide  ignorespaces      protect bfseries   protect large  1      gdef thechapterheading  1 7   end slide     inchapO       This allows the user to break the slides into groups  the  slide chapter title will be given in the bottom right corner  with this CERN style      def  empty     renewcommand  makeslideheading   1   1    gdef theslideheading  1      def   tempat 1 7   ifx O tempa  empty else    begin Sbox     begin Bcenter    lLarge textbf  1     end Bcenter     end Sbox    centerline  shadowbox  TheSbox     vspace iex minus tex     fi       Now the CERN page and frame styles  the plain    cern     style just places registration      marks  and the date     Preprint MAPS 12  94 1   May 1994    Bijlage S     newpagestyletcern       color Black  small   textbf t    hfil  today    hfil  textbf           color Black  small   textbf     hfil  thepage   hfil  textbf          Whereas the    cernsections    style has section headings and  a logo      newpagestyle cernsections        color Black  small   raisebox   5cm LOcm  LOcm       epsfig figure cernlogo eps    height  8cm     hfil textbf  theslideheading    hfil textbf  thepage         small color Black  today   hfil thechapterheading    inchap  FHA    For the slide frames  we define a frame with the word     CERN    set in a coloured box on the lower left  this is
10. le plain    slideframe plain    renewcommand  SlideFront        color Black     begin document     begin slide     Preprint MAPS 12  94 1   May 1994    68 Colour slides with XTX and seminar sty Bijlage S    Z schemas built up with overlays             January 16  1994 Text colours and colour tables 4    Z schemas built up with overlays           Triangle         x y z  1    January 16  1994 Text colours and colour tables 4       EN Z schemas built up with overlays  A       January 16  1994 Text colours and colour tables 4    Z schemas built up with overlays    Triangle      x y  2   3             January 16  1994 Text colours and colour tables 4    Figure 2  Slide overlays    If you still would like colour backgrounds for your slides  by keeping the    SlideColours    interface  but with a plain  border and no CERN logos etc   you can use the following  set up      documentstyle seminar     pagestyle plain     renewcommand  SlideColours  L2        renewcommand  SlideFront   color  i       slideframe   L psset fillcolor  2 fillstyle solid        scplain         begin document     SlideColours Red  Yellow    begin slide     The complete syntax of the many other commands which  you have at your disposal is described in the seminar user  guide  you will probably also want to read the PStricks  manual     Preprint MAPS 12  94 1   May 1994 Dutch TX Users Group  NTG   P O  Box 394  1740 AJ Schagen  The Netherlands    
11. mat is  chosen they will span both columns   here Slides are placed where they occur in the notes    Further detailed control of the interaction between slides  and notes is given in the User   s Manual     Selected slides can be included or excluded with the   onlyslides or  noteslides commands which a para   meter of a comma separated list of slides  this can be  numbers  ranges  e g   5 10  or IATFX  ref commands  referring to  label commands in the slides     5 Control over slide size  fonts and magnific   ation    There are a great number of parameters by which the user  can change any of the following either on a slide by slide  basis  or for the whole document    e Slide height and width    e Top  bottom  left and right margins    e Text justification  it is ragged right by default     e Page breaking by varying tolerance of over running  material   Inter line spacing   e Point size  and choice of fonts     How to change the default settings is explained in detail in  the User   s Guide     Because seminar works by magnifying pages  sophistic   ated users should read the manual to see how to deal with  setting and changing TEX dimensions  Most users need not  worry about this   in commands like  epsfig you should  always express your    width    and    height    requests in frac   tions of the line size anyway     6 Fonts    As the size of the text on your slides is larger than that for  normal text  articles  manuals  etc    often you will find that    Dutch TEX Users
12. rames  headers and footers    Landscape and portrait slides in the same document   Coloured text and tables    Interleaving of annotations and slides     Slide    chapters    and list of slides     aA ARG    Overlays     seminar is a normal IAT   X package which can be used  with almost all other IATEX packages  such as those to  change font  include graphics etc   Its main job is to pro   duce transparencies  but it can also make accompanying    notes from the same file  It is compatible with AM S   JATEX and IATEX 2e     2 Using the seminar style    Usage is simple  begin your document in the normal way   with     documentclass seminar     Or     documentstyleLlL    options      seminar     The slide environments are   begin slide      end slide    begin slide     end slide      Where slide is for landscape slides and slide  is for  portrait slides  By default  the document is typeset in land   scape mode  but if you include the portrait style option   the document is typeset in portrait mode  Typesetting the  document in landscape mode is different from printing it in  landscape mode  you have to worry about the orientation  of the page when printing  but with dvips this is simple   and taken care of in the local control file described below     So the default output  from this input      documentclass seminar    usepackage times    begin document      begin slide    My talk is about     begintdescription     itemLCats  Nice furry creatures  which should have a place in  e
13. very good home     itemLDogs  Nasty barking things  which bite you     l Reprint from the Annals of the UK TEX Users    Group  Baskerville  Volume 4 1  Januari 1994     The seminar package and PStricks are the work of Timothy van Zandt  tvz princeton  edu         We are assuming IAT   X2e here  just to remind you to upgrade      We have added a style option output    times    so that the output will reduce properly to thumbnails for this article     Dutch TEX Users Group  NTG   P O  Box 394  1740 AJ Schagen  The Netherlands    Preprint MAPS 12  94 1   May 1994    64 Colour slides with ATEX and seminar sty     itemLSnakes  They come slithering   through the grass and  emphthave  no feet   this is most   disturbing     item Rhinoceroses    textbf Never  be rude to a  rhino  they are bigger than you   and meaner     end description     end slide     end document     My talk is about     Cats Nice furry creatures which should have a place in every good  home    Dogs Nasty barking things which bite you     will look like     Snakes They come slithering through the grass and have no feet  this  is most disturbing     Rhinoceroses Never be rude to a rhino  they are bigger than you  and    meaner        1    Most slides will be no more complicated than this  using  standard IATRX environments like itemize  enumerate  and tabular     3 Frame styles    A variety of slide framing styles are available  set with  the  framestyle command  the following are some of  the predefined ones  Som
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
CA-2A T-Type Leveling Amplifier User Guide  USER MANUAL Double-sided quick release mechanical    Copyright © All rights reserved. 
   Failed to retrieve file