* Placing MP graphic without line breaks
@ 2009-09-11 14:48 Vyatcheslav Yatskovsky
2009-09-11 15:20 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-09-11 14:48 UTC (permalink / raw)
To: ntg-context
Another question arises. The following produces grids in a column (i.e.
with line breaks). How to place MP graphics like words, in a row?
\starttext
\startuseMPgraphic{cg}
drawoptions(withpen pencircle scaled 0.1pt withcolor black) ;
draw hlingrid(0, 6, 1, 0.8cm, 1cm) ;
draw vlingrid(0, 4, 1, 1cm, 0.8cm) ;
\stopuseMPgraphic
\useMPgraphic{cg} \useMPgraphic{cg} \useMPgraphic{cg} \useMPgraphic{cg}
\useMPgraphic{cg}
\stoptext
Regards,
Vyatcheslav
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Placing MP graphic without line breaks
2009-09-11 14:48 Placing MP graphic without line breaks Vyatcheslav Yatskovsky
@ 2009-09-11 15:20 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2009-09-11 15:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
Vyatcheslav Yatskovsky wrote:
> Another question arises. The following produces grids in a column (i.e.
> with line breaks). How to place MP graphics like words, in a row?
>
> \starttext
> \startuseMPgraphic{cg}
> drawoptions(withpen pencircle scaled 0.1pt withcolor black) ;
> draw hlingrid(0, 6, 1, 0.8cm, 1cm) ;
> draw vlingrid(0, 4, 1, 1cm, 0.8cm) ;
> \stopuseMPgraphic
>
> \useMPgraphic{cg} \useMPgraphic{cg} \useMPgraphic{cg} \useMPgraphic{cg}
> \useMPgraphic{cg}
put \dontleavehmode in front
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-11 15:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-11 14:48 Placing MP graphic without line breaks Vyatcheslav Yatskovsky
2009-09-11 15:20 ` Hans Hagen
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).