From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66673 Path: news.gmane.org!not-for-mail From: Curiouslearn Newsgroups: gmane.comp.tex.context Subject: Re: vertical alignment in simpleslides Date: Sat, 5 Mar 2011 23:46:05 -0500 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1299386777 9511 80.91.229.12 (6 Mar 2011 04:46:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Mar 2011 04:46:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 06 05:46:13 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw5rB-0002uw-91 for gctc-ntg-context-518@m.gmane.org; Sun, 06 Mar 2011 05:46:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0DA93CAAA0; Sun, 6 Mar 2011 05:46:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ca4apKyQ1AOr; Sun, 6 Mar 2011 05:46:10 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A1C07CAA16; Sun, 6 Mar 2011 05:46:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BD26DCAA16 for ; Sun, 6 Mar 2011 05:46:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wxbsf1gn4AlM for ; Sun, 6 Mar 2011 05:46:07 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 9B04FC9A7C for ; Sun, 6 Mar 2011 05:46:07 +0100 (CET) Original-Received: from mail-iw0-f169.google.com (mail-iw0-f169.google.com [209.85.214.169]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p264k6lt019130 for ; Sun, 6 Mar 2011 05:46:07 +0100 Original-Received: by iwl42 with SMTP id 42so4086617iwl.14 for ; Sat, 05 Mar 2011 20:46:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=4do3RYKvtneh/iK62SyQd41UnH3KlRmc7kp+ckmGCi0=; b=QxpF9K+buHrdv6Y5K0TCqqjyRG35Fz5r3f3aaNkl+3vXY/+okLSz055zgGCic2f+2a TITaD96Xztfn7Nw+Jmv1lT6V2TIrQvC99kDLxf7mT4PvU04jfIrLrK5BvrbLVgWLGif/ qhqvOOcFT33Vxa+Z8S4AWi8EgoDy2V9S1RHUc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=wc02vrs/jwOohLVZK0WoaiJ+n40dHz0e2/+VNyfGnoOsmZNPRMEubwBhrRubughEYK ZEGu05ivPGPQaUYCP7BZpfu7bBfcmpawGyaVLtQGQSLNEIQxM9ub/teT8ql/JgKAsuNb 934wcI+BF6EFR8pH4C+zPdf9s6QCTvdYd6e64= Original-Received: by 10.231.188.214 with SMTP id db22mr1975072ibb.16.1299386765119; Sat, 05 Mar 2011 20:46:05 -0800 (PST) Original-Received: by 10.231.39.199 with HTTP; Sat, 5 Mar 2011 20:46:05 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rEfEK6um - 3834130ae89e - 20110306 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:66673 Archived-At: Thanks for the response, Aditya. However, the first method \setupitemize[before=3D\vfill,after=3D\vfill] does not change anything for me. The items are still at the top. The second one (\setupitemize[1][inbetween=3D\vfill]) changes things. However, the first item is at the top of the screen and the second is at the bottom. I would like them to be near the center. Something like what 'middle' does for horizontal alignment with two words, I want to do for vertical alignment. Thanks. On Sat, Mar 5, 2011 at 11:23 PM, Aditya Mahajan wrote: > On Sat, 5 Mar 2011, Curiouslearn wrote: > >> Hi >> >> Today I started making lecture slides for one of my classes and >> decided to try out simpleslides. First of all, thanks to Thomas and >> Aditya for writing the module. >> >> I had a question regarding vertical alignment. Consider the following >> minimal example: >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0\usemodule[simpleslides][style=3DSwoosh] >> =A0 =A0 =A0 =A0 =A0 =A0 =A0\starttext >> =A0 =A0 =A0 =A0 =A0 =A0 =A0\SlideTitle{Context can be used for \dots} >> >> =A0 =A0 =A0 =A0 =A0 =A0 \startitemize[n] >> =A0 =A0 =A0 =A0 =A0 =A0 =A0\item >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Writing your articles >> =A0 =A0 =A0 =A0 =A0 =A0 =A0\item >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Making slides for presentations >> =A0 =A0 =A0 =A0 =A0 =A0 \stopitemize >> >> =A0 =A0 =A0 =A0 =A0 =A0 \stoptext >> >> The two items appear at the top of the slide. Is there a command or a >> setting such that items will be aligned around the center of the >> screen? > > \setupitemize[before=3D\vfill,after=3D\vfill] > > You can also add > > \setupitemize[1][inbetween=3D\vfill] > > Another option is: > > \def\StartSlide#1% > =A0{\SlideTitle{#1} > =A0 \vfill} > > \def\StopSlide > =A0{\vfill} > > and then > > \StartSlide{...} > ... > \StopSlide > > 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 =A0: http://www.pragma-ade.nl / http://tex.aanhet.net > archive =A0: http://foundry.supelec.fr/projects/contextrev/ > wiki =A0 =A0 : http://contextgarden.net > _________________________________________________________________________= __________ > ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________