* Centering last line of paragraph
@ 2008-11-09 19:18 dw
2008-11-09 19:55 ` Wolfgang Schuster
0 siblings, 1 reply; 4+ messages in thread
From: dw @ 2008-11-09 19:18 UTC (permalink / raw)
To: ntg-context
Hi all,
For some long-winded subtitles, I need a paragraph shape which has flush
sides except the last line, which is centered. I haven't come across any
solutions for this... any clues?
Best,
David
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Centering last line of paragraph
2008-11-09 19:18 Centering last line of paragraph dw
@ 2008-11-09 19:55 ` Wolfgang Schuster
2008-11-09 20:46 ` Aditya Mahajan
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2008-11-09 19:55 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 09.11.2008 um 20:18 schrieb <dw@trichotomic.net>
<dw@trichotomic.net>:
> Hi all,
>
> For some long-winded subtitles, I need a paragraph shape which has
> flush
> sides except the last line, which is centered. I haven't come across
> any
> solutions for this... any clues?
http://www.tug.org/pracjourn/2008-2/asknelly/
Wolfgang
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Centering last line of paragraph
2008-11-09 19:55 ` Wolfgang Schuster
@ 2008-11-09 20:46 ` Aditya Mahajan
2008-11-09 23:11 ` dw
0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2008-11-09 20:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, 9 Nov 2008, Wolfgang Schuster wrote:
>
> Am 09.11.2008 um 20:18 schrieb <dw@trichotomic.net>
> <dw@trichotomic.net>:
>
>> Hi all,
>>
>> For some long-winded subtitles, I need a paragraph shape which has
>> flush
>> sides except the last line, which is centered. I haven't come across
>> any
>> solutions for this... any clues?
>
>
> http://www.tug.org/pracjourn/2008-2/asknelly/
Based on this, I had once used
\installalign {centerlast}{\leftskip=.3pc plus 1fil
\rightskip=.3pc plus -1fil
\parfillskip=0pt plus 2fil}
and then use \setupalign[centerlast] or \startalignment[centerlast]. This
does not work as a parameter of align={..} in \framed etc, but I did not
look into it, since I did not need it.
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Centering last line of paragraph
2008-11-09 20:46 ` Aditya Mahajan
@ 2008-11-09 23:11 ` dw
0 siblings, 0 replies; 4+ messages in thread
From: dw @ 2008-11-09 23:11 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, 9 Nov 2008 15:46:48 -0500 (EST), Aditya Mahajan <adityam@umich.edu>
wrote:
> On Sun, 9 Nov 2008, Wolfgang Schuster wrote:
>
>>
>> Am 09.11.2008 um 20:18 schrieb <dw@trichotomic.net>
>> <dw@trichotomic.net>:
>>
>>> Hi all,
>>>
>>> For some long-winded subtitles, I need a paragraph shape which has
>>> flush
>>> sides except the last line, which is centered. I haven't come across
>>> any
>>> solutions for this... any clues?
>>
>>
>> http://www.tug.org/pracjourn/2008-2/asknelly/
>
> Based on this, I had once used
>
>
> \installalign {centerlast}{\leftskip=.3pc plus 1fil
> \rightskip=.3pc plus -1fil
> \parfillskip=0pt plus 2fil}
>
>
> and then use \setupalign[centerlast] or \startalignment[centerlast]. This
> does not work as a parameter of align={..} in \framed etc, but I did not
> look into it, since I did not need it.
>
> Aditya
Thanks for the responses. I too found that article, but didn't know how to
apply it in context. I am using hanging punctuation and hz, which doesn't
work within a \startalignment[centerlast] \stopalignment environment (I've
tried a few combinations, and also setupalign with all three). Any ideas on
this one?
Best,
David
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-11-09 23:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-09 19:18 Centering last line of paragraph dw
2008-11-09 19:55 ` Wolfgang Schuster
2008-11-09 20:46 ` Aditya Mahajan
2008-11-09 23:11 ` dw
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).