[NTG-context] Re: Color in a Columntext, how does it work?, Here is my example, that works great now, but some questions, after new work.

2025-03-14 Thread Ursula Hermann
Dear List, After my work yesterday, I have the following example, that works great now. \starttext \setuppapersize [A4] \setupbodyfont[roman, 11.30pt] %hex \definecolor[almond][x=EED9C4] % produced 1958–present \definecolor[mediumviolet][x=8F47B3] \definesidebar[simple][rulethickness=1pt

[NTG-context] Re: Color in a Columntext, how does it work?, Here is my example, that works great now, but some questions, after new work.

2025-03-13 Thread Ursula Hermann
Dear List, After some work, I have a new example,. \starttext \setuppapersize [A4] \setupbodyfont[modern, 11.30pt] %hex \definecolor[almond][x=EED9C4] % produced 1958–present \definecolor[mediumviolet][x=8F47B3] \definesidebar[simple][rulethickness=1pt,distance=4pt] \setupcolors[state

[NTG-context] Re: Color in a Columntext, how does it work?, Here is my example, that works great now!

2025-03-12 Thread Ursula Hermann
Dear List, First: Many thanks, for your Tips and for helping. Here is my example, that works great now. \starttext \setuppapersize [A4] \setupbodyfont[modern, 11.30pt] %hex \definecolor[almond][x=EED9C4] % produced 1958–present \definecolor[mediumviolet][x=8F47B3] \definesidebar[simple

[NTG-context] Re: Draw leftframe to a description

2024-10-05 Thread Gerion Entrup
ar Thank you for that command, it is pretty much that what I want. In contrast to a textbackground, it seems to be always in the margin of the page. I tried: ``` \definesidebar[excursussb][ rulethickness=1mm, rulecolor=darkred, distance=1mm, % <- this seems to be not r

[NTG-context] Re: sidebar and marginrule not working

2023-10-24 Thread Hamid,Idris
== % ConTeXt ver: 2023.09.26 18:19 LMTX \setupmarginrule[1][rulecolor=darkred] \definesidebar[Sidebar][rulethickness=0.28pt,distance=3pt,rulecolor=darkgreen] \setupsidebar[rulecolor=darkgreen] \starttext \startmarginrule[1] \input ward \stopmarginrule \blank \startsidebar[Sidebar] \input zap

[NTG-context] Re: sidebar and marginrule not working

2023-10-24 Thread Otared Kavian
rule mechanisms. > MWE: > > == > % ConTeXt ver: 2023.09.26 18:19 LMTX > > \setupmarginrule[1][rulecolor=darkred] > > \definesidebar[Sidebar][rulethickness=0.28pt,distance=3pt,rulecolor=darkgreen] > \setupsidebar[rulecolor=darkgreen] > >

[NTG-context] Re: sidebar and marginrule not working

2023-10-24 Thread Hamid,Idris
ontext@ntg.nl>> Date 10/23/2023 6:24:38 PM Subject [NTG-context] sidebar and marginrule not working Dear gang, The appears to be something wrong with the sidebar and marginrule mechanisms. MWE: == % ConTeXt ver: 2023.09.26 18:19 LMTX \setupmarginrule[1][rulecolor=darkred] \definesid

[NTG-context] Re: sidebar and marginrule not working

2023-10-24 Thread Hans Hagen
ule not working Dear gang, The appears to be something wrong with the sidebar and marginrule mechanisms. MWE: == % ConTeXt ver: 2023.09.26 18:19 LMTX \setupmarginrule[1][rulecolor=darkred] \definesidebar[Sidebar][rulethickness=0.28pt,distance=3pt,rulecolor=darkgreen] \setupsidebar[

[NTG-context] Re: sidebar and marginrule not working

2023-10-24 Thread Hamid,Idris
something wrong with the sidebar and marginrule mechanisms. MWE: == % ConTeXt ver: 2023.09.26 18:19 LMTX \setupmarginrule[1][rulecolor=darkred] \definesidebar[Sidebar][rulethickness=0.28pt,distance=3pt,rulecolor=darkgreen] \setupsidebar[rulecolor=darkgreen] \starttext

[NTG-context] sidebar and marginrule not working

2023-10-23 Thread Hamid,Idris
Dear gang, The appears to be something wrong with the sidebar and marginrule mechanisms. MWE: == % ConTeXt ver: 2023.09.26 18:19 LMTX \setupmarginrule[1][rulecolor=darkred] \definesidebar[Sidebar][rulethickness=0.28pt,distance=3pt,rulecolor=darkgreen] \setupsidebar[rulecolor

Re: [NTG-context] custom zig zag sidebars

2021-04-29 Thread Otared Kavian
dth >>withcolor linecolor ; >>p := p + stp ; >>exitif arclength( a -- p ) > arclength( a -- b ) ; >>endfor ; >>endgroup ; >>clip

Re: [NTG-context] custom zig zag sidebars

2021-04-29 Thread mf
Thank you, Hans. To save this example, I wikified \setupsidebar, \definesidebar and \startsidebar...\stopsidebar. If you do something on alternatives, let me know. Massi ___ If your question is of interest to o

[NTG-context] custom zig zag sidebars

2021-04-28 Thread mf
he pattern should be clipped not to exceed the last line of the sidebarred text (see the last example): how can that be done? Massi \definesidebar[zigzag1][rulecolor=black,distance=4pt,rulethickness=1pt,alternative=2] \definesidebar[zigzag2][rulecolor=red,distance=4pt,rulethickness=1pt,alt

[NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
eated with \definesidebar) to them. However, when I surround for example my typing with a textbackground like this \starttextbackground[code] \startCpp ... \stopCpp \stoptextbackground or by putting the textbackground commands in "before=" and "after=" of my typing, then there will

Re: [NTG-context] Piecewise margin line

2020-11-20 Thread Johann Birnick
n horizontal mode, > since you might want to mark in the margin only a part of a paragraph. > In that case the bar would extend from the start of the marked text > until its end. > The default behavior of the bar is extending from the top of the first > line to the bottom of the la

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread mf
you could keep > \defineenumeration[Theorem][before=\startsidebar, after=stopsidebar] or, better: \definesidebar[Theorem][bottomoffset=...] \defineenumeration[Theorem][before={\startsidebar[Theorem]},after=\s

Re: [NTG-context] Left frame on a block of text

2019-04-21 Thread Otared Kavian
e the sidebar to enhance \proclaim like texts. Best regards: OK begin test-sidebar-proclaim.tex %%% \definesidebar[ProclaimSidebar] \setupsidebar[ProclaimSidebar] [rulecolor=darkred, rulethickness=1pt, alternative=2, distance=5mm, % bottomoffset

Re: [NTG-context] Using the margin for two purposes

2014-05-19 Thread Rik
the alternative=1 option to get dotted lines? When I put it into \definesidebar, the sidebar disappears, and when I write \startsidebar[oeps,alternative=1] it reverts to the default left sidebar (albeit dotted). Matthias Matthias, You can use distance= in \setupmarginrules to achieve the

Re: [NTG-context] Using the margin for two purposes

2014-05-19 Thread Matthias Weber
? When I put it into \definesidebar, the sidebar disappears, and when I write \startsidebar[oeps,alternative=1] it reverts to the default left sidebar (albeit dotted). Matthias \setupmargindata [left] [location=right, style=\bfxx] \setupmarginframed[left

Re: [NTG-context] Using the margin for two purposes

2014-05-19 Thread Hans Hagen
-bar.mkiv, there is nothing that I can see that supports placing marginrules, or the sidebars on which they are built, into the right margin. It looks like a job for Hans. Hm, so you didn't experiment ... \starttext \definesidebar[whow][rulecolor=green,distance=0pt] \definesidebar[oeps][rule