[NTG-context] Centering last line of paragraph
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 ___
Re: [NTG-context] Centering last line of paragraph
Am 09.11.2008 um 20:18 schrieb [EMAIL PROTECTED] [EMAIL PROTECTED]: 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 ___
Re: [NTG-context] Centering last line of paragraph
On Sun, 9 Nov 2008, Wolfgang Schuster wrote: Am 09.11.2008 um 20:18 schrieb [EMAIL PROTECTED] [EMAIL PROTECTED]: 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 ___
Re: [NTG-context] Centering last line of paragraph
On Sun, 9 Nov 2008 15:46:48 -0500 (EST), Aditya Mahajan [EMAIL PROTECTED] wrote: On Sun, 9 Nov 2008, Wolfgang Schuster wrote: Am 09.11.2008 um 20:18 schrieb [EMAIL PROTECTED] [EMAIL PROTECTED]: 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 ___