14 Nov
2008
14 Nov
'08
4:03 p.m.
Am 13.11.2008 um 18:14 schrieb Wolfgang Schuster:
Am 13.11.2008 um 17:18 schrieb Oliver Buerschaper:
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.
I want a square \raisebox{-.5\strutdp}\hbox{\useMPgraphic{square}} in my running text.
Thanks! I was close: if I had only left out the outer braces in {\hbox{\useMPgraphic{square}}} ... Oliver