7

I have the something similar to the following:

\setuppapersize[A6][A6]
\starttext
\overstrike{Hello\hfill world!} % Works OK

Hello\leaders\hbox{.}\hfill world! % Works OK, nothing special

\overstrike{Hello\leaders\hbox{.}\hfill world!} % Not quite right
\stoptext

And this produces the following output:

enter image description here

The problem is that I would like the overstrike to apply over the leaders as well. Is this possible?

  • 2
    Since there has been no response here, it may be better to ask this question on the context mailing list. – Aditya Feb 14 '16 at 18:11
7

(Via Hans Hagen on the context mailing list). Use continue=all parameter for setupbar:

\setupbar[overstrike][continue=all]
\setuppapersize[A6][A6]
\starttext
\overstrike{Hello\hfill world!} % Works OK

Hello\leaders\hbox{.}\hfill world! % Works OK, nothing special

\overstrike{Hello\leaders\hbox{.}\hfill world!} % Not quite right
\stoptext

which gives

enter image description here

  • I accepted your answer but I only just now had a chance to try and use it ... however, it's not working the same way as shown in your answer - I'm still not getting overstriked leaders. Any ideas? I'm using ConTeXt 2014.05.21 (shipped with Debian Jessie). – dreamlax Feb 18 '16 at 6:44
  • @dreamlax: You may need to update your ConTeXt distribution. ConTeXt minimals/standalone is an easy way to install the latest context alongside an existing distribution. – Aditya Feb 18 '16 at 7:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.