[NTG-context] How to make something appear to the right of every paragraph?

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Tue Oct 11 05:58:09 CEST 2022


Max Chernoff via ntg-context schrieb am 11.10.2022 um 00:57:
> Hi Joel,
>
> On Mon, 2022-10-10 at 12:46 +0000, Joel wrote:
>>   Hello Max,
>> It is preferred if the solution is just three lines per paragraph,
>> rather than some content parallel to the text
> A Lua callback solution:
>
> [...]
>
> An \everypar solution:
>
>     \appendtoks%
>         \vbox to 0pt{%
>             \dorecurse{3}{%
>                 \rlap{%
>                     \hskip\dimexpr\hsize+1em%
>                     \vrule height 0.4pt width 3cm%
>                     \relax%
>                 }%
>             }%
>         }%
>     \to\everypar

You can use the \EveryPar register but \everypar is off limits.

Wolfgang



More information about the ntg-context mailing list