From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Simplest slides
Date: Mon, 19 Oct 2009 10:47:05 -0400 (EDT) [thread overview]
Message-ID: <alpine.LNX.2.00.0910191039080.10367@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <a193bbb50910190050v6b52b204ge2a59d8327773e95@mail.gmail.com>
On Mon, 19 Oct 2009, Guilherme P. de Freitas wrote:
> It just occurred to me that a style was not a necessary thing, but an
> optional parameter, and that without it, the style would end up being
> "plain". That was the case, and therefore my problem is essentially
> solved. Thanks everybody, especially Thomas.
>
> Question: how do I get white text on black background? I tried
> adapting some commands from the Wiki, and that didn't work. Searching
> for the word "background" in the 'simple slides' documentation led me
> to information that was unrelated to what I wanted.
Normally, you can just say
\setupbackgrounds[page][background=color,backgroundcolor=black]
But simpleslides resets the page background on each page so you need to
play nice with simpleslides
\usemodule[simpleslides]
\setupcolors[textcolor=white]
\startuseMPgraphic{simpleslides:MP:horizontal}
StartPage ;
fill Page withcolor black ;
StopPage ;
\stopuseMPgraphic
\defineoverlay
[simpleslides:background:horizontal]
[\useMPgraphic{simpleslides:MP:horizontal}]
\defineoverlay
[simpleslides:background:vertical]
[\useMPgraphic{simpleslides:MP:horizontal}]
\defineoverlay
[simpleslides:background:title]
[\useMPgraphic{simpleslides:MP:horizontal}]
% Now for the rest of the presentation
\setupTitle
[title={Presentation Title},
author={F.~Author, S.~Another},
date={Date / Occasion}]
\starttext
\placeTitle
\SlideTitle{A quote}
\input tufte
\stoptext
> For the sake of everybody out there wanting to use ConTeXt for their
> presentations, it would be very nice to have a link for a complete
> template, with title, author, a list and a picture in the Wiki. I
> slightly modified the simplest example in 'simple slides' (taking away
> the style, and including a list and a figure). It is available here:
>
> http://archive.gpfreitas.net/coursework/grad/caltech/year3/ss280/presentation1/pres-simple_slides.zip
Also see the detailed examples that come with simpleslides:
http://dl.contextgarden.net/modules/t-simpleslides/doc/context/third/simpleslides/solutions/
Specifically, check the style-template file if you want to create your own
template (i.e., want a style that is not part of the module)
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2009-10-19 14:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-19 3:06 Guilherme P. de Freitas
2009-10-19 5:23 ` Thomas A. Schmitz
2009-10-19 6:45 ` Guilherme P. de Freitas
2009-10-19 7:02 ` Guilherme P. de Freitas
2009-10-19 7:46 ` Hans Hagen
2009-10-19 7:57 ` Guilherme P. de Freitas
2009-10-19 8:08 ` Hans Hagen
2009-10-19 7:50 ` Guilherme P. de Freitas
2009-10-19 14:47 ` Aditya Mahajan [this message]
2009-10-19 19:15 ` Guilherme P. de Freitas
2009-10-19 19:20 ` R. Bastian
2009-10-19 19:31 ` Aditya Mahajan
2009-10-20 8:01 ` R. Bastian
2009-10-20 22:24 ` Aditya Mahajan
2009-10-20 23:29 ` Hans Hagen
2009-10-19 8:17 ` luigi scarso
2009-10-19 12:38 ` Wolfgang Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.00.0910191039080.10367@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).