ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Strike out font
@ 2015-04-25 12:58 Vya. Y.
  2015-04-25 13:39 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Vya. Y. @ 2015-04-25 12:58 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 112 bytes --]

Hi,

Please advise me, how to make "strikeout" font effect? I use latest luatex
engine.

Regards,
V. Yatskovsky

[-- Attachment #1.2: Type: text/html, Size: 279 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Strike out font
  2015-04-25 12:58 Strike out font Vya. Y.
@ 2015-04-25 13:39 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2015-04-25 13:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 25.04.2015 um 14:58 schrieb Vya. Y. <yatskovsky@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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-25 13:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-25 12:58 Strike out font Vya. Y.
2015-04-25 13:39 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).