From: Jan Pohanka <xhpohanka@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \vtop with middle alignment in a screenplay
Date: Tue, 11 Jun 2013 12:00:07 +0200 [thread overview]
Message-ID: <51B6F527.1030802@gmail.com> (raw)
In-Reply-To: <FFAF0A1D-3895-4C40-A5DB-E56265992D3D@gmail.com>
Dne 11.6.2013 11:53, Wolfgang Schuster napsal(a):
> Am 11.06.2013 um 11:44 schrieb Jan Pohanka <xhpohanka@gmail.com>:
>
>> 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
___________________________________________________________________________________
next prev parent reply other threads:[~2013-06-11 10:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-11 9:44 Jan Pohanka
2013-06-11 9:53 ` Wolfgang Schuster
2013-06-11 10:00 ` Jan Pohanka [this message]
2013-06-11 10:15 ` Wolfgang Schuster
2013-06-11 10:24 ` Jan Pohanka
2013-06-11 10:30 ` 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=51B6F527.1030802@gmail.com \
--to=xhpohanka@gmail.com \
--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).