Changes

Jump to navigation Jump to search
97 bytes removed ,  09:50, 1 July 2022
m
fix links & typos
= Warning =
This page has rarely been updated since 2006.
 
= Producing Your Presentations with ConTeXt =
After using ConTeXt for a while, many users begin to think about producing
their presentations with it, too. ConTeXt is ideally suited for this
task. Here's Here’s just a very selective list of the advantages you gain:
*The superior typographic quality of TeX and ConTeXt will be available for your presentations. Users doing scientific presentations will also appreciate the well-known mathematical abilities TeX offers.
*The material of your presentations can be reused for handouts, papers, notes, etc. If you make use of the [[Modes]] feature, you can even recompile your entire presentation in a different format without changing a single line in your source.
As you probably know, ConTeXt produces pdf-PDF output by default; that's that’s a great
advantage when you're thinking about a presentation: you can simply produce a
pdf-file and open it with a viewer such as xpdf or Acrobat Reader and show the
pages in fullscreen mode. This is especially appealing when you want to
distribute your presentations via mail or the web or when you have to show them
on equipment you don't don’t know: while proprietary software may or may not be
available, you can usually be certain that everyone has an application for
displaying pdf-files.
This section of the wiki wants to get you started with presentations in
ConTeXt. There's There’s lots of <s>amazing </s> stuff in the distribution already, such as
<s>truly amazing</s> 20-year-old [[Presentation Styles|prebuilt styles]] for presentations which
you can simply use by typing, e.g.
</texcode>
The styles are fully documented, and you can learn <s>amazing </s> tricks by looking at
the source and the documentation. However, for beginners, it might be easier to
start with a very basic presentation and then slowly add more fancy stuff. This
Moreover, on slides, you want TeX to be tolerant with its horizontal space
(since you will normally be typesetting not entire paragraphs, but single lines
only, this shouldn't shouldn’t be a problem):
<texcode>
== Including Graphics ==
Everything works just the same way as graphics in usual documents. But if a presentation is your first document, let's repeat it once more here: <texcode>\externalfigureSee [[nameUsing_Graphics]][width=...]%% (probably surrounded by \placefigure)</texcode>
== Graphics with Metafun ==
\starttext
Here's Here’s my first presentation in \CONTEXT!
Isn't Isn’t it amazing?
\stoptext
choice -- I've seen people present their slides with a dark gray font on a
light gray background, and they seemed very proud of their design. Others use
psychedelic colors that can induce serious sickness. So let's let’s go for a rather
conservative combination of colors. Something I find very readable even in
rooms where the lighting is a bit problematic is a white typeface on a blue
background. So let's let’s add this. Our document will now look like this:
<texcode>
\starttext
Here's Here’s my first presentation in \CONTEXT!
Isn't Isn’t it amazing?
\stoptext
== Adding fancier effects ==
Now when you look at your slides, you will certainly feel that there's there’s room forimprovement. There's There’s only a few things I can mention here; for the rest, have a
look at the predefined styles to get some ideas.
\setupfootertexts[{\color[white]{\tfxx \midaligned{\rlap{\currentdate} \hfill TITLE HERE\hfill \llap{YOUR NAME HERE}}}}]
</texcode>
Don't Don’t forget to put
<texcode>
\setupfooter[state=start]
\stopinteractionmenu
</texcode>
Again, don't don’t forget to put
<texcode>
\setupinteractionmenu[state=start]
Finally, a few things about the placement of pictures. This can be done with
the {{cmd|framed}} command. You probably have to try and adjust
different parameters to get exactly what you need, but here's here’s something that
worked for me:
== Adding Pictures ==
In the case of wide pictures, it's it’s fairly easy. You will want them midaligned,
and you'll want them to fill as much space of the area between your title and
the footer as possible:
I found it more difficult to have longish narrow pictures: in that case, I
don't don’t want a title above the picture, but I want it to fill all the vertical
space between the top margin and the footer. I want the text accompanying the
picture opposite it, centered horizontally and vertically. This can be done
\startcombination
\framed{\externalfigure[NAME][width=.5\textwidth]}{} %watch the pair of empty braces,
\framed{YOUR TEXT GOES HERE}{} % it's it’s essential
\stopcombination
</texcode>
= Post Processing Presentation =
Sometimes one wants to give a handout of the presentation, with multiple slides on one page. It is easy to do this using <{{cmd>|combinepages</cmd> }} or <code>texexec --pdfcombine</code>
To use <{{cmd>|combinepages</cmd>}}, suppose that your presentation is <code>slides.tex</code>. Create a file <code>handout.tex</code> with the following content
<texcode>
* The [[RawSteps]] module enables you to build a presentation step-by-step without the usage of JavaScript
* <s>[[Stepper]] which is buit in ConTeXt. </s>Broken
* The simple slides module [http://github.com/adityam/simple-slides/tree/master simple-slides] serves too.
* [[Presentation effects]], [[Presentation Styles]], [[SlideWithSteps]]
See also [[Sample documents]]
If you're interested in presentations, your first stop should be the [http://www.pragma-ade.comnl/ pragma website]. You can download pdfs with the documented source-code of 18 presentation modules at http://www.pragma-ade.comnl/dir/general/sources/. To get a first impression of the visual appearance that the prebuilt styles offer, have a look at http://www.pragma-ade.comnl/show-pre.pdf (big document, ~ 3 MB!).
{{todo|collect some + some extremely simple}}
= Some Ideas =
<s>
Here's Here’s an Interesting post, written by Maurice Diamantini:
[[http://archive.contextgarden.net/message/20041103.074705.2f196f69.html]]
Here are some simple macros almost fully satisfying the idea above with [[SlideWithSteps]], shared with the others by Otared Kavian:
[[http://archive.contextgarden.net/message/20041103.083500.43ac3121.html]]. David Munger also derived an alternative [[http://archive.contextgarden.net/message/20041106.080646.2544e4f3.html]] from Otared Kavian's Kavian’s work. Bateni has ported that work to MkiV [[https://github.com/bateni/rawsteps-mkiv]]

Navigation menu