[NTG-context] Optimize code to create a environnementt with Metafun ?

Jean-Pierre Delange adeimantos at free.fr
Thu Jul 28 18:08:22 CEST 2016


This frame seems very nice in order to use it as a summary, or a 
chapter's conclusion.

Thank you Fabrice, Wolfgang and Dalyoung !


Le 28/07/2016 à 15:36, Wolfgang Schuster a écrit :
>> Jeong Dal <mailto:haksan at me.com>
>> 28. Juli 2016 um 15:17
>> Dear Fabrice and Wolfgang,
>>
>> I tried the following code of yours, but I got “! undefined control 
>> sequence” error.
>> Would you please tell me where I should to correct?
>>
>> Thank you so much,
>>
>> Best regards,
>>
>> Dalyoung
>>
>> %%%%%%%%%%%%%%%
>> \setupbodyfont[pagella,11pt]
>>
>> \setupcolors[state=start]
>>
>> \defineframedtext
>>  [MyFrame]
>>  [before={\blank},
>>   after={\blank},
>>   frame=off,
>>   background=MyFrame,
>>   %width=\textwidth,
>>   width=max,
>>   height=fit,
>>   style=italic]
>>
>> \definelabel
>>  [Définition]
>>  [headstyle=\bf\smallcaps]
>>
>> \startuseMPgraphic{MyFrame}
>> path b;
>> picture p;
>> %p := textext.rt("\white\Définition");
>> p := textext.rt("\white\framedtextparamemter{Title}");
> You have a extra "m" in \framedtextparameter (fourth letter from the end).
>
> Wolfgang
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160728/15d72d70/attachment.html>


More information about the ntg-context mailing list