From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to box \useMPgraphic?
Date: Thu, 13 Nov 2008 21:47:37 +0100 [thread overview]
Message-ID: <491C9269.3070409@wxs.nl> (raw)
In-Reply-To: <76EF1C91-3E0E-46D1-B234-8C59847DB3A3@mpq.mpg.de>
Oliver Buerschaper wrote:
> Hello all,
>
> I'd like to insert a little MetaPost square into the running text and
> properly align it vertically. So I tried:
>
> ---
>
> \startuseMPgraphic{square}
> draw unitsquare scaled StrutHeight;
> \stopuseMPgraphic
>
> \starttext
>
> I want a square \raisebox{-\strutdepth}{\useMPgraphic{square}} in my
> running text.
>
> \stoptext
>
> ---
>
> Unfortunately, to no avail. TeX seems to be asking for some boxed
> content, so I tried to wrap the figure inclusion into a box:
> \hbox{\useMPgraphic{square}}. It doesn't solve the problem either.
\inframed[frame=off]{\useMPgraphic{square}}
> What do I need to change?
>
> Oliver
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
--
-----------------------------------------------------------------
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-11-13 20:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-13 16:18 Oliver Buerschaper
2008-11-13 17:14 ` Wolfgang Schuster
2008-11-14 15:03 ` Oliver Buerschaper
2008-11-13 20:47 ` Hans Hagen [this message]
2008-11-14 15:02 ` Oliver Buerschaper
2008-11-14 17:27 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=491C9269.3070409@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).