ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [overstrike] with different color?
@ 2020-06-03 14:19 Floris van Manen
  2020-06-03 14:30 ` Henning Hraban Ramm
  0 siblings, 1 reply; 5+ messages in thread
From: Floris van Manen @ 2020-06-03 14:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 134 bytes --]

What is the preferred way to overstrike a text with a different color?
This does not work:
One \overstrike[color=red]{Two} Three


.F

[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 3094 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: [overstrike] with different color?
  2020-06-03 14:19 [overstrike] with different color? Floris van Manen
@ 2020-06-03 14:30 ` Henning Hraban Ramm
  2020-06-04 18:00   ` Floris van Manen
  2020-06-05 11:41   ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Henning Hraban Ramm @ 2020-06-03 14:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> Am 03.06.2020 um 16:19 schrieb Floris van Manen <vm@klankschap.nl>:
> 
> What is the preferred way to overstrike a text with a different color?
> This does not work:
> One \overstrike[color=red]{Two} Three

\setupbar[color=red,rulethickness=1.4] % measurement in pt

See also rules-mkiv.pdf

Hraban
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: [overstrike] with different color?
  2020-06-03 14:30 ` Henning Hraban Ramm
@ 2020-06-04 18:00   ` Floris van Manen
  2020-06-05  7:09     ` Henning Hraban Ramm
  2020-06-05 11:41   ` Wolfgang Schuster
  1 sibling, 1 reply; 5+ messages in thread
From: Floris van Manen @ 2020-06-04 18:00 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]



On 03/06/2020 16:30, Henning Hraban Ramm wrote:
> \setupbar[color=red,rulethickness=1.4] % measurement in pt

the command also takes a parameter offset as well as dy.
I assume the offset will position the line higher / lower .
But I see no effect.

\setupbar[color=red,rulethickness=.3,offset=0.5]

[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 3094 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: [overstrike] with different color?
  2020-06-04 18:00   ` Floris van Manen
@ 2020-06-05  7:09     ` Henning Hraban Ramm
  0 siblings, 0 replies; 5+ messages in thread
From: Henning Hraban Ramm @ 2020-06-05  7:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 04.06.2020 um 20:00 schrieb Floris van Manen <vm@klankschap.nl>:
> 
>> \setupbar[color=red,rulethickness=1.4] % measurement in pt
> 
> the command also takes a parameter offset as well as dy.
> I assume the offset will position the line higher / lower .
> But I see no effect.
> 
> \setupbar[color=red,rulethickness=.3,offset=0.5]

According to https://wiki.contextgarden.net/Command/underbar, offset should work.

Maybe \definebar behaves different to \setupbar

Hraban

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: [overstrike] with different color?
  2020-06-03 14:30 ` Henning Hraban Ramm
  2020-06-04 18:00   ` Floris van Manen
@ 2020-06-05 11:41   ` Wolfgang Schuster
  1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2020-06-05 11:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Henning Hraban Ramm schrieb am 03.06.2020 um 16:30:
> 
> 
>> Am 03.06.2020 um 16:19 schrieb Floris van Manen <vm@klankschap.nl>:
>>
>> What is the preferred way to overstrike a text with a different color?
>> This does not work:
>> One \overstrike[color=red]{Two} Three
> 
> \setupbar[color=red,rulethickness=1.4] % measurement in pt

\setupbar [overstrike] [..,..=..,..]

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2020-06-05 11:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-03 14:19 [overstrike] with different color? Floris van Manen
2020-06-03 14:30 ` Henning Hraban Ramm
2020-06-04 18:00   ` Floris van Manen
2020-06-05  7:09     ` Henning Hraban Ramm
2020-06-05 11:41   ` 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).