[NTG-context] Using transparency in METAPOST within textext()

Gerben Wierda gerben.wierda at rna.nl
Thu May 14 18:03:56 CEST 2020


Thank you. That works.

> On 14 May 2020, at 17:13, Wolfgang Schuster <wolfgang.schuster.lists at gmail.com> wrote:
> 
> Gerben Wierda schrieb am 14.05.2020 um 11:47:
>> Is it possible to get a transparent background in a textext()? The following minimal example doesn’t work.
>> \starttext
>> \setupMPpage
>>   [background=color,
>>    backgroundcolor=gray]
>> \startMPpage
>> draw textext("\definecolor[labelbackground][a=0.2,r=1,g=1,b=1]
> 
> \definecolor[labelbackground][a=1,t=0.2,r=1,g=1,b=1]
> 
> Wolfgang


G


More information about the ntg-context mailing list