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
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
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
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
==
% 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
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]
>
>
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
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[
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
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
dth
>>withcolor linecolor ;
>>p := p + stp ;
>>exitif arclength( a -- p ) > arclength( a -- b ) ;
>>endfor ;
>>endgroup ;
>>clip
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
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
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
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
you could keep
> \defineenumeration[Theorem][before=\startsidebar, after=stopsidebar]
or, better:
\definesidebar[Theorem][bottomoffset=...]
\defineenumeration[Theorem][before={\startsidebar[Theorem]},after=\s
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
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
? 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
-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
20 matches
Mail list logo