[NTG-context] Strike out font

Wolfgang Schuster schuster.wolfgang at gmail.com
Sat Apr 25 15:39:55 CEST 2015


> Am 25.04.2015 um 14:58 schrieb Vya. Y. <yatskovsky at gmail.com>:
> 
> Hi,
> 
> Please advise me, how to make "strikeout" font effect? I use latest luatex engine.

Method 1:

\definetextbackground
  [strikethrough]
  [location=text,
   alternative=4,
   background=,
   frame=off,
%  framecolor=black,
%  rulethickness=1pt,
  ]

\starttext

text \strikethrough{text} text

\input ward
\startstrikethrough
\input ward
\stopstrikethrough
\input ward

\stoptext


Method 2:

\definebar
  [strikethrough]
  [method=0,
   offset=0.6,
   continue=yes,
%  rulethickness=0.2,
  ]

\starttext

text \strikethrough{text} text

\input ward
\startbar[strikethrough]
\input ward
\stopbar
\input ward

\stoptext

Wolfgang


More information about the ntg-context mailing list