ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* underbar in MP text
@ 2006-11-12 15:29 Peter Rolf
  2006-11-13 17:43 ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Rolf @ 2006-11-12 15:29 UTC (permalink / raw)


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

Hi all,

if \underbar is used inside a MP text, it always uses a fixed rule
thickness, regardless of the settings in ConTeXt. How can I change this?

TIA, Peter

[-- Attachment #2: mptext.tex --]
[-- Type: text/plain, Size: 417 bytes --]

\setupoutput[pdftex]

\setMPtext{testtext} {}

\startusableMPgraphic{mptext}
  draw textext.rt(\MPstring{testtext}) ;
\stopusableMPgraphic



\starttext

\setupunderbar[rulethickness=2pt]

\underbar{Thick line}

\setMPtext{testtext}{\underbar{Thick line}}

\useMPgraphic{mptext}

\setupunderbar[rulethickness=.15pt]

\underbar{Thin line}

\setMPtext{testtext}{\underbar{Thin line}}

\useMPgraphic{mptext}


\stoptext

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

end of thread, other threads:[~2006-11-13 19:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-12 15:29 underbar in MP text Peter Rolf
2006-11-13 17:43 ` Aditya Mahajan
2006-11-13 19:00   ` Peter Rolf

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