Re: [NTG-context] Title without the parentheses

2017-01-31 Thread Fabrice Couvreur
Hi Kavian, Thank you very much for your help, your solution corresponds to what I was trying to do even if it uses another approach. Fabrice 2017-01-30 14:54 GMT+01:00 Otared Kavian : > Hi Fabrice, > > In order to have the box aligned with the text, it is enough to use the >

Re: [NTG-context] Title without the parentheses

2017-01-30 Thread Otared Kavian
Hi Fabrice, In order to have the box aligned with the text, it is enough to use the \lower command as in the exmaple below. Best regards: Otared K. %% begin \startuniqueMPgraphic{MyShape} path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayheight ; pickup

Re: [NTG-context] Title without the parentheses

2017-01-30 Thread Otared Kavian
Hi Fabrice, Below you have an example which may help you to achieve what you want, but in the example I am sending there is an issue with the alignment of the title. I could not solve the issue, sorry… Best regards: Otared K. %% begin example boxed-title.tex \startuniqueMPgraphic{MyShape}

Re: [NTG-context] Title without the parentheses

2017-01-29 Thread Fabrice Couvreur
Hello Kavian, Thank you for your answer, it's good for the parentheses. For the command, I found only this which does not exactly answer what I want to do. Fabrice \defineenumeration [ex] [text={Exercice}, headcommand=\EXFRAME, titleleft=, titleright=, title=yes, width=fit,

Re: [NTG-context] Title without the parentheses

2017-01-29 Thread Otared Kavian
Hi Fabrice, To suppress the parentheses in the title, you can use the keys titleleft and titleright as in the following: \defineenumeration [ex] [text=Exercice, title=yes, titleleft=, titleright=, width=fit, numberconversionset=ACCONVERSION, alternative=top, number=yes]

[NTG-context] Title without the parentheses

2017-01-29 Thread Fabrice Couvreur
Hello, I would like a title without the parentheses and the text "Exercice" in the frame with the number. Thank you. Fabrice \defineframed [EXFRAME] [frame=off, offset=0pt, location=low, width=\struttotal, background=color, backgroundcolor=darkred, foregroundcolor=white,