Re: [NTG-context] Underlay a text with color

2013-04-18 Thread Marco Patzer
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


signature.asc
Description: Digital signature
___
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
___

Re: [NTG-context] Underlay a text with color

2013-04-18 Thread Aditya Mahajan

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___
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
___