ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Underlay a text with color
@ 2013-04-18  9:10 "H. Özoguz"
  2013-04-18  9:29 ` Marco Patzer
  2013-04-18 15:54 ` Aditya Mahajan
  0 siblings, 2 replies; 3+ messages in thread
From: "H. Özoguz" @ 2013-04-18  9:10 UTC (permalink / raw)
  To: ntg-context

Hi,

how to underlay a text (or simply one word) with a (grey) colored 
rectangle, just to highlight – like if I had marked it by hand with a 
grey marker-pen?

Thanks.
Huseyin
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Underlay a text with color
  2013-04-18  9:10 Underlay a text with color "H. Özoguz"
@ 2013-04-18  9:29 ` Marco Patzer
  2013-04-18 15:54 ` Aditya Mahajan
  1 sibling, 0 replies; 3+ messages in thread
From: Marco Patzer @ 2013-04-18  9:29 UTC (permalink / raw)
  To: ntg-context


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

On 2013–04–18 "H. Özoguz" wrote:

> how to underlay a text (or simply one word) with a (grey) colored
> rectangle, just to highlight – like if I had marked it by hand with
> a grey marker-pen?

\definetextbackground
  [marker]
  [background=color,
   backgroundcolor=yellow,
   frame=off]

\starttext
  \startmarker
    \input knuth
  \stopmarker
  
  \blank
  
  Some \marker{very important} text
\stoptext


Marco

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 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] 3+ messages in thread

* Re: Underlay a text with color
  2013-04-18  9:10 Underlay a text with color "H. Özoguz"
  2013-04-18  9:29 ` Marco Patzer
@ 2013-04-18 15:54 ` Aditya Mahajan
  1 sibling, 0 replies; 3+ messages in thread
From: Aditya Mahajan @ 2013-04-18 15:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 319 bytes --]

On Thu, 18 Apr 2013, "H. Özoguz" wrote:

> Hi,
>
> how to underlay a text (or simply one word) with a (grey) colored 
> rectangle, just to highlight – like if I had marked it by hand with a 
> grey marker-pen?

http://randomdeterminism.wordpress.com/2010/10/31/can-i-borrow-your-highlighter-please/

Aditya

[-- 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] 3+ messages in thread

end of thread, other threads:[~2013-04-18 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-18  9:10 Underlay a text with color "H. Özoguz"
2013-04-18  9:29 ` Marco Patzer
2013-04-18 15:54 ` Aditya Mahajan

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).