0% found this document useful (0 votes)
124 views45 pages

Power Dot

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
124 views45 pages

Power Dot

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 45
powerdot The powerdot class * Hendri Adriaens v1.7 (2021/05/19) powerdat is @ presentation class for BX that allows for Abstract 1e quick and easy de ‘velopment of profesional presentations. It comes with many tools that enhance presentations and aid the presenter. Examples are automatic overlays, personal notesand a handout mode. To view a presentation, DVI, PS or PDF output can be used, A powerful template system is available to easily develop new ses. A x layout leis provided. Contents 1 Introduction 2 Setting up the presentation 2.1 Document class options 22. Setup options . . . 2. Makingslides SL The tile slide 3.2. Other slides 4 Overlays 4.1 The \pause command 4.2 _Listenvironments 43. The \iten command 44 The \onslidecommand 45. Relative overlays 5. Presentation structure 5.1 Makingsections . . 52 Making an overview 6 Miscellaneous G1 Notes 62. Empty slides 6.3. Bibliography slide 64 Verbatim onslides - 65. The \twocoluan command 7 Available styles 8 Compiling your presentation 8.1 Dependencies 82 Creating and viewing output 26 Tihs cas can be dawnload fi thisclase 26 26 9 Creatingyour own style 9.1. General information 9.2 Defining palettes 93 Defining templates 94 Controlling setup 95 Main components. 96 Slidetoc ...... 9.7. Miscellaneous options 9.8 Template presets 9.9. The background 9.10 Title slide, titles and sections 9.11 Testing the style 10 Using I4X for presentations, 10.1 How to use the layout 10.2 Support of syntax 10.3 Compiling with IX 10.4 Extending the layout 11 Questions 11.1 Frequently Asked Questions 11.2 Mailinglist 12 Sourcecode documentation References Acknowledgements Version history Index 3 38 41 4a 2 2 43 ihe CIAN minors: /ascros/latex/contzsb/poverdot. Sce ing powerdot into your BX dsibution a forthe Heanse of 1 Introduction: This class gives you the possibility to easily create professionally looking slides. The class is designed to make the development of presentations as simple as possible so that you can concentrate on the actual content instead of keeping yourself busy with ‘Of course, some knowledge of BT is stil required though. is on and extends the prosper class [9 and the HA-prosper package [1]. The HA-prosper package was initially intended to extend prosper and correct some ‘bugs and problems ofthat class. As developments on that package progressed, it was found that unfortunately, not all of the problems could be overcome with the package. That discovery was the start of a new project set up to make a new class to replace the prosper plus HA-prosper combination, You're currently reading the result of that project, ‘The remainder ofthis section will be devoted to giving a feel of what the powerdot presentation source looks like and giving an overview of this documentation “The document structure of presentation is always the same. You can find it in the example below. \Wocurens class [clase options] (poreraee) \pasetupt \begingeiided{a oiicey \enaensde) \section(fiset section) \beginéelide) celide options>l{another slide) Consents of the alte \enatstiae? \beginénoteh(personal note) endnote) \enalcocunent? ‘There are several elements that define the document structure, First ofall, the class accepts some class options that control the output of the class, for instance, paper type and style, These class options will be discussed in section 2.1, Then there are presentation specific options which control some of the elements ofthe presentation slobally, or instance, the footers, These will be discussed in section 2.2 Once the setup has been decided on, you can use the slide envionment to produce slides (see section 3) and the note environment to produce notes that go withthe slides {see section 6.1) You can use overlays to display material in steps. This is described in section 4. The \sect ion command provides a way to structure your presentation. This is discussed in section 5. Section 7 will show an overview of the styles that come with this class and the characteristics of each style, Section 8 will tell you more about how to produce output. This section contains important information on required packages. Section 9 is mostly interesting for people that want to develop their own style for this class or want to modify an existing style. Section 10 explains how IyX [6] can be used to cteate powerdot presentations. This documentation concludes with a section devoted to questions (section 11), like ‘Where can I find examples?” It also tells you where to turn to in case your questions are still not solved, 2. Setting up the presentation This section will describe all options that are available to control the output of the presentation and the looks oft 2.1, Document class options ‘We will start with the class options that are typed in the \docusent class command ‘asa comma-separated list For each option, the preset value! will be mentioned in the description. This isthe value that will be used if you decide to not give a value to the ‘option oF not use the option at all. option ‘This options conteols the kind of output that we want to produce. The preset value mode ispresent, [nodo=present ‘This mode: overlays and used when you want to create the actual presentation, Iewillenable ion effects. You can read more about overlays in section 4 fmode=print| This mode can be used when printing the slides including their visual markup, ‘but without any overlay or transition effects. [mode=handoue ‘This mode will produce a black and white overview of your slides that can be used to make personal notes on, for distribution to students, a personal guide ‘during your talk, eteetera Rohendoutpagebreaks By default, the handout mode produces a document with two slides per page. If you want to fit more slides on a page, specify this option in the \docunentclass command and powerdot will let BTfX decide on the places to insert a page break, namely when a page i ull, By default, the handout frames the slides. This option will remove the frames around slides on handouts. option ‘This option has five possible values. The preset value is ecreen, paper [paper=acreen! ‘This is a special format with sereen optimized ratio (4/3). The actual page di- mensions will be 8.25 inch by 11 inch, This paper format is not available for print or handout mode. In these modes, powerdot will switch to a paper and put a warning that it did this inthe logfile of your presentation. paper=adpaper| ‘Ad paper will be used for the presentation or handout. [paper=letterpaper| Letter size paper will be used. [paper=snartboard] For presentation on a smartboard (widescreen), [paper=i69) For a presentation on a screen with 16:9 ratio. option option display option ize option style option Deg option eqno option nopsneader: ‘Some important information with respect to paper size, compiling and viewing pre- sentations is available in section 8 ‘This controls the orientation of the presentation, The preset value is Landscape ‘oriontelandacape| ‘The presentation will bein landscape format, This values not available in hand- ‘out mode. In that mode, powerdot will switch to portr a ‘warn you about this in the log fle. ‘orientation and orlent=portralt| Tis produces slides in portrait format. Notice that not all styles support por- trait orientation. Please refer to section 7 for information about which styles do ‘support the portrait orientation, ‘This controls the production of slides and notes, The preset value is s1ides. [aisplay=slides ‘This will only typeset the slides in your presentation. [display=elidesnot ‘This will typeset both the slides and the notes in your presentation. See also section 6.1 for more information about notes. [aisplay-notes| ‘This will typeset the notes only Here are some more options to control the output ‘Thisis the sizeof the normal text font in points. Possible values are 8pt, 9pt, 10pt, pt, 12pt, pt, 17pt and 20pt and the preset value is 1pt2 style] This controls the style to be loaded for the presen style will be loaded. For more styles, see section 7, on. By default, the default eae This option makes equations flushed left. It does the same as the equally named ‘option forthe article class. Teqno] Put equation numbers atthe left. Also the same asin the article class [nopeheader| By default, powerdot will write a postscript command to the ps file to make sure that post processors like ps2pdf know which paper to use without the need to specify it on the command line. See also section 8. If you experience problems ‘with post processing or printing or you want to specify the paper size in the post processing steps yourself, use thi option, option hientries option option pauseslide options clock ‘This highlights table of contents entries when the entry matches with the ccurtent slide and its preset value is true. See also section 5. If you dont ‘want highlighting of table of contents entries (for instance in print mode), use hlentries=falee. ‘This highlights table of contents sections when the seetion matches with the cur rent section in the presentation and is preset o false. See also section 5, Spec ifying this option turns highlighting of sections on. ‘This could be useful when youre using. style that implements a spit table of contents. ide pan ‘This option inserts black slide in the presentation on page 1 and will auto- ‘matically advance to page 2 when opening the presentation in a PDF viewer like Acrobat (Reader), The option also inserts link behind every slide or section ttle that brings you to the black slide when clicked. When you click anywhere in the black slide, you will go back to the originating slide. This option can be used to temporarily pause a presentation, for instance, to do a proof on the black board Optionally, a color can be supplied, for instance, pauseelide-vhite to have a pause on a white sereen, ‘This displays a small digital clock on slides which you can use to check the time leftfor your presentation. Here Is an example of \documentc1ass command, \ioeumentclase aol a foderpresen: ‘iaplay=elideonctes, srylestyese, Schndetpacerant, Dpoverdot This example sets up a presentation in tycja style, with a black slide, normal size 12 points and flushed let equations \eoeuneneclasel wizeriopt, odechandouty ‘isplay=sl ideanete srplertyese, snohandowtpagebreats, dpoverdot Changing the paper and node options, now produces a handout with possibly more than two slides per page due tothe nohandoutpagebreaks option, Note that ste oer than 1Op, Tip and 12pt are non-standard and it is assumed that you have the cevtsizes bundle 1 Installed, which provides these les \pasetup option palette option theatide option thenove option option List options Steatze 2.2 Setup options ‘There are several extra options that can help customizing your presentation. These options are not available via the \docunentclass command. This has a technical reason.? We distinguish two types of options. Options that can only be set globally {acting for the entize presentation) using the \pdsetup command and options that can be accessed both globally (via \pasetup) and locally (va slide environments, see section 3) 2.2.1 Global options This section describes options that can only be used globally in the preamble of your presentation via the \pésetup command, palette] ‘This specifies the palette to be used. A palete isa set of colors defined by a style. ‘Tofind out which palettes are defined by each style, see section 7. ‘theslide| ‘This option controls how the slide number appears on the slide. This is preset tothevalue \arabic{slide}” /~\pageref+{lastelide}, which could appear like 5/22. Notice that the \arabic{s1ide} typesets the number of the current slide and that \pageref+{1ast s1 ide} typesets the number ofthe last slide.* ‘This is similar to the thes1ide option, but typesets the slide numbers of notes. The preset value is nove™\arabic{note}“of"sLide”\arabic(sLide} and \arabic{note} here typesets the numberof the current note that goes with the current slide. This could appear like note 2 of slide 7. ‘The counters option lists counters that you might want to protect on aver lays. AAs material on overlays (see section 4) is processed multiple times, also [BIiX counters, like the equation counter, might be increased too often. To avoid that your equations get different numbers on every overlay, use this op- tion. The equation, table, figure, footnote and mpfootnote counters are already protected for you. If you use extra counters, for instance for theorems, list them in this option. Example: ‘ounere={ehearen, Jemma) ‘This option takes ais of options that willbe passed on to the enumitem package that controls the layout of ists created by the enumerate and itemize environ- ‘ments, Example Liste Ciabed Sian pSe Ta ae See for mote information on controlling the layout of ists the enumitem package a. "he interested readers referred ode seton about the hte package inthe xheyal package doc mentation “kee the stared version of \pageres which is define by hyperef an docs nt create ink a the ge that isrefering As the List option, but only control enumerate and itemize environments re- spectively. option chocktormat ‘This option specifies the format of the clock. The format Is set using Acrobat's util printd function ‘The default value is HisHM: 25, which shows a 00-28, hue, 00-59 minute, 00-59 second clock. Example: The above setting will display a 1-12 hour, 0-59 minute, am/pm clock. That is, the clock might show 5:53 pm. Shockrefresh ‘This option should be a number which specifies how often the clock is refreshed inlleconds. The default behaviors to relresh the clock every second. Ts, the default values 1000 Notice, the elockfornat ssc that seconds are not shown, then makes no sense to update that clock every second. A correspond ing example ‘The interpretation ofthis is that the clock willbe updated every minut. 2.2.2, Global andocal options ‘This section describes options that can be used both globally via \pasetupandocaly viaslde environments (ee section 3 options 21¢ thisetermines the content ofthe let center and right footers. These are preset $f coempe option ‘This option sets the default transition effect to be used in the presentation, These ‘ansition effects only work after compiling the presentation to PDF format. See also section 8. The following transition effects are supported: Split, Blinds, Bos, Wipe, Dissolve, Glitter and Replace. When you are using a viewer that understands PDF 1.5, you can also use Fly, Push, Cover, Uncover or Fade. It is important to notice that most viewers are case sensitive, so, for instance, box. will not work. ‘The preset effect is Replace which just replaces one slide with another when browsing the slides. Note that some PDF viewers (like Acrobat Reader 5 and higher) only produce the transition effect in fll sereen mode, If you want to use a custom transition effect that is not listed in the list above (for instance, a wipe effect with a custom wipe direction). then that i passible. However. power- dot will put a warning in your log file thatthe effect that you have chosen, might not work in the PDE viewer. Here is an example that does work. Branseilipe 701 0 In Acrobat (Reade), this wipes from left to right instead of the default top t0 bottom. For more information, see a PDF Reference Manual option method options Aogehook, ogopo Logoced option randondots options anindote options anineize anaxeize options aninwsdth dmaxvidth aninheseht ‘aoaxheseht ‘This option can be used when a slide contains spectal material that does not ‘get treated in the ‘usual’ way by BTRX. Verbatim material is an example of this. Possible values are normal (the preset value), direct and file. We will come ‘back to this option in detal in section 6. Togokook| [ogopos] [logoend| If Logopos is specified, a logo defined by the value of the Logocnd option will be put on slides. The position can be specified relative to the width and height of the slide, {0,0} is the lower left corner of the paper and {\slidewidth, \sLideheight} is the upper right comer. For positioning the logo, the \rput command of pstricks (16, 17) is used. This command also allows to specify the point of the logo that should be positioned there. This point ean bbe entered via the Logohook option and can take the values t1, tr, r, Br, br, », bl, B1, 1, Band c. For more information about \rput, consult the pstricks documentation. Here is an example that integrates the flower ofthe default style into the husky style, \pdsetupe ‘ogoneck=t, -088\=3 end netepraphes sgh enthetgn)Govrde dea, \negindaocarest \enaedocunent? ‘The preset value for Logohook is #2. A special feature of powerdot, which can be used to make presentations come alive, {s the use of random dots. These dots will be placed anywhere on your slides and use the colors defined by the palette that you use, Overlays will carry the same dots. This feature uses random.tex (3). Several options are available o control the appearance of the random dots. [randondots| By default, random dots are turned off. Ifthis option is et to true, random dots will be generated, fa12e will turn off the feature. When no value is submitted to the option, true will be used, ‘The number of dots per slide is also random. These options set the minimum ‘and maximum dots per slide, Preset values are § and 40, respectively: ‘The minimum and maximum radius of the dots, Preset values are Spt and 40p¢, respectively, [Gainwiath] [Gmaxwideh] [Gaimhoighe] [Geaxhergne These options determine the area on the slide that can be used for the random dots, These values are preset such that dots go anywhere on the slide, but you might want to adjust these such that, for instance, dots can only appear in the textarea. The preset values are Opt, \sLidewidth, Opt, \slideheight. Here is an example that allows dots in a smaller rectangle on the slide, For a complete stingatallwale formats, consult the Aerob Jari Srpng Roe 3 option aright option prop \paee ‘siovidthe.2\e1ideusdth draevidthe O\eiideviaen, tenia. znicesigt asbeiphy-Setedeteine fabrighe This option can be used to adjust the brightness ofthe dots, The number should bbe an integer between -100 and 100. If the number is negative, the color will ‘be adjusted towards black, with -100 giving black, Ifthe number is postive, the color will be adjusted towards white, with 100 giving white. With a light back- ‘ground, you may want to choose bright to be positive. With adarkbackground, ‘you may want to setit negative. The preset value is 60, meaning mixture of 40% ‘of the original color and 60% white, [aprop ‘This option is used for passing extra parameters to the \psdot command, which creates the ranclom dots. You could, for instance, change the style ofthe dots or the line width. See for more information about \psdot the pstricks documenta- tion (16, 17). powerdot defines two extra dot styles that can be used for the ran dom dots. These styles are ocircle (open circle) and esquare (open square). Here are two examples for the use of random dots \paaerupt ‘yandondote,dzinuidtne.eLédewsat > This turns on random dots and doesnt use the left 20% ofthe side for placing random dots cizcle Linexidthe. Seth, 4 unteetpeeuaientp Gnadcer nines This example puts at most 5 big circles on slides. These circles do not fit on the slides ‘and you will only see parts of them in the shape of curves. 2.2.8 \pdsetupexample Here is an example of \pasetup command that one could use to set up the presen- tation. ope Tarst presentation, This sets the left and right footers and will initialize the transition effect to Wipe. Fur- ther, slide numbers will not include the numberof the ast slide, but only the number of the current slide, Finally, slides will be covered with at most 80 random dots. ‘A mall note is necessary with respect to the appearance of footers, The slide num: ber (controlled by the thes1ide option) will be added to a footer. Most styles add it too the right footer. fboth the footer and the slide number are non empty, ~~~" will be ingerted in between them to separate them. Styles might modify this default behavior however. \eiee \eutnor end \aate \naketseie slide option 3. Making slides 3.1 The title slide The le slide is created by the \naketit1e command, \eaket tte [(options)] Its use is the same as in the standard IT3X document classes. The optional argument (options) can contain any option from section 2.2.2, Specifying such an option in the \maket ite command will only have an effect onthe title slide and not on other slides. See an example below. \eoeunent aso poverdot Sele (Tele) \euthor(tow (ant \dstedlagses 21, \bogintdocinent > “anette \enaCeocunent) The author, title and date declarations provide the text to be used when making a title page. The design ofthe ttle page is specific to the style in use. Notice the use of \and for separating multiple authors, See a BTiX manual [12] for more information on commands such as \titleand \author. 3.2 Other slides The centerpiece of every presentation is the slide. In powerdot, the content of each slide is placed in a s1 ide environment. \begin{s1ide} [(oprions)}{(side itl} (body) \end{slide? In section 4 we'll see how to give some life tothe slides, but for now, let's look at a simple example, \bogingeiide)(Fizer slide) \enatenide) The slide environment has one required argument, namely the slide title, When aside is ereated, the slide title is used to create an entry in the table of contents and in the list of bookmarks. The table of contents sa listing ofthe slides and section titles in the presentation that appears on each slide. ‘The table of contents is clickable (when the presentation is compiled into PDF) and serves as a nice way to jump from location to location within the presentation. The bookmark lists only present when compilation is taken all the way to the PDF file format, It also serves as a table of contents, but this ist does not appeat on any of the slides, but ina separate window in a PDF viewer. In the example above, the entries in both table contents and thelist of bookmarks would be tiled Firat. slide. The (options) for the s1ide environment can contain any option listed in sec~ tion 2.2.2, Additionally, the following options can be used. ‘When specified, the value'is used for the entry in the table of contents; otherwise, the slide tile is used. If toe= is specified, then no entry is created, 10 option om \pause ‘When specified, the value is used for the bookmark entry otherwise, the slide ttle is used, If is specified, then no entry is created. These optional arguments are especially useful when the ttle ofa slides extremely Jong or when the ttle contains IX commands that do not render correctly in the ‘bookmarks. When specifying entries, be sure to hide special characters ',” and '=" between curly brackets {” and ‘?. Lets look at an example that uses these optional arguments \boginGoiide) (voe=,barCiatex, ivi=-1}](color(eed)\LaTox, #218) 1 slide contents. \enaensae) Inthis example, the side tile will appear as DT}X, i? = —1, This text will not render correctly in abookmarkentry. An attempt is made to correct this, but often, the correc- tion does not produce an equivalent text. This particular title would be rendered in the bookmark ist as redLaTeX, 12-1. On the other hand, the manually specified book- mark entry isrendered as: LaTeX, isi=-1, Notice, no entry is created in the table of contents, because ofthe use of toe: Inaddition to the e14de environment, each individual style can define its own en- Vironments. Many styles have a wides1ide environment. The idea is that one might hhave information that does not fit nicely on a slide with a table of contents listed, as this consumes some space. In sich cases, itis preferable to use a slide that does not list the table of contents. The wides1 ide environment provides this functionality and has :more space for the actual slide content. See section 7 for information on the various environments provided by the styles. 4 Overlays Itis often the case that you dontt want all the information on the slide to appear at once. Rather, the information should appear one tem at a time. In powerdot, this i achieved with overlays. Each slide can be comprised of many overlays, and the overlays are displayed one ata time. 4.1 The \pause command ‘The easiest way to display information sequentially ist use the \pause command. Ypausetnumberl Below is a simple example: \oopinGehideh(Sinple overlay ‘pover\paure dot \enatenidey The slides information is displayed and continues until the \pause command is en- countered. No further output within the same slide is displayed until the click of the _mouse or the touch of the keyboard. ‘Then, the content will continue to display until all he information is displayed or until another \pause command is encountered. In this example, power is displayed on the first overlay, and powerdot Is the displayed fon the second overlay. The \pause command is often used within the itemize and enumerate environments. For example, “ihe bookmarking procedure ures Vpatetrngdef from the hyperef package, and itcan proces: cene characters seh as option type \bogingotide)vuitipie pauses? Dpover\peuse dot pause \begin(stenize) (Ween Let ne pause\idcte \pauce Aste \ldots hile T talk (pause and choy bubble gun, \pause Aston Perhape \enatitentee) \enaCensae) Since \pause was used before the itemize environment, no item will appear until the third overlay. Then, each item will be displayed one at a time, each om their own ‘overlay: More information on using lists will follow in the next section, ‘The optional argument of the \pause command specifies the number of overlays to pause. An example usage Is: \bogin(eiide) (Pause Tonger) begin (stentze) Vitex & \pace \sten B (pace (2) Aster € \enatitenize? \enaenidey In the example above, tem C will appear on the fourth overlay. The usefulness ofthis ‘option will become more apparent in the next section; so we will revisit asi ample at that time. 4.2 List environments The lst environments, itemize and enumerate, have special treatments in powerdot They have an optional argument that will be taken care off by the enumitem package {see [4]). powerdot supplies an extra key for this optional argument. In the examples that follow, features will be described using the itemize environment but they also apply tothe enumerate environment. Here is the typical usage ofthe itemize environment: Veogin(eiide) (Basie Seenize) \begin(stenize) Vien A \pacre Aster B Apacs Asten € \enatitentze? \enaensde) The display is simple, each item appears one at a time with each averlay, Suppose we wanted every item to show, but we only wanted one item to appear ‘active’ at once, This can be accomplished via the type option for the itemize envi- ronment. The preset value is 0 VboginGeiide) (type 1 ieeniee) \begin(stentze) Cuypeet] Vitex A (pause: \sses 8 \pecee Aste ¢ \enatitenize? \enaenide) Now, every item will be displayed in the inactive color (which is defined by the style ‘that you use), and the itemis font color will become the active one on the overlay that it ‘would normally appear on, The default behavior is given by type=0. Itis still possible {0 pass optional arguments to enumitem via the second optional argument 2 \bogingotiae}Ciype 1 ivwniee) \begin ‘This optional argument should contain an overlay specification stating on which over- lays you want the item to appear. This specification is a comma separated list where teach item can used the notation as in table 1. The (label) argument isthe standard ‘Syntax | Meaning. = | Only overlays Aicene> 9 Aitene> ¢ \enastentze? \ena(ensae) 18 \onetiae \onstider Here we have said that A should only be active on overlay 1,8 should only be active on overlay 2, and C should only be active on overlay 3. Again, when the item is not active, appears in the inactive color because of type=t. Iltype=0 is specified and ifeach item is given an overlay option, then each item will, appear only when itis active. When the item is not active, then it will nt show on the slide at all, More examples demonstrating the syntax fr (overlay) willbe discussed in the next section, 4.4 The \onslide command Overlays can also be achieved using the \ons1ide command. \onstide (overlays) (tex) This command takes an (overlays) specification as first argument and the (text) to ap- ply to as second argument. The (overlays) on which the text will appear are specified ‘asa comma separated list with syntax asin table 1, We stact off with a simple example, Veegin(eiide) (Simple onslise) \onsLide<1,2}(pover\onalide (21d) \enaenided We have instructed power to appear on overlays one and two, and dot to appear only ‘on overlay two, AS you might guess, this example has the same output as ous first \pause example. Yet, tis clearly the case that our syntax is more complicated. How- ever, ths slight “complication” also allows for much more flexibility Consider the above example withthe following modifications: \eogintaiide) (Staple onaliden? \eextetConslide }: \onsiidedDpover)\onehides2)