<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-html" lang="x-western">
<div class="moz-text-html" lang="x-western">
<div class="moz-text-plain" wrap="true" style="font-family:
-moz-fixed; font-size: 14px;" lang="x-western">
<pre wrap="">Selon Stan <a class="moz-txt-link-rfc2396E" href="mailto:texforeverything@att.net"><texforeverything@att.net></a>:
</pre>
<blockquote type="cite" style="color: rgb(0, 0, 0);">
<pre wrap=""><span class="moz-txt-citetags">> </span>Is there a way to fill the last line of a paragraph with leaders that
<span class="moz-txt-citetags">> </span>extend a fixed width beyond the right edge of the paragraph, with
<span class="moz-txt-citetags">> </span>right-aligned numbers on the right? I'm trying to get something like this:
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>Here's a sentence..................2
<span class="moz-txt-citetags">> </span>Here's a sentence on two
<span class="moz-txt-citetags">> </span>lines..............................5
<span class="moz-txt-citetags">> </span>Here's the last sentence
<span class="moz-txt-citetags">> </span>also on two lines.................11
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>I tried using \leaders twice, once with \hfill to get to the edge of the
<span class="moz-txt-citetags">> </span>paragraph, and once with a fixed \hskip. That did not align the numbers
<span class="moz-txt-citetags">> </span>correctly, but that should not be hard to fix. The main problem was that
<span class="moz-txt-citetags">> </span>I could not get the \leaders to meet seamlessly.
</pre>
</blockquote>
<pre wrap="">Use \leaders only once, but set \parfillskip to a negative value beforehand, as
in:
\parfillskip=-10em
\setbox0=\hbox{.}
... end of paragraph.\leaders\copy0\hfil <number>
</pre>
<blockquote type="cite" style="color: rgb(0, 0, 0);">
<pre wrap=""><span class="moz-txt-citetags">> </span>I hope that this can be done somehow without modifying the output
<span class="moz-txt-citetags">> </span>routine. Is that possible?
</pre>
</blockquote>
<pre wrap="">This has indeed nothing to do with the output routine.
Best,
Paul
</pre>
</div>
</div>
</div>
</body>
</html>