From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82917 Path: news.gmane.org!not-for-mail From: Jan Pohanka Newsgroups: gmane.comp.tex.context Subject: Re: \vtop with middle alignment in a screenplay Date: Tue, 11 Jun 2013 12:00:07 +0200 Message-ID: <51B6F527.1030802@gmail.com> References: <51B6F17F.1020609@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1370944844 19034 80.91.229.3 (11 Jun 2013 10:00:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Jun 2013 10:00:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 11 12:00:45 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UmLNd-0003QI-Fi for gctc-ntg-context-518@m.gmane.org; Tue, 11 Jun 2013 12:00:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1F0CC1022E; Tue, 11 Jun 2013 12:00:41 +0200 (CEST) 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 Yko8hiZKA0D6; Tue, 11 Jun 2013 12:00:40 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 769341021C; Tue, 11 Jun 2013 12:00:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EEB88101FA for ; Tue, 11 Jun 2013 12:00:29 +0200 (CEST) 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 LIRZsp9RyPFQ for ; Tue, 11 Jun 2013 12:00:25 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 3534D10216 for ; Tue, 11 Jun 2013 12:00:11 +0200 (CEST) Original-Received: from mail-bk0-x22d.google.com (mail-bk0-x22d.google.com [IPv6:2a00:1450:4008:c01::22d]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5BA0AMX004937 for ; Tue, 11 Jun 2013 12:00:10 +0200 Original-Received: by mail-bk0-f45.google.com with SMTP id je9so2320515bkc.18 for ; Tue, 11 Jun 2013 03:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ZqU66ceCb0dtLkgiLrIBCdfWwtnC9v6Y1KxrmhBZtvQ=; b=mTmoPlMZ+XMxmDjkAfReyBZpmfbO8/w6TND4uyEQf/PKCM+GjCoxBz+jem1WGjR+TG RvaR8dJ5vOSax7XGtBuT5IexSt0OLEKWD8s9/uIvQicbSp6TfPreVQAhSph9irZ4EVMU fE+WV2UhLdMUU+nTb60M5hQibsvpF/8ngssFV5XEHsdJWU+uU/zdH8oUNh/469tYBIR/ Okx3/daiPOz0pMWOFaxe1HZIg9ZyMSZJconS8WiZuR0tWyO0GeLuLbYZb8YJ8ocXDcac hkzN9fM947QgaukTuxEWP2M6ynGkz8CugLyclNAS3k/sjkMQn8VRPCZGafD3N+Plwxy0 UUwQ== X-Received: by 10.204.57.142 with SMTP id c14mr2176347bkh.7.1370944810269; Tue, 11 Jun 2013 03:00:10 -0700 (PDT) Original-Received: from [192.168.240.97] (190.183.broadband14.iol.cz. [90.181.183.190]) by mx.google.com with ESMTPSA id og1sm5272671bkb.16.2013.06.11.03.00.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Jun 2013 03:00:09 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::22d; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RJKW0ajN - 02fed2e48280 - 20130611 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82917 Archived-At: Dne 11.6.2013 11:53, Wolfgang Schuster napsal(a): > Am 11.06.2013 um 11:44 schrieb Jan Pohanka : > >> Hi all, >> >> I'm trying to make a simple template for screenplays for our amateur theatre. >> >> I have following code and I'd like to have the single lines of the song centered in a page, but preceded by a person name on the left >> >> {Person 1: >> \setupalign[middle]{\vtop{% >> song asdf line 1\\ >> song line 2\\ >> song a line 3}}} >> >> This code obviously does not work as I need. Can please someone advice me proper ConTeXt way how to do it? > You can place the lyrics with the \startlines environment: > > \starttext > > Person 1: > > \startlines[before=,align=middle] > song asdf line 1 > song line 2 > song a line 3 > \stoplines > > \stoptext > Hi Wolfgang, thank you for fast answer. Your solution works well, but I would like to have the first line of lyrics on the same line with Person: thanks Jn ___________________________________________________________________________________ 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 ___________________________________________________________________________________