ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Metapost font size
@ 2004-05-08 21:08 Sebastian Sturm
  2004-05-10 16:23 ` Willi Egger
  2004-05-13 14:19 ` Patrick Gundlach
  0 siblings, 2 replies; 5+ messages in thread
From: Sebastian Sturm @ 2004-05-08 21:08 UTC (permalink / raw)


Hi,

is it possible to change the font size of TeX labels in Metapost 
figures (using the textext command) to be the same as the bodyfont size 
in the surrounding document?

Best regards,

Sebastian Sturm

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

* Re: Metapost font size
  2004-05-08 21:08 Metapost font size Sebastian Sturm
@ 2004-05-10 16:23 ` Willi Egger
  2004-05-12 12:06   ` Sebastian Sturm
  2004-05-13 14:19 ` Patrick Gundlach
  1 sibling, 1 reply; 5+ messages in thread
From: Willi Egger @ 2004-05-10 16:23 UTC (permalink / raw)


Hi Sebastian,

You can setup the font to be used in the Metapost-figure

\usetypescript[palatino][texnansi]
\setupbodyfont[palatino,rm,8pt]

\startMPenvironment
   \usetypescript[palatino][texnansi]
   \setupbodyfont[palatino,rm,8pt]
\stopMPenvironment

kind regards Willi

Sebastian Sturm wrote:
> Hi,
> 
> is it possible to change the font size of TeX labels in Metapost figures 
> (using the textext command) to be the same as the bodyfont size in the 
> surrounding document?
> 
> Best regards,
> 
> Sebastian Sturm
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Metapost font size
  2004-05-10 16:23 ` Willi Egger
@ 2004-05-12 12:06   ` Sebastian Sturm
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastian Sturm @ 2004-05-12 12:06 UTC (permalink / raw)


Hi,

> You can setup the font to be used in the Metapost-figure
>
> \startMPenvironment
>   \usetypescript[palatino][texnansi]
>   \setupbodyfont[palatino,rm,8pt]
> \stopMPenvironment

works great, thank you!

Best regards,

Sebastian

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

* Re: Metapost font size
  2004-05-08 21:08 Metapost font size Sebastian Sturm
  2004-05-10 16:23 ` Willi Egger
@ 2004-05-13 14:19 ` Patrick Gundlach
  2004-05-16 10:25   ` Sebastian Sturm
  1 sibling, 1 reply; 5+ messages in thread
From: Patrick Gundlach @ 2004-05-13 14:19 UTC (permalink / raw)


Hi,

if I remember correctly:

Besides the answer from Willi, you can also use 

\startMPenvironment[+]
...
\stopMPenvironment


and the result will be used for MP and text.

Patrick

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

* Re: Re: Metapost font size
  2004-05-13 14:19 ` Patrick Gundlach
@ 2004-05-16 10:25   ` Sebastian Sturm
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastian Sturm @ 2004-05-16 10:25 UTC (permalink / raw)


Hi,

even better; thanks to both of you!

Best regards,
Sebastian

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

end of thread, other threads:[~2004-05-16 10:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-08 21:08 Metapost font size Sebastian Sturm
2004-05-10 16:23 ` Willi Egger
2004-05-12 12:06   ` Sebastian Sturm
2004-05-13 14:19 ` Patrick Gundlach
2004-05-16 10:25   ` Sebastian Sturm

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