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
Am 09.11.2008 um 20:18 schrieb
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?
On Sun, 9 Nov 2008, Wolfgang Schuster wrote:
Am 09.11.2008 um 20:18 schrieb
: 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?
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
On Sun, 9 Nov 2008 15:46:48 -0500 (EST), Aditya Mahajan
On Sun, 9 Nov 2008, Wolfgang Schuster wrote:
Am 09.11.2008 um 20:18 schrieb
: 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?
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
participants (3)
-
Aditya Mahajan
-
dw@trichotomic.net
-
Wolfgang Schuster