g}}
\samplefile{lorem}
\margindata[\recursestring]{Text in the margin!}
\samplefile{lorem}
}
\doloopoverlist{
inleft,
inright,
inouter,
ininner,
inmargin,
inother,
}
{
%\setupmargindata[\recursestring][align=middle]
\setupmarginframed[\recursestring][align=middle]
\
\inleft{}, \inouter{}
etc will place text in the margin in bold. 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?
___
If
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
Jeroen schrieb am 19.03.2024 um 15:38:
For comments that are placed in the margin, the \inleft{}, \inouter{}
etc will place text in the margin in bold. 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
Am 19.03.24 um 15:38 schrieb Jeroen:
For comments that are placed in the margin, the \inleft{}, \inouter{}
etc will place text in the margin in bold. 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
I am using: \margindata[]{group to isolate change e.g. {\rm \it etc}}
yours sincerely
dr. Hans van der Meer
> On 19 Mar 2024, at 15:38, Jeroen wrote:
>
> For comments that are placed in the margin, the \inleft{}, \inouter{} etc
> will place text in the margin in bold. Can
For comments that are placed in the margin, the \inleft{}, \inouter{} etc
will place text in the margin in bold. 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
Hans’ manuals are also often "in progress".
A visible TODO marker might help – I’m using the following in my book to
keep track of incomplete sections:
\defineregister[todos]
\define[1]\TODO{\inouter{\tt\color[red]{TODO}}\expanded{\todos{\structurevariable{title}}}\color[re
\inmargin, \inouter etc.
Additional to Wolfgang’s suggestions:
If you need sidefloats that cover not only the margin but should
decrease the text width, you can move sidefloats into the margin like:
\startplacefigure[title={},location=outer]
\offset[rightoffset=-\marginwidth]{\externalfigure[cow
=\outermarginwidth.
But it seems that for captions the width is derived from the inner
margin width on even pages.
The width of notes in the outer margin placed with \inouter is also off
on even pages. They are too narrow and do not "fill" the available space
(things seems to work for note
7;t use it?
I simplified too much, the actual definition is (now):
\define[1]\TODO{\inouter{\tt\color[ColTodo]{TODO}}\expanded{\todos{\structurevariable{title}}}\color[ColTodo]{\bf
#1}\autoinsertnextspace}
Hraban
]
\startcolor[darkred]
\dorecurse{10}{\section{Knuth}\pushoutputstream
\inouter{first}\input knuth\footnote{note}\par\pushoutputstream}
\stopcolor
\stopoutputstream
\startoutputstream[two]
\startcolor[darkgreen]
\dorecurse{10}{\section{Zapf}\pushoutputstream
\inouter{second
gt;>> The goal is to have an inline symbol that provides a http url link.
>>>
>>> AFAIK there’s nothing ready-made in that regard, but just define your own
>>> macro.
>>>
>>> E.g. I use:
>>>
>>> \define[1]\Web{\goto{\hyphenatedu
]\WebQR{\inouter[scope=local]{\barcode[alternative=qr code, text={#1},
width=10mm]}\Web{#1}}
\define[1]\WebArrow{\symbol[wingdings 3][barb1right]~{\em\hyphenatedurl{#1}}}
So I guess you’d like something like:
\define[1]\Link{\goto{\symbol[wingdings
3][barb1right]}[url(https://#1)]\autoinsertnextspace
hat regard, but just define your own
> macro.
>
> E.g. I use:
>
> \define[1]\Web{\goto{\hyphenatedurl{#1}}[url(https://#1)]\autoinsertnextspace}
> \define[1]\Email{\goto{\hyphenatedurl{#1}}[url(mailto:#1)]\autoinsertnextspace}
> \define[1]\WebQR{\inouter[scope=local]{\barco
use:
\define[1]\Web{\goto{\hyphenatedurl{#1}}[url(https://#1)]\autoinsertnextspace}
\define[1]\Email{\goto{\hyphenatedurl{#1}}[url(mailto:#1)]\autoinsertnextspace}
\define[1]\WebQR{\inouter[scope=local]{\barcode[alternative=qr code,
text={#1}, width=10mm]}\Web{#1}}
\define[1]\WebArrow{\symbol
usemodule[ipsum]
\showframe
\setuplayout[
width=100mm,
rightmargin=50mm,
rightmargindistance=6mm,
]
\setupbodyfontenvironment[11pt][
em=italicface,
text=11pt,
small=8pt,
interlinespace=14pt,
]
\definebodyfontenvironment[8pt][interlinespace=8pt]
\setupbodyfont[rm,11pt]
\define\PlaceFoot
=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{This is
space=7cm,
width=middle,
margin=5cm,
margindistance=7mm]
%\def\ColWidth{57mm}
\setupmargindata[inmargin]
[location=right,
stack=continue,
align=flushright,
]
\setupmargindata[inouter]
[location=right,
stack=continue,
Ausgabe” is much more elaborated, but also cluttered with obsolete stuff – I
> need to sort that out some time...
> (I only deleted some styling.)
>
> %%% Footnotes / Marginals
>
> \setupmargindata[inmargin][
> location=right,
> stack=continue,
> align=flushrigh
rman literature magazine “Kritische
Ausgabe” is much more elaborated, but also cluttered with obsolete stuff – I
need to sort that out some time...
(I only deleted some styling.)
%%% Footnotes / Marginals
\setupmargindata[inmargin][
location=right,
stack=continue,
align=flushright,
]
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
rgin=1.8in,
margindistance=24pt
]
\definecounter[marginales][way=bytext,prefix=no]
\def\romanMarginales{\convertnumber{r}{\rawcountervalue[marginales]}}
\def\marginal{\dosingleempty\doMarginal}
\def\doMarginal[#1]#2{%
\incrementnumber[marginales]
\iffirstargument
\high{\romanMarginales}\inouter
On 06/04/2018 08:35 PM, Marcus Vinicius Mesquita wrote:
> Thank you, Pablo.
>
> My version was from 2 of June. I updated again today, and the problem
> was solved.
I knew that you generated the PDF document with that beta.
But I don’t have that version, so I wasn’t able to check with it.
Glad
Thank you, Pablo.
My version was from 2 of June. I updated again today, and the problem was
solved.
Greetings
Marcus Vinicius
___
If your question is of interest to others as well, please add an entry to the
Wiki!
On 06/04/2018 02:25 AM, Marcus Vinicius Mesquita wrote:
> Dear list,
>
> After updating ConTeXt, commands \inmargin and \inouter do not work anymore.
Hi Marcus Vinicius,
I’m using latest beta (from 2018.06.04 12:18) and both commands work
fine. I’m on linux-64 too.
My previous bet
Dear list,
After updating ConTeXt, commands \inmargin and \inouter do not work anymore.
MWE:
\starttext
This is an example of a simple margin note set in the slanted font
of the document. If used correctly, the note \inmargin{Here is a
simple margin note.} should print on the side with the
a[inmargin][location=outer,stack=continue,align=flushleft,style={\ss\tfx}]
\setupmargindata[inouter][location=outer,stack=continue,align=flushleft,style={\ss\tfx}]
Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD
sidenotetest.tex
Description: B
in title.
> >>> - The subtitle should have an appropriate line spacing.
> >>
> >> I could solve the subtitle placement with layers.
> >>
> >> But the chapter title still has this indent. :-(
> >
> > Untested, but you have two spurious space
e subtitle placement with layers.
>>
>> But the chapter title still has this indent. :-(
>
> Untested, but you have two spurious spaces in your code
>
> \define[2]\ChapterCmd{%
> \inouter{\framed[frame=off,align=flushleft]{%
>%\startlinecorrection
>\switchto
should start on the same line as the main title.
- The subtitle should have an appropriate line spacing.
I could solve the subtitle placement with layers.
But the chapter title still has this indent. :-(
Untested, but you have two spurious spaces in your code
\define[2]\ChapterCmd{%
\inouter
backspace=21mm,
topspace=12mm,
width=117mm,
height=270mm,
header=15mm,
headerdistance=2mm,
footer=3mm,
footerdistance=4mm,
rightmargindistance=5mm,
rightmargin=55mm,
leftmargin=0mm,
grid=yes,
location=doublesided
]
\define[2]\ChapterCmd{%
{\bfa
\blank
\inright{marg}\startparagraph\input jojomayer\stopparagraph
\blank
\inouter{marg}\startparagraph\input jojomayer\stopparagraph
\ininner{marg}\startparagraph\input jojomayer\stopparagraph
\blank
\inmargin{marg}\startparagraph\input jojomayer\stopparagraph
\blank
nk
\inright{marg}\startparagraph\input jojomayer\stopparagraph
\blank
\inouter{marg}\startparagraph\input jojomayer\stopparagraph
\ininner{marg}\startparagraph\input jojomayer\stopparagraph
\blank
\inmargin{marg}\startparagraph\input jojomayer\stopparagraph
\blank
Am 2017-04-05 um 20:42 schrieb Pablo Rodriguez :
> 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 \setupmargindata[inmargin][locat
ome 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 – should
>> \setupm
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 works like this:
"
]
\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
eed to set the
alignment twice and marginframed has no method key (the source is wrong).
\definemargindata
[InOuter]
[method=first,
location=outer,
margin=margin,
width=\outermarginwidth,
style=\tf,
stack=continue,
align={normal,hanging,morehyphenation,hz,verytolera
need to set the
alignment twice and marginframed has no method key (the source is wrong).
\definemargindata
[InOuter]
[method=first,
location=outer,
margin=margin,
width=\outermarginwidth,
style=\tf,
stack=continue,
align={normal,hanging,morehyphenation,hz,verytolerant,stretch
ce and marginframed has no method key (the
source is wrong).
\definemargindata
[InOuter]
[method=first,
location=outer,
margin=margin,
width=\outermarginwidth,
style=\tf,
stack=continue,
align={normal,hanging,morehyphenation,hz,verytolerant,stretch}]
\definemargindata
[I
Joseph Canedo
From: josephcan...@gmail.com
Sent: Friday, May 6, 2016 6:49 PM
To: ntg-context@ntg.nl
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
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
sample and it seems the margin notes stay stacked but not
nearby the line I insert them in the text, which is what I
am looking for. Is there a way to achieve this using notes ?
Otherwise I assume that there is a bug with \ininner \inouter then ?
Also I noticed there is a \ininnermargin, but
nearby the line I insert them in the text, which is what I
am looking for. Is there a way to achieve this using notes ?
Otherwise I assume that there is a bug with \ininner \inouter then ?
Also I noticed there is a \ininnermargin, but I was curious to know what’s the
difference with \ininner
\ininner \inouter then ?
Also I noticed there is a \ininnermargin, but I was curious to know what’s the
difference with \ininner.
Thanks a lot
Joseph
From: Wolfgang Schuster
Sent: Friday, December 11, 2015 1:13 PM
To: ntg-context@ntg.nl
josephcan...@gmail.com
10. Dezember
josephcan...@gmail.com <mailto:josephcan...@gmail.com>
10. Dezember 2015 um 11:04
Dear all,
Another problem appears if using both \inouter and \ininner to have
notes in both sides. Apparently when doing so the stack=continue does
not work any longer. I see margin notes overlapping a
Dear all,
Another problem appears if using both \inouter and \ininner to have notes in
both sides. Apparently when doing so the stack=continue does not work any
longer. I see margin notes overlapping and not being stacked.
If the “left note” is removed the right side notes are stacked
Dear all,
I am trying to add margin notes and for some reason I do not understand when
having them in the main text, the main text which normally would be fully
justified (without notes) is now aligned to left, but right side is erratic. I
attach a simple MWE showing this.
If you disable the
\starttext
\dorecurse{20}
{\margindata[inouter]{Knuth}
%\margindata[inleft]{Knuth}
\input knuth\par}
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
1cm,rightmargindistance=0.4cm,rightmargin=3.5cm]
\setuppagenumbering[alternative=doublesided,location=]
\starttext
\setuplayout[WithMarginnotes]
\dorecurse {6} {
\ininner[stack=yes]{\expanded{\dorecurse{2}{IM\recurselevel\space}}}%
\inouter[stack=yes]{\expanded{\dorecurse{3
Thanks Hans. I used "ininner" instead of "innermargin" and "inouter" instead of "outermargin" as keys.Is there a difference between "inright" and "rightmargin"?Cheers,Tim On 1 oktober 2013 at 22:35:29, Hans Hagen (pra...@wxs.nl) w
:
Hi Hans,
Is it possible to fix the "inouter" and "ininner" directives too?
"inright" and "inleft" work as expected.
afaik
\setuppagenumbering
[alternative=doublesided]
\setuplayout
[backspace=5cm,
width=middle]
\starttext
\dorecurse{4}
Hi Hans,Is it possible to fix the "inouter" and "ininner" directives too? "inright" and "inleft" work as expected.Cheers,Tim On 18 september 2013 at 10:51:29, Tim Steenvoorden (tim.steenvoor...@gmail.com) wrote: Thanks Hans!Cheers,Tim On 17 september 201
ion=section-8,number=no]
\defineheadalternative
[myheader]
[alternative=horizontal,
renderingsetup=setup:myheader]
\startsetups [setup:myheader]
\inouter{\headtextcontent}
\stopsetups
\setuplist[chapter][style=bold,before=\blank,alternative=b,width=1.5em,color=HeadColor]
\setuplist[section]
ve=myheader,
section=section-8]
\defineheadalternative
[myheader]
[alternative=horizontal,
renderingsetup=setup:myheader]
\startsetups [setup:myheader]
\inouter{\headtextcontent}
\stopsetups
\starttext
\inouter{Hasselt makes headlines}
\input tufte
\myheader{Hasselt makes he
n-8]
\definehead[myheader][][number=no,before=,style=\bf,aligntitle=yes,section=section-8]
\starttext
\inouter{Hasselt makes headlines}
\input tufte
\inouter{\myheader{Hasselt makes headlines}}
\input tufte
\stoptext
___
If y
idth=10cm,
rightmargin=5cm]
\setupmargindata
[inouter]
[location=outer,
stack=continue]
\definefloat
[marginfigure]
[marginfigures]
[figure]
\setupfloat
[marginfigure]
[default=margin]
\definefloat
[m
have a problem with margin texts in combination with multiple columns using
> mkiv. I want to set a text in the outer margin of a double sided document.
> This works well using \inouter as seen in the following document:
>
> ---
> \setuppagenumbering[alternative=doublesided]
>
&
Hello,
I have a problem with margin texts in combination with multiple columns using
mkiv. I want to set a text in the outer margin of a double sided document. This
works well using \inouter as seen in the following document:
---
\setuppagenumbering[alternative=doublesided]
\starttext
Hello,
I have a problem with margin texts in combination with multiple columns using
mkiv. I want to set a text in the outer margin of a double sided document. This
works well using \inouter as seen in the following document:
---
\setuppagenumbering[alternative=doublesided]
\starttext
tParagraph[#1]%
{\getrawparameters[Paragraph][heading=,mark=,#1]%
\incrementnumber[ParagraphNumber]%
\ininner{\tfx\getnumber[ParagraphNumber]}%
\doifsomething\Paragraphheading{\inouter{\Paragraphheading}}%
\doifsomething\Paragraphmark{\expanded{\textreference[\Paragraphmark]{\fullheadnumb
On 10-5-2012 12:15, Peter Schorsch wrote:
Hi,
I am using \ininner and \inouter to set text into the margins. As soon
I also use duplex the margins are messed up at every second page.
Unluckily the [stack=continue] option does not help.
I put an example incl. pictures of the results on my user
Hi,
I am using \ininner and \inouter to set text into the margins. As soon
I also use duplex the margins are messed up at every second page.
Unluckily the [stack=continue] option does not help.
I put an example incl. pictures of the results on my user talk page on
the wiki:
http
s provide a good solution for this style. I am wondering if
>>> this is possible to do in context.
>>>
>>> I am also curious to know simple way to do multiple float style in
>>> ConTeXt (like graphics spanning text and margin and many others).
>>>
>&g
in context.
>>
>> I am also curious to know simple way to do multiple float style in
>> ConTeXt (like graphics spanning text and margin and many others).
>>
>> Yue Wang
>
> Well, I am no powerful ConTeXt user, but \inmargin and derivatives
> (\inouter \ininner
(like graphics spanning text and margin and many others).
>
> Yue Wang
Well, I am no powerful ConTeXt user, but \inmargin and derivatives
(\inouter \ininner \inright \inleft) have an option stack=yes to avoid
overlapping and stack=continue to avoid ... overlapping. As I understand
it, the
> \inright{INRIGHT}
>
> \input ward
>
> \ininner{INNER}
> \inouter{OUTER}
>
> \input ward
>
> \stoptext
>
> What has changed is how to defined a new command (\defineinmargin vs.
> \definemargindata)
> and how to cu
starttext
\input ward
\inmargin{INMARGIN}
\input ward
\inleft {INLEFT}
\inright{INRIGHT}
\input ward
\ininner{INNER}
\inouter{OUTER}
\input ward
\stoptext
What has changed is how to defined a new command (\defineinmargin vs.
\definemargindata)
and how to customize these commands (\setupin
X X X X X}\inouter{M M M M M M M M M M M
M }\input tufte
\ininner{X X X X X X X X X X X X}\inouter{M M M M M M M M M M M
M }\input tufte
\ininner{X X X X X X X X X X X X}\inouter{M M M M M M M M M M M
M }\input tufte
But as soon I add between every two lines an empty line the margin on
every
Hi,
sorry that I repeat my question but I have really no idea how to solve
this.
When I use \ininner and \inouter directly, always the correct
width is used.
\ininner{X X X X X X X X X X X X}\inouter{M M M M M M M M M M M
M }\input tufte
But as soon I put it into a function the
Hi,
the width of my inner and outer margin are different and the pagelayout
is double sided.
When I use \ininner and \inouter directly, always the correct width is
used. But as soon I put it into a function the wrong margin width is
often used.
I attached two files:
- simple example tex
On 6-10-2010 4:18, Thomas A. Schmitz wrote:
\defineinmargin [MyOuter] [outer] [normal] [distance=1cm]
\starttext
test \MyOuter{1}test
\stoptext
\def\domarginblockskip#1%
{\doifelsenothing\margincontentdistance
{\hskip\dimexpr
+\margincontenthoffset
+\compensatedinnermake
OK, another question, hopefully less stupid:
\defineinmargin [MyOuter] [outer] [normal] [distance=1cm]
\starttext
test \MyOuter{1}test
\stoptext
gives
! You can't use `\dimexpr' in restricted horizontal mode.
but the definition is taken from page-mar.mkiv
Thomas
_
On Oct 6, 2010, at 3:57 PM, Wolfgang Schuster wrote:
> It’s “D’oh” :)
>
> Wolfgang
\dorecurse{2}{D'oh!}
Thomas
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : nt
Am 06.10.2010 um 15:48 schrieb Thomas A. Schmitz:
>
> On Oct 6, 2010, at 3:39 PM, Hans Hagen wrote:
>
>> \setuppagenumbering
>> [alternative=doublesided]
>>
>> inner/outer tracking only kicks in when in doublesided mode
>
> DUH! (to quote a well-known cartoon character).
It’s “D’oh” :)
Wolf
On Oct 6, 2010, at 3:39 PM, Hans Hagen wrote:
> \setuppagenumbering
> [alternative=doublesided]
>
> inner/outer tracking only kicks in when in doublesided mode
DUH! (to quote a well-known cartoon character). Of course! I thought my
location=doublesided in \setuplayout did this, but I was wron
On 6-10-2010 1:04, Thomas A. Schmitz wrote:
\setuppapersize[A6][A6]
\setuplayout
[width=middle,
height=middle,
backspace=3cm,
margin=1.5cm,
location=doublesided]
\setuplayout
[width=middle,
height=middle,
backspace=3cm,
margin=1.5cm]
\setuppagenumbering
[altern
Dear gang,
consider the following:
\setuppapersize[A6][A6]
\setuplayout
[width=middle,
height=middle,
backspace=3cm,
margin=1.5cm,
location=doublesided]
\starttext
This nation, \inouter{1}turning 100 years old, had no {\em Odyssey}, no
St.~George slaying the dragon, no
ed
\in{text}{text}[reference]
# \includeFLOWchart
# \includemenu
# \increment
\indentation
\indenting[options]
\inframed[settings]{text}
\ininner[+|-|low][reference]{text}
\inleft[+|-|low][reference]{text}
\inline[reference]
\inmargin[+|-|low][reference]{text}
\inothermargin[+|-|low][reference]{text}
On Wed, 28 Feb 2007, Henning Haeske wrote:
>>text text text \inouter{abc} text text
>
> thanks taco, that works for the margintext :-). Now only the the probem with
> the outermargin is left. - till now, the outermargin is always at the right
> site, instead of flipping left
>text text text \inouter{abc} text text
thanks taco, that works for the margintext :-). Now only the the probem with
the outermargin is left. - till now, the outermargin is always at the right
site, instead of flipping left/right.
H.
___
Henning Haeske wrote:
>
> I am looking for a solution to have the 4cm-margin and the margintext always
> at the outer side.
Try:
text text text \inouter{abc} text text
Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://w
84 matches
Mail list logo