Re: [NTG-context] Background with rounded corners (Metafun)

2017-09-08 Thread Meer, Hans van der
> \defineornament >[FrameTitle] >[preset=lefttop] I tried this example and I wonder what the [preset=lefttop] does. Because whatever I fill in for lefttop, the ornament appears always in the topleft corner and nowhere else. Hans van der Meer > On 23 Aug 2017, at 00:50, Aditya Mahaj

Re: [NTG-context] Background with rounded corners (Metafun)

2017-08-30 Thread Fabrice Couvreur
Hi Pablo, I speak of the text in the frame as in the image https://mail.google.com/mail/u/0/?ui=2&ik=d5d294e54c&view=att&th=15e0c2d8c5b8cf7c&attid=0.1&disp=safe&realattid=f_j6o6zsx20&zw Fabrice 2017-08-30 22:45 GMT+02:00 Pablo Rodriguez : > On 08/30/2017 06:07 PM, Fabrice Couvreur wrote: > > Hi A

Re: [NTG-context] Background with rounded corners (Metafun)

2017-08-30 Thread Pablo Rodriguez
On 08/30/2017 06:07 PM, Fabrice Couvreur wrote: > Hi Aditya, > I tried : > [...] > to have my text wrapped around the ornament as in the figure but it > does not work. Hi Fabrice, sorry if I’m missing something, but I wonder whether the next sample is what you intend. \definecolor[MyColorA

Re: [NTG-context] Background with rounded corners (Metafun)

2017-08-30 Thread Fabrice Couvreur
Hi Aditya, I tried : \defineframedtext [FramedText] [ offset=0.6em, toffset=\lineheight, background=color, backgroundcolor=MyColorA, foregroundstyle={\switchtobodyfont[10pt]}, align=verytolerant, alternative=serried, % text wrapped frame=off, corner=00, ]

Re: [NTG-context] Background with rounded corners (Metafun)

2017-08-22 Thread Fabrice Couvreur
Sorry 'corner=00' ! 2017-08-23 1:01 GMT+02:00 Fabrice Couvreur : > Hi Aditya, > Sorry I forgot to attach the image of what I want to do. I know corner=number > parameter of framed and framed text but I wanted to do it with Metafun. > Thank you > Fabrice > > 2017-08-23 0:50 GMT+02:00 Aditya Mahaja

Re: [NTG-context] Background with rounded corners (Metafun)

2017-08-22 Thread Fabrice Couvreur
With your solution 'corner=01' 2017-08-23 1:01 GMT+02:00 Fabrice Couvreur : > Hi Aditya, > Sorry I forgot to attach the image of what I want to do. I know corner=number > parameter of framed and framed text but I wanted to do it with Metafun. > Thank you > Fabrice > > 2017-08-23 0:50 GMT+02:00 Ad

Re: [NTG-context] Background with rounded corners (Metafun)

2017-08-22 Thread Fabrice Couvreur
Hi Aditya, Sorry I forgot to attach the image of what I want to do. I know corner=number parameter of framed and framed text but I wanted to do it with Metafun. Thank you Fabrice 2017-08-23 0:50 GMT+02:00 Aditya Mahajan : > On Wed, 23 Aug 2017, Fabrice Couvreur wrote: > > Hello, >> I would like t

Re: [NTG-context] Background with rounded corners (Metafun)

2017-08-22 Thread Aditya Mahajan
On Wed, 23 Aug 2017, Fabrice Couvreur wrote: Hello, I would like to have three corners rounded as in the figure. Not sure if you had simplified your example or not. But if all you want is a rounded corner, you can consider using corner=number parameter of framed and framed text: http://wik

[NTG-context] Background with rounded corners (Metafun)

2017-08-22 Thread Fabrice Couvreur
Hello, I would like to have three corners rounded as in the figure. Thank you Fabrice \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784] \definecolor[MyColorB][c=0.00,m=0.27,y=1.00,k=0.00] \startuseMPgraphic{MyFrame} path b ; picture p ; p := textext.rt("\bf\tfx\white\framedtextparameter{Tit