.require "HELPSETUP.RNI" .flags subst .flags all.no flags lower.no flags accept.no flags substitute.no flags underline1 SliTeX.0SliTeX is a version of LaTeX designed for makingIcolor slides, though you can use it for black-and-white slides as well. .You don't need a special printer to make color>slides; SliTeX uses the same black-and-white printer as LaTeX.<You get color slides by copying SliTeX's output onto coloredtransparencies. 2 Root_File.s>SliTeX is a separate program that you run the same way you runALaTeX, giving it the first name of an input file whose file type Gis .tex. This file is called the root file. For example, myfile.tex.7This file starts out with the customary \documentstyle 0command. The standard document style for making0slides is slides so your file is likely to begin.lt \documentstyle{slides}.elBThe commands are followed by any declarations that you may want to7make, followed in turn by the \begin{document} command..s<Any text that comes after the \begin{document} is treated asF"front matter" and not as slide material. You can use it for notes toidentify the slides. .sCFor SliTeX to produce color slides, you have to tell it what colorsFyou will be using. This is done with the \colors command. The command.lt \colors{red,black,blue}.el@states that you will be using three colors, which you have named>red, black, and blue. SliTeX knows nothing about real colors,8so you could just as well have called your three colors Fpuce, mauve, and fred. If you're making only black-and-white slides, &then you don't need a \colors command..sJThe text of your slides is contained not in myfile.tex, but in a separate Hslide file. This file can have any name that ends in .tex; for example,<myslid.tex. What goes into the file myslid.tex is explainedIunder Slide_File for this topic. Black-and-white slides are generated by /placing the following command in the root file:.lt \blackandwhite{myslid}.el)Color slides are generated by the command.lt \colorslides{myslid}.elMThe \colorslides command generates a set of color layer pages for each color ;specified by the \colors command. For example, the command.lt \colors{red,black,blue}.el+causes a subsequent \colorslides command toFgenerate first all the red color-layer pages, then the black ones, andthen the blue ones..s=As usual, your root file ends with an \end{document} command. 2 Slide_File.sBThe main purpose of the root file is to tell SliTeX what colors toIuse and where to find the slide file, so the root file tends to be pretty>short. It's the slide file that actually makes the individualslides.3 Slides.sMEach slide is produced by a slide environment. This environment has a singleCargument, which is a list of all the colors contained on the slide.GFor example, a slide that has the colors red and blue is created by an environment.lt \begin{slide}{red,blue} ... \end{slide}.el7The colors in the argument must have been declared by aJ\colors command in the root file. They tell SliTeX which color layers to Iproduce for this particular slide. If there is green text in the slide, Othat text will appear in the black-and-white version, but no green color layer 1will be generated unless green is included in the/slide environment's argument. If you want only9black-and-white slides, then you can use a null argument:.lt \begin{slide}{} ....el.sAThe text that appears on a slide is produced using ordinary LaTeX?commands. You can use any commands that make sense for slides.;Commands that don't make sense include sectioning commands,Kfigure and table environments, indexing commands, commands for generating aFbibliography, and page-breaking commands. The latter make no sense inEa slide because each slide must fit on a single page. You can use anD\input command, but not an \include command. Commands for producing<only some of the slides in your slide file are described in %Making_Some_Slides within this topic..s=There are two major differences between the text generated by:SliTeX and that generated by LaTeX. First of all, text isCautomatically centered vertically on the slide. Secondly, and most+noticeable, SliTeX uses a set of type facesEespecially chosen for slides. The characters in these type faces are@much larger than the ones in the corresponding LaTeX type faces.)SliTeX's \normalsize produces roughly the'same size characters as LaTeX's \LARGE.CAlso, SliTeX's ordinary Roman type style is similar to LaTeX's sansAserif style. Besides Roman, the only other type styles generally=available are italic (\it), bold (\bf), and typewriter (\tt)..s@The only commands you need inside a slide that aren't present in@ordinary LaTeX input are ones to tell SliTeX what color the text*is. The \colors command in your root file(defines the declarations for doing this.2For example, if the root file contains the command/\colors{red,black,blue}, then \red, \black, and'\blue are declarations that specify the:color. They work just like any other declaration, such as%\bf, having the same scoping rules. .s3A color declaration does not affect the type style..sDText in which there is no color declaration in effect appears on allFcolor layers. For example, if you make no color declarations anywhereBin your slide file, then all color layers will be identical to theEblack and white versions. Note that color declarations are undefinedin the root file..sThe command \invisible isFa special color declaration for invisible text. Invisible text is notConly colorless, appearing in no color layer, but does not appear inAthe black-and-white version either. The use of invisible text isexplained below..s-WARNING: Don't use a color declaration or an invisible command in math mode. 3 Overlays.s8The overlay environment is exactly the same as the slide;environment except for how the page is numbered. The first,overlay following slide number 9 is numbered@"9a", the second one is numbered "9b", and so forth. To make anBoverlay that perfectly overlays a slide, the slide and the overlayEshould be absolutely identical except that text visible in one shouldbe invisible in the other. 3 Notes.s?It is sometimes convenient to put notes to yourself in with theslides. The note environmentAproduces a one-page note that appears only in the black-and-whiteFversions of the slides. Notes that follow slide number 9 are numbered"9-1", "9-2"", etc. .s For example,.lt \begin{note}'This is the note for the current slide.etc. \end{note}.el2 Making_Some_Slides.sDFor making corrections, it's handy to be able to produce a subset of%the slides in your file. The command.lt \onlyslides{4,7-13,23}.el)in the root file will cause the following9\blackandwhite and \colorslides commands to generate only=slides numbered 4, 7-13 (inclusive) and 23, plus all of theirAoverlays. The slide numbers in the argument must be in ascendingEorder, and can include nonexistent slides---for example, you can type.lt \onlyslides{10-9999}.el>to produce all but the first nine slides. The argument of the&\onlyslides command must be non-empty..s0There is also an analogous \onlynotes command toEgenerate a subset of the notes. Notes numbered 11-1, 11-2, etc. will=all be generated by specifying page 11 in the argument of the\onlynotes command..s,If your input has an \onlyslides command and6no \onlynotes command, then notes will be produced for%the specified slides. If there is anD\onlynotes command but no \onlyslide command, then no slides will be,produced. Including both an \onlyslides and&an \onlynotes command has the expected8effect of producing only the specified slides and notes.3.! DEC/CMS REPLACEMENT HISTORY, Element SLITEX.RNHV.! *2 29-JAN-1986 11:17:26 MCPHERSON "Updated help files for the new LaTeX manual";.! *1 2-DEC-1985 09:24:54 MCPHERSON "slitex help file"3.! DEC/CMS REPLACEMENT HISTORY, Element SLITEX.RNH