[NTG-context] Left border of a rectangle (Metafun)

2015-08-29 Thread Fabrice Couvreur
Hi, I want to draw the left border of the rectangle, but it is drawn in the middle. Why ? Thank you, Fabrice \setupcolors[state=start] \definecolor[MyColorA][c=0.3, m=0.00, y=0.00, k=0.05] \defineoverlay [Funny] [\useMPgraphic{Funny}] \startuseMPgraphic{Funny} interim linecap :=

Re: [NTG-context] Left border of a rectangle (Metafun)

2015-08-29 Thread Otared Kavian
Hi Fabrice, You can also use the following simpler method: % begin leftframe.tex \definecolor[MyColorA][c=0.3, m=0.00, y=0.00, k=0.05] \defineframedtext [MethodeB] [before={\blank}, after={\blank}, frame=off, leftframe=on, framecolor=MyColorA, rulethickness=6.5pt,

Re: [NTG-context] Left border of a rectangle (Metafun)

2015-08-29 Thread Hans Hagen
On 8/29/2015 1:11 PM, Otared Kavian wrote: Hi fabrice, I dont’t know whether this the best solution, but you can use the following definition of the MPgraphic Funny: \startuseMPgraphic{Funny} interim linecap := butt ; path p ; p := unitsquare xyscaled

[NTG-context] \setupheadnumber and zero

2015-08-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, can a section head be generated with the number 0 (or less)? Sometimes I need to prepend a section while keeping existing section head numbers... Example: \starttext \setupheadnumber[chapter][-1] \chapter{Ch0} % Getting Ch0 instead of 0. Ch0? \chapter{Ch1} \stoptext

Re: [NTG-context] Left border of a rectangle (Metafun)

2015-08-29 Thread Otared Kavian
Hi fabrice, I dont’t know whether this the best solution, but you can use the following definition of the MPgraphic Funny: \startuseMPgraphic{Funny} interim linecap := butt ; path p ; p := unitsquare xyscaled (OverlayWidth,OverlayHeight) ; drawoptions (withpen pencircle scaled