Hi Jeroen,
You can try this :
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=left]
Sorry if I send owls to Athens !
JP
Le 19/03/2024 à 15:38, Jeroen a écrit :
For comments that are placed in the margin
Jeroen schrieb am 19.03.2024 um 19:34:
This one unbolds the margin text:
\setupmargindata[inouter][style=\tf]
This one works well, it unbolds and reduces the size of the margin text:
\setupmargindata
[inouter]
[style={\switchtobodyfont[8pt]}]
This one does not seem to make a change
This one unbolds the margin text:
\setupmargindata[inouter][style=\tf]
This one works well, it unbolds and reduces the size of the margin text:
\setupmargindata
[inouter]
[style={\switchtobodyfont[8pt]}]
This one does not seem to make a change:
\setupmargindata[inmargin][style={\tf
On Tue, 19 Mar 2024 15:38:16 +0100
Jeroen wrote:
> Can this text be placed in the margin in regular text or possibly
> in slightly smaller font size compared to the regular text in the
> document?
\setupmargindata
[inleft]
[style=\tf
in the document?
\setupmargindata[inouter][style=]
or
\setupmargindata[inleft][style={\switchtobodyfont[8pt]}]
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
?
Try \setupmargindata[inmargin][style={\tf}]
I don’t know why the default is bold.
Hraban
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenvironment[default][em=italic]
% Use Theano Didot as Ancient Greek font
\definefallbackfamily[mainface][serif
]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenvironment[default][em=italic]
\definefallbackfamily[mainface][rm][Theano
Didot
ow}, width=\outermarginwidth,
headcolor=red, color=green, style={\tfx\setupinterlinespace}, align=width]
\setupexternalfigures[location=default]
\setupmargindata[style={\tfx}, stack=yes]
\setupmargindata[inouter][color=orange]
\setupmargindata[ininner][color=blue]
\showframe
\starttext
\section{Margin Tes
{}{},
titlecommand=\groupedcommand{(}{)},
width=fit]
\defineenumeration
[definition]
[text=Définition,
number=no,
style=italic]
\defineenumeration
[exemple]
[text=Exemple,
number=no,
style=normal]
\definemargindata[marginfigure][inright]
\setupmargindata [marginfigure][command
__
>
\environment[template.mkiv]
\definemargindata[marginfigure][inright]
\useMPlibrary[dum]
\setupmargindata [marginfigure][command=\vbox,align=middle,stack=yes]
\setvariables
[headertext]
[title={Interrogation écrite},
number={3},
day={8},
month={11},
year={2022}
between stack=yes or no:
\usemodule[visual]
\useMPlibrary[dum]
\setupmargindata[inmargin][stack=yes]
\starttext
\dorecurse{20}{%
\fakewords{5}{30}
\inmargin{\externalfigure[dummy\recurselevel][width=15mm,height=15mm]}
\fakewords{5}{40}\par
}
\stoptext
Hraban
=12cm,margin=2.5cm]
\setupmargindata[inmargin][style={\tfx\em}, location=outer,align=flushouter]
just use \inouter or define a new margindata class (see typo-mar.mkxl
line 360 etc to see what is defined in what way)
\starttext
\chapter{Introduction}
\input{tufte}
\input{tufte}\inmargin
Hi all:
I send this minimal example:
\mainlanguage [es]
\definefontfamily [mainface] [serif] [Gentium]
\setupbodyfont[mainface]
\setuppagenumbering[alternative=doublesided, location={footer,right}]
\setuplayout[textwidth=12cm,margin=2.5cm]
\setupmargindata[inmargin][style={\tfx\em}, location
,
way=bysection]
I actually want to (flush) left align the enumeration's number inside the
left margin and give it a blue color. But even if I have
\setupmargindata[inleftmargin][color=bblue4,align=flushleft]
there is no alignment, no color.
However, if I do
\setupenumeration[verse
y=bysection]
>
> I actually want to (flush) left align the enumeration's number inside the
> left margin and give it a blue color. But even if I have
>\setupmargindata[inleftmargin][color=bblue4,align=flushleft]
> there is no alignment, no color.
>
> However, if I do
color. But even if I have
\setupmargindata[inleftmargin][color=bblue4,align=flushleft]
there is no alignment, no color.
However, if I do
\setupenumeration[verse]
[alternative=leftmargin,
text=,
width=\leftmarginwidth,
headcolor=bblue4,
distance=0em,
way=bysection]
I am able
\setuplanguage[fr][patterns={fr,agr}]
\mainlanguage[fr]
\setcharacterspacing[frenchpunctuation]
\setuplayout [backspace=40mm]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex
=7cm,
width=middle,
margin=5cm,
margindistance=7mm]
%\def\ColWidth{57mm}
\setupmargindata[inmargin]
[location=right,
stack=continue,
align=flushright,
]
\setupmargindata[inouter]
[location=right,
stack=continue,
align
es one cannot avoid them).
>
> One essential bit is missing in the wiki example:
>
> \setupmargindata[inmargin][
> location=right,
> stack=continue, % !!
> align=flushright,
> ]
>
> The code I’m actually using for our German literature magazine “Kritische
>
to each other (indeed it is not
> a good habit to have long notes, but in some cases one cannot avoid them).
One essential bit is missing in the wiki example:
\setupmargindata[inmargin][
location=right,
stack=continue, % !!
align=flushright,
]
The code I’m actually using for our Ge
Jul 2020 17:20:07 +0200
> Fabrice Couvreur wrote:
>
> Try:
>
> > \useMPlibrary[dum]
> >
> > \setuppapersize[A4]
> >
> > \setuplayout
> > [width=12cm,
> >rightmargin=5cm]
> >
> > \definemargindata[marginfigure][in
On Thu, 2 Jul 2020 17:20:07 +0200
Fabrice Couvreur wrote:
Try:
> \useMPlibrary[dum]
>
> \setuppapersize[A4]
>
> \setuplayout
> [width=12cm,
>rightmargin=5cm]
>
> \definemargindata[marginfigure][inright]
> \setupmargindata [marginfigure][command=\vbox,a
]
\setupmargindata [marginfigure][command=\vbox,align=middle]
\defineuserdata [margintext] [alternative=margintext]
\defineuserdataalternative [margintext] [renderingsetup=userdata:margintext]
\startsetups [userdata:margintext]
\margindata
[inright]
[%style=\smallbodyfont,
style
re and
> margintext in a sort of stack.
>
> Thanks for any advice: Otared K.
>
> % begin margintext-float.tex
> \setuppapersize[A4][A4]
> \setuplayout[
> width=120mm,
> leftmargin=25mm,rightmargin=50mm]
>
> \setupmargindata[margintext]
>
and margintext in a
sort of stack.
Thanks for any advice: Otared K.
% begin margintext-float.tex
\setuppapersize[A4][A4]
\setuplayout[
width=120mm,
leftmargin=25mm,rightmargin=50mm]
\setupmargindata[margintext]
[align=raggedright,
stack=yes
and margintext in a
sort of stack.
Thanks for any advice: Otared K.
% begin margintext-float.tex
\setuppapersize[A4][A4]
\setuplayout[
width=120mm,
leftmargin=25mm,rightmargin=50mm]
\setupmargindata[margintext]
[align=raggedright,
stack=yes
those two together, but it didn’t work
\setupmargindata[inmargin][
location=right,
stack=continue,
align=flushright,
style={\switchtobodyfont[6pt]},
]
\setupmargindata[inouter][
location=right,
stack=continue,
align=flushright,
style={\switchtobodyfont[6pt]},
]
\def\FNVOffset{0
\setupmargindata[inright][stack=continue]
might help, but the mechanism changed within the last few months: while it
previously worked automagically in most cases, I had to shift several margin
notes in my project using
\inmargin[voffset=...]{...}
Greetlings, Hraban
---
https://www.fiee.net
With the current beta, stacking of margin notes doesn’t work any more.
(It was never perfect, but good enough.)
MWE:
\setuplayout[
backspace=60mm,
width=100mm,
margin=50mm,
]
\setupmargindata[inmargin][stack=yes,style=\tfx] % or stack=continue
\starttext
%\showlayout
\input tufte
g them
>>> with a
>>> comma or something like that. With the code below, the first line of
>>> the
>>> output contains an overlapping "1" and "2" in the margin. I would
>>> like the
>>> "1" and "2" not to be o
in
combining them if two should end up on the same line, dividing them with a
comma or something like that. With the code below, the first line of the
output contains an overlapping "1" and "2" in the margin. I would like the
"1" and "2" not to be overlapping,
elow, the first line of the
> output contains an overlapping "1" and "2" in the margin. I would like the
> "1" and "2" not to be overlapping, nor to be stacked like
> \setupmargindata[stack=yes] would get me, but rather to automatically combine
>
t; in the margin. I would like the
"1" and "2" not to be overlapping, nor to be stacked like
\setupmargindata[stack=yes] would get me, but rather to automatically
combine those that would overlap to get something like "1,2".
Current output: https://i.imgur.com/RaTQ1ZO.p
indenting=no,
location=serried,
alternative=serried,
width=broad,
numbercommand=\FNo,
]
\setuptexttexts[margin][]
[{\framed[
align={flushleft,bottom},
frame=off,
height=\textheight,
width=\rightmarginwidth]{%
\strut\vfill\placenotes[footnote]}}]
\setupmargindat
an Ramm 30. März 2017 um 10:30
>>> While I’m still waiting for answers to my other questions, I got some more:
>>>
>>> In my layout, left margin width is zero, but \inmargin always uses left
>>> margin.
>>> I didn’t find a setup to change that – s
in always uses left
>> margin.
>> I didn’t find a setup to change that – should
>> \setupmargindata[location=right] do the trick? (it doesn’t, also not with
>> left)
>>
>> Further I’d like to place "foot"notes into the margin.
>> It work
to align text in margin data:
\setuphead
[chapter]
[style=\tfxx,
number=no,
alternative=margintext,
align=middle]
\setupmargindata
[inmargin]
[style=\tfxx,
align=middle]
\starttext
\chapter{Chapter}
\input
e to align text in margin data:
\setuphead
[chapter]
[style=\tfxx,
number=no,
alternative=margintext,
align=middle]
\setupmargindata
[inmargin]
[style=\tfxx,
align=middle]
\starttext
\chapter{Chapter}
\input jojo
On Tue, 2017-05-16 at 22:10 +0200, Florian Grammel wrote:
> While visualising index-entires in the margin using
> \version[temporary] isn't implemented for MkIV yet, I'd like to
> define a basic stand-in in the meantime:
>
> \setupmargindata[inmargin][location=outer, style=it
While visualising index-entires in the margin using \version[temporary] isn't
implemented for MkIV yet, I'd like to define a basic stand-in in the meantime:
\setupmargindata[inmargin][location=outer, style=itxx]
\define[1]\myindex{\index{#1}%
\inmargin{#1
Henning Hraban Ramm <mailto:te...@fiee.net>
30. März 2017 um 10:30
While I’m still waiting for answers to my other questions, I got some
more:
In my layout, left margin width is zero, but \inmargin always uses
left margin.
I didn’t find a setup to change that – should
\setupmarg
On 04/08/2017 07:01 PM, Henning Hraban Ramm wrote:
> Am 2017-04-05 um 20:42 schrieb Pablo Rodriguez:
>> doesn’t \setupmargindata[inmargin][location=right] do the trick?
>
> No, but \setupmargindata[inmargin][location=outer]
Hi Hraban,
since your layout had left margin width
Am 2017-04-05 um 20:42 schrieb Pablo Rodriguez <oi...@gmx.es>:
> On 04/04/2017 10:27 AM, Henning Hraban Ramm wrote:
>>> In my layout, left margin width is zero, but \inmargin always uses left
>>> margin.
>> Ok, I can use \inouter.
>
> doesn’t \setup
questions, I got some more:
>>
>> In my layout, left margin width is zero, but \inmargin always uses left
>> margin.
>
> Ok, I can use \inouter.
Hi Hraban,
doesn’t \setupmargindata[inmargin][location=right] do the trick?
>> I didn’t find a setup to change that –
, but \inmargin always uses left
> margin.
Ok, I can use \inouter.
> I didn’t find a setup to change that – should
> \setupmargindata[location=right] do the trick? (it doesn’t, also not with
> left)
>
> Further I’d like to place "foot"notes into the margin.
> It wor
While I’m still waiting for answers to my other questions, I got some more:
In my layout, left margin width is zero, but \inmargin always uses left margin.
I didn’t find a setup to change that – should \setupmargindata[location=right]
do the trick? (it doesn’t, also not with left)
Further I’d
On 3/27/2017 8:00 PM, Pablo Rodriguez wrote:
On 03/27/2017 05:22 PM, Hans Hagen wrote:
On 3/27/2017 3:57 PM, Pablo Rodriguez wrote:
[...]
On a second thought, I wonder why width in \setupmargindata hasn’t its
default value to \leftmarginwidth or \rightmarginwidth depending on the
chosen
On 03/27/2017 05:22 PM, Hans Hagen wrote:
> On 3/27/2017 3:57 PM, Pablo Rodriguez wrote:
>> [...]
>> On a second thought, I wonder why width in \setupmargindata hasn’t its
>> default value to \leftmarginwidth or \rightmarginwidth depending on the
>> chosen
On 3/27/2017 3:57 PM, Pablo Rodriguez wrote:
On 03/26/2017 10:20 PM, Wolfgang Schuster wrote:
Pablo Rodriguez schrieb am 26. März 2017 um 22:09:
[...]
I’m afraid that I found an issue. Alignment in margindata doesn’t work:
\showframe
\definemargindata[outerhead][outer]
\setupmargindata
On 03/26/2017 10:20 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez schrieb am 26. März 2017 um 22:09:
>> [...]
>> I’m afraid that I found an issue. Alignment in margindata doesn’t work:
>>
>> \showframe
>>
>> \definemargindata[outerhead][outer]
&
On 03/26/2017 10:20 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez schrieb am 26. März 2017 um 22:09:
>> [...]
>> \definemargindata[outerhead][outer]
>> \setupmargindata[outerhead][align=center]
>
> \setupmargindata[outerhead][align=center,width=\rightmarginwid
\showframe
\definemargindata[outerhead][outer]
\setupmargindata[outerhead][align=center]
\setupmargindata[outerhead][align=center,width=\rightmarginwidth]
Wolfgang
___
If your question is of interest to others as well, please
d an issue. Alignment in margindata doesn’t work:
\showframe
\definemargindata[outerhead][outer]
\setupmargindata[outerhead][align=center]
\setuppagenumbering
[alternative=doublesided]
\setuphead
[section]
[alternative=inmargin,
align=center,
,agr}]
\mainlanguage[fr]
\setcharacterspacing[frenchpunctuation]
\setuplayout [backspace=40mm]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenviron
lowing:
8<
\showframe\showgrid
\setuplanguage[fr][patterns={fr,agr}]
\mainlanguage[fr]
\setcharacterspacing[frenchpunctuation]
\setuplayout [backspace=40mm]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupmargin
][patterns={fr,agr}]
\mainlanguage[fr]
\setcharacterspacing[frenchpunctuation]
\setuplayout [backspace=40mm]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin
]
\setupmargindata[outer][style=\tf]
\starttext
Foo\\
{\tfb Foo} Bar \inouter{Foo\\ {\tfb Foo}\\ Bar}Baz\\
Foo
\stoptext
This is a non sensible MWE where the \tfb here replaces another font with a bit
taller letters (Hebrew Lamed to name). I tried \smash around these, which works
but wondered
[fr]
\setuplayout [backspace=40mm]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenvironment[default][em=italic
][patterns={fr,agr}]
\mainlanguage[fr]
\setuplayout [backspace=40mm]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right
={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenvironment[default][em=italic]
\definefallbackfamily[mainface][serif][Theano Didot][preset=range:greek,
it={Old Standard Italic
]
> \setuplanguage[fr]
> \setuplayout [backspace=40mm]
> \setuppagenumbering[location={header,inright}]
> \setupmargindata[inmargin][location=left]
> \setupmargindata[inmargin][style={\switchtobodyfont[ss,10pt]}]
> \setupbodyfontenvironment[default][em=italic]
> \definefallbackfamily [main
40mm]
> \setuppagenumbering[location={header,inright}]
> \setupmargindata[inmargin][location=left]
> \setupmargindata[inmargin][style={\switchtobodyfont[ss,10pt]}]
> \setupbodyfontenvironment[default][em=italic]
> \definefallbackfamily [mainface] [serif] [New Athena Unicode]
>
Dear ConTeXt wizards,
I am currently writing a course. I need some notes in the left margin. I have
written this in the preamble :
\setuppapersize[A4]
\setuplanguage[fr]
\setuplayout [backspace=40mm]
\setuppagenumbering[location={header,inright}]
\setupmargindata[inmargin][location=left
= option. A simple MWE follows.
\setupmargindata[outer][stack=yes] % or =continue
\starttext
Foo \inouter{note}*bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar
Foo bar
Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar Foo bar
Foo bar Foo bar Foo bar Foo bar Foo
Dear all,
Using ConTeXt ver: 2016.05.01 09:52 MKIV beta, I see that marginal notes
(using \inouter for example) are put 1 or more lines below expected when using
stack= option. A simple MWE follows.
\setupmargindata[outer][stack=yes] % or =continue
\starttext
Foo \inouter{note}*bar Foo
Ibn Saeed <mailto:ibnsa...@gmail.com>
18. Januar 2016 um 08:15
By using right
\setupmargindata
[margintext]
[align=r2l]
and
\setupalign[r2l]
The margin arabic text appears correctly
But the arabic texts in the header is still the same.
\setupheader[style=\righttoleft]
Wo
]
\definefontsynonym [Serif] [Arabic-Regular] [features=arabic]
\definefontsynonym [SerifBold] [Arabic-Bold][features=arabic]
\stoptypescript
\starttypescript [Arabic]
\definetypeface [Arabic] [rm] [serif] [arabic] [default]
\stoptypescript
\setupmargindata[margintext]
[align=r2l
>
> \setupmargindata
> [margintext]
> [align=r2l]
>
> use \setupalign[r2l] and \righttoleft and not the dir primitives
>
I did not understand how to use
"use \setupalign[r2l] and \righttoleft and not the dir primitives"
Do you mean that i should rem
Ibn Saeed gmail.com> writes:
>
>
> >
> > \setupmargindata
> > [margintext]
> > [align=r2l]
> >
> > use \setupalign[r2l] and \righttoleft and not the dir primitives
> >
>
> I did not understand how to use
>
> "use \
عشر:
\stoptext
\setupmargindata
[margintext]
[align=r2l]
use \setupalign[r2l] and \righttoleft and not the dir primitives
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061
cal blank space? This \vskip4cm\Info{scores}\vskip4cm don't make the
> job.
>
> You can use the \framed command to reserve the space for the answer and
> place with the score with a layer as background for the frame.
>
> \setupmargindata[inmargin][style={\ss\tfx},location=outer,align=
ground for the frame.
\setupmargindata[inmargin][style={\ss\tfx},location=outer,align=middle]
\setupmarginframed[inmargin][align=middle,location=outer]
\definelayer[infolayer][width=\framedwidth,height=\framedheight]
\startsetups[infolayer:place]
\setlayer[infolayer][preset=middleright]{\rotate{\getva
don't
want this behavior. How can I can this?
Another question: How can I anchor the scores in the middle of the vertical
blank space? This \vskip4cm\Info{scores}\vskip4cm don't make the job.
Thanks in advance.
Jorge
Code:
\setupmargindata[inmargin][style={\ss\tfx},location=outer,align=middle
[backspace=4cm,width=14cm]
\definemargindata[marginfigure][inmargin]
\setupmargindata [marginfigure][command=\tbox]
\starttext
\marginfigure{\externalfigure[warning][width=\leftmarginwidth]}
\input tufte
\stoptext
Wolfgang
Wolfgang Schuster schuster.wolfgang at gmail.com writes:
...
\setuppagenumbering[style=\ttc]
\setuplayout[backspace=4cm]
\showframe
\setupmarginframed[inmargin][align=flushleft]
\setupmargindata [inmargin][style={\switchtobodyfont[ss,18]}]
% Faster method to switch the font
Am 25.11.2014 um 10:14 schrieb Richard Sherman rss@gmail.com:
Wolfgang Schuster schuster.wolfgang at gmail.com writes:
...
\setuppagenumbering[style=\ttc]
\setuplayout[backspace=4cm]
\showframe
\setupmarginframed[inmargin][align=flushleft]
\setupmargindata [inmargin][style
Wolfgang Schuster schuster.wolfgang at gmail.com writes:
The first line is a comment which says
\definefont[InmarginStyle][Sans at 18pt]
\setupmargindata[inmargin][style=InmarginStyle]
takes less time to change the font than
\setupmargindata[inmargin][style={\switchtobodyfont[ss,18
Am 26.11.2014 um 02:39 schrieb Richard Sherman rss@gmail.com:
Wolfgang Schuster schuster.wolfgang at gmail.com writes:
The first line is a comment which says
\definefont[InmarginStyle][Sans at 18pt]
\setupmargindata[inmargin][style=InmarginStyle]
takes less time to change
Hi all,
I am having trouble with the control of fonts in \inmargin{} and in page
numbers. I'm also having trouble with the alignment in \inmargin{}, and with
font sizes generally.
I've used what I know about \setupmargindata and \setupinmargin(and
\setuppagenumbering).
Below is an example
\setupmargindata and \setupinmargin(and
\setuppagenumbering).
Below is an example that (almost) does what I want.
The two or three problems I've tried and failed to solve are
1. control over the font size of the marginal note (rather than just \small; I
want to choose a point-size)
2. control
that the following does what you
want as far as setting up the margin text and description. I am no help on
the mp stuff that you will need for curly or other-dotted rules.
As you probably saw, neither \setupmargindata nor \setupmarginframed are in
the wiki. The list archive has some hints
? 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
\setupmargindata[][align=middle,width=2cm] %???
\definedescription[greenline] % ???
[before={\setupmarginrule[rulecolor=green]
\indenting[no]
\startmarginrule[2]},
after={\stopmarginrule}
]
\starttext
\inmargin[method=first][frame=on,corner=round] {Read\\this\\first}
\setupmarginrule[rulecolor=red
\setupmarginrule[rulethickness=.1pt] % works
\setupmargindata[][align=middle,width=2cm] %???
\definedescription[greenline] % ???
[before={\setupmarginrule[rulecolor=green]
\indenting[no]
\startmarginrule[2]},
after={\stopmarginrule}
]
\starttext
\inmargin[method=first][frame=on,corner=round] {Read
thanks for your help, Wolfgang.
Is there a way to load the definitions for all commands?
I mean, I'm interested in \setuplinenote, \setupmargindata and similar.
Many thanks for your help again,
Pablo
--
http://www.ousia.tk
. You have to load the definitions for the core commands.
Many thanks for your help, Wolfgang.
Is there a way to load the definitions for all commands?
I mean, I'm interested in \setuplinenote, \setupmargindata and similar.
When you get no output for a certain commands
Hi,
in the following example, why do marginblocks and margindata produce
a different width when both are set to the same value?
\setupmarginblocks
[width=\rightmarginwidth]
\setupmargindata
[inright]
[style=normal,
width=\rightmarginwidth]
\showframe
\starttext
\startmarginblock
Thanks, Devendra. That is very helpful.
\*setupmargindata*[margintext][location=outer,align=inner]
gives me exactly the placement that I need.
Best, Alan
On Sat, Feb 9, 2013 at 1:25 AM, Devendra Ghate devendra.gh...@gmail.comwrote:
On 02/09/2013 06:51 AM, Alan Bowen wrote:
I need margin
into bottom margin.
I took a look at *typo-mar.mkiv* to see if an option exists to correct
this without any success.
*MWE*
\setuplayout[height=6cm,width=5cm,rightmargin=5cm]
\unprotect
% setup the side notes
\setupmargindata
[margintext]
[location=outer,
width=4.5cm,
align=flushleft
code for `inoutermargin`, and found out
it is an instance of the `margindata` class. This is its setup
command:
\setupmargindata[inoutermargin][style=bold,color=red]
(2) A minimal working example. It is nice to include an MWE when you
ask a question -- it makes things easier for people
it is an instance of the `margindata` class. This is its setup
command:
\setupmargindata[inoutermargin][style=bold,color=red]
(2) A minimal working example. It is nice to include an MWE when you
ask a question -- it makes things easier for people who want to try to
answer the question, because they don't
,
rightmargin=5cm]
\setupmargindata
[inouter]
[location=outer,
stack=continue]
\definefloat
[marginfigure]
[marginfigures]
[figure]
\setupfloat
[marginfigure]
[default=margin]
\definefloat
[margintext
,
headerdistance=0pt,
height=560pt,
footer=0pt,
%
backspace=42pt,
leftmargin=0pt,
width=280pt,
rightmargindistance=20pt,
rightmargin=100pt]
\setupmargindata
[margintext]
[location=outer
\dosetupstrut is undefined in mkiv. Hence in typo-mar.mkiv, line
246:
- \dosetupstrut[\currentmargindatastrut]%
+ \setupstrut[\currentmargindatastrut]%
Test document:
···
\starttext
\setupmargindata
,
height=560pt,
rightmargindistance=20pt,
rightmargin=100pt,
footer=0pt]
\setuppagenumbering[alternative=doublesided]
\setupmargindata [margintext]
[location=outer,
width=100pt,
align=flushouter]
\starttext \showframe
\input tufte
\input tufte
\input tufte
,
rightmargindistance=20pt,
rightmargin=100pt,
footer=0pt]
\setuppagenumbering[alternative=doublesided]
\setupmargindata [margintext]
[location=outer,
width=100pt,
align=flushouter]
\starttext \showframe
\input tufte
\input tufte
\input tufte\margintext{This is too low
,
header=0pt,
headerdistance=0pt,
backspace=42pt,
leftmargin=0pt,
width=280pt,
height=560pt,
rightmargindistance=20pt,
rightmargin=100pt,
footer=0pt]
\setuppagenumbering[alternative=doublesided]
\setupmargindata [margintext]
[location=outer,
width=100pt,
align=flushouter
=outer,
width=100pt,
align=flushouter,
stack=continue, % or yes
]
Use \setupmargindata to change the values of a existing command. In this
example it doesn’t matter but that’s not always the case.
Wolfgang
I also changed \definemargindata to \setumargindata
does
not 'know of each other'. They do overlap.
I made a small example to show the behavior:
[…]
\definemargindata [margintext]
[
location=outer,
width=100pt,
align=flushouter,
stack=continue, % or yes
]
Use \setupmargindata to change the values
1 - 100 of 140 matches
Mail list logo