[NTG-context] Define a new command from the command \periods[n]

Fabrice couvreur.fabrice at wanadoo.fr
Mon Jan 5 18:58:12 CET 2015


Hi,
How to make the dotted lines "stop" at the edge of the frame?

> \definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint]
> \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00]
> \definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00]
> \starttext
> \startitemize[n][stopper={.},style=bold]
> \placefigure[right,none]{}{
> \startframedtext[
>     width=6cm,
>     frame=on,
>     framecolor=H1prime,
>     location=middle,
>     background=color,
>     backgroundcolor=H4]
> \switchtobodyfont[10pt]
> Ingrédients (pour 4 personnes)
> \startitemize[1]
> \item \unit{1 kg} de pommes de terre
> \item \unit{60 g} de fromage râpé
> \item \unit{25 Centiliter} de crème fraîche
> \stopitemize
> \stopframedtext
> }
> \item
> \filler[dots]
>
> \filler[dots]
>
> \filler[dots]
>
> \filler[dots]
>
> \stopitemize
> \stoptext
Best regards,
Fabrice


More information about the ntg-context mailing list