Am 20.05.2014 um 10:47 schrieb luigi scarso
On Tue, May 20, 2014 at 10:30 AM, Fabrice Couvreur
wrote: Hi, Is it possible to redefine the command \periods[n] to have a line that goes from the end of the word to the edge of the page without having to play on the number n ? Regards, Fabrice \starttext \startitemize[a][stopper=),style=bold] \item $x\mapsto -x^2+x+1$ : \periods[66] \item $x\mapsto 2x^3+4x-7$ : \periods[65] \item $x\mapsto x^2-3$ : \periods[70] \item $x\mapsto \frac{x^2+x}2$ : \periods[72] \item $x\mapsto (x-2)^2$ : \periods[69] \stopitemize \stoptext
They are called leaders http://tex.stackexchange.com/questions/38423/want-to-fill-line-with-repeatin...
\showframe \starttext \startitemize[a][stopper=),style=bold] \item $x\mapsto -x^2+x+1$ : \leavevmode\xleaders\hbox{.}\hfill\kern0pt %\periods[66] \item $x\mapsto 2x^3+4x-7$ : \periods[65] \item $x\mapsto x^2-3$ : \periods[70] \item $x\mapsto \frac{x^2+x}2$ : \periods[72] \item $x\mapsto (x-2)^2$ : \periods[69] \stopitemize \stoptext
ConTeXt has a user level interface for leaders which is called \filler. \definefiller[dots][right=\hskip\zeropoint] \starttext text \filler[dots] \stoptext Wolfgang