[NTG-context] Graphics in text-line

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sun Nov 27 18:41:59 CET 2011


Am 27.11.2011 um 18:26 schrieb Wolfgang Schuster:

> Am 27.11.2011 um 18:20 schrieb Robert Blackstone:
> 
>> Dear list,
>> 
>> Would it be possible to insert a tiny graphic, not larger than a capital M, into a textline?
>> 
>> I am presently making a bilingual version of a sixteenth century French musical treatise, and I would like to copy as much as possible the typographic features of the original in the modern version, both French and a  translation. 
>> In the original French edition some text lines contain musical symbols, not only the sharp, flat and natural characters but also some others, of which I can make graphics (png or pdf).
>> I can place these praphics in the margin and even in a footnote (although with rather too much space above it) but I would prefer to have them in their text line.
>> Is that doable?
> 
> \starttext
> This is a cow \figuresymbol[cow].
> \stoptext


More control about the height gives you this method:

\defineexternalfigure[inline][height=1.8ex]

\starttext
This is a cow \externalfigure[cow][inline].
\stoptext

Wolfgang


More information about the ntg-context mailing list