w}{\externalfigure[cow][
width=3cm,
%width=2cm,
]}
\placefigure[inleft]{A Cow}{\externalfigure[cow][width=2cm]}
\placefigure[inright]{A Cow}{\externalfigure[cow][width=2cm]}
\stoptext
Just in cas
bodyfont[modern, 12.50pt]
If these lines are irrelevant for the issue you are experiencing, please
don’t include them.
> \definemargindata [MyInMargin][inleft]
> \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm]
You define this margin framed, but you
, 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
> > in slightly smaller font size compared to the regular text in the
> > document?
>
> \setupmargindata
> [inleft]
> [style=\tfx]
>
> Marco
>
> ___
> If your question
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
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
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. C
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
are irrelevant for the issue you are experiencing, please
don’t include them.
> \definemargindata [MyInMargin][inleft]
> \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm]
You define this margin framed, but your sample makes no use of it.
S
[MyInMargin][inleft]
\definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm]
\defineenumeration
[theorem]
[
text=Theorem,
title=yes,
width=fit,
distance=0.2em,
alternative=serried,
]
\definetextbackground[GrayBackground][
location
{{\bf #1}\inmargin{\it #2}\ (#3).\crlf
{\bf #4}, #5.\blank[small]}}
doesn’t work as expected.
My modification
\define[5]\EDUITEM{ \inleft{\bf #1}
{{\it #2}\ (#3).\crlf
{\bf #4}, #5.\blank[small]}}
Then it seems to work
{Me}
\blackrule[color=black, height=0.5ex, width=1cm]
\stoptext
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
What i want is a\blackrule over the margintext, but i do not get what I
wantend.
\definemargindata [MyInMargin][inleft]
\definemarginframed[MyInMargin][topframe=on,bottomframe
panded twice. This interferes badly with the things I want to happen.
>
> No, the content is stored in a box and placed later.
>
> \definecounter[test]
>
> \starttext
>
> \dorecurse{10}
> {\inleft{\incrementedcounter[test]}Line \recurselevel\par}
>
> \st
is that macro expansions inside the {}'s
are expanded twice. This interferes badly with the things I want to happen.
No, the content is stored in a box and placed later.
\definecounter[test]
\starttext
\dorecurse{10}
{\inleft{\incrementedcounter[test]}Line \recurselevel\par}
\stoptext
Tracing
ed testing and discovered what is certainly a
bug. Here’s a new example:
#
# \setbreakpoints [compound]
#
# \definelinenumbering
#[original]
#[style=\tx\ss,distance=-1ex,step=5,location=inleft,start=10,color=darkred]
#
# \definelinenumbering
#[translation]
#[style=\tx\ss,distance=-1e
’s bonus
question. But I have continued testing and discovered what is certainly a bug.
Here’s a new example:
\setbreakpoints [compound]
\definelinenumbering
[original]
[style=\tx\ss,distance=-1ex,step=5,location=inleft,start=10,color=darkred]
\definelinenumbering
[translation]
[sty
]
#[style=\ss,
# distance=-2ex,
# step=2,
# location=inleft,
# start=20,
# color=darkblue]
#\startlinenumbering[One]
#\input knuth
#\stoplinenumbering
#
# \blank [line]
#
#\definelinenumbering[Two]
#\setuplinenumbering[Two
the problem:
\starttext
% This works:
\definelinenumbering[One]
\setuplinenumbering[One]
[style=\ss,
distance=-2ex,
step=2,
location=inleft,
start=20,
color=darkblue]
\startlinenumbering[One]
\input knuth
\stoplinenumbering
\blank [line
xx. Xxx x, \inleft{z} x xx x
xx x xx xxx xx x, xxx xx
xxx xxx xxx xx xxx xx Xxxx , xxx
x xx x xx . Xxx x
xxx xxx xxx
Taa aaa aa a aa aaa aa aa
aa. Taa a\inleft{>}, a aa a
aa a aa aaa a aaa,
\inright{<} a aa a aa, aaa aa
aaa
indent when the label is at the beginning of
a paragraph and fails to print the label or generate references
with alternative=inmargin (or inright, or inleft) when in a footnote.
\defineenumeration fails to work in a footnote.
use
\ID ... \par
as it has to know where it ends which is a paragraph
of a
paragraph and fails to print the label or generate references with
alternative=inmargin (or inright, or inleft) when in a footnote.
\defineenumeration fails to work in a footnote.
use
\ID ... \par
as it has to know where it ends which is a paragraph end
or use
\startID ... \stopID
the label or generate references with
alternative=inmargin (or inright, or inleft) when in a footnote.
\defineenumeration fails to work in a footnote.
use
\ID ... \par
as it has to know where it ends which is a paragraph end
or use
\startID ... \stopID
\setupindenting[yes,small
with
alternative=inmargin (or inright, or inleft) when in a footnote.
\defineenumeration fails to work in a footnote.
use
\ID ... \par
as it has to know where it ends which is a paragraph end
or use
\startID ... \stopID
\setupindenting[yes,small]
\definelabel [ID][
%\defineenumeration[ID
Bump.
On 2015-08-11 14:45, Rik Kabel wrote:
The example below documents the problems. In short, \definelabel
suppresses paragraph indent when the label is at the beginning of a
paragraph and fails to print the label or generate references with
alternative=inmargin (or inright, or inleft) when
jojomayer
\blank
\inmargin{marginal\\data\blank}\input jojomayer
\inleft{L}test
\inright{R}test
\definemargindata[Xinleft] [width=3cm,location=left, align=flushleft]
\definemargindata[Xinright][width=3cm,location=right,align=flushright]
\Xinleft {L}test
\Xinright{R
with \startparagraph and sectioning commands (other
margindata are fine):
\setuphead
[chapter]
[alternative=margintext]
\starttext
\chapter{Chapter}
\startparagraph\input jojomayer\stopparagraph
\blank
\inleft{marg}\startparagraph\input jojomayer\stopparagraph
\startparagraph and sectioning commands (other
margindata are fine):
\setuphead
[chapter]
[alternative=margintext]
\starttext
\chapter{Chapter}
\startparagraph\input jojomayer\stopparagraph
\blank
\inleft{marg}\startparagraph\input jojomayer\stopparagraph
\bla
[\v!fit]
[\v!middle]
[\c!backspace=\dimexpr\layoutparameter\c!leftmargin+\layoutparameter\c!leftmargindistance\relax,
\c!cutspace=\dimexpr\layoutparameter\c!rightmargin+\layoutparameter\c!rightmargindistance\relax]
>
>>
>> \setuppapersize[A5][
\starttext
Foo\page Bar\inleft{Foobarb}
\stoptext
Aditya
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg
> onesided typesetting.
>
>
> \setuppapersize[A5][A4,landscape]
> \setuppaper[nx=2]
> \setuparranging[XY]
>
> \showframe
>
> \starttext
> Foo\page Bar\inleft{Foobarb}
> \stoptext
>
> >
> >
> > Aditya
> > ___
rmore it doesn't make sense to have a non-centred text block for
onesided typesetting.
\setuppapersize[A5][A4,landscape]
\setuppaper[nx=2]
\setuparranging[XY]
\showframe
\starttext
Foo\page Bar\inleft{Foob
]
\hideblocks[answer]
\def\myanswer[#1]{\inleft{\in[#1]\reference[A:#1]{\in[#1]}}}
\def\myheadcommand#1{\goto{Question #1}[A:\currentconstructionreference]}
\defineenumeration[question][
text=,
title=yes,
titlestyle=,
titlecolor=black,
headcommand={\myheadcommand},
headstyle={\sc},
headcolor
ences-show]
>
> \setupinteraction[state=start,color=,contrastcolor=,style=]
>
> \defineblock[answer]
> \hideblocks[answer]
>
> \def\myanswer[#1]{\inleft{\in[#1]\reference[A:#1]{\in[#1]}}}
>
>
> \defineenumeration[exercise][
> text=Question,
> title=yes,
>
\usemodule[references-show]
\setupinteraction[state=start,color=,contrastcolor=,style=]
\defineblock[answer]
\hideblocks[answer]
\def\myanswer[#1]{\inleft{\in[#1]\reference[A:#1]{\in[#1]}}}
\defineenumeration[exercise][
text=Question,
title=yes,
titlestyle=,
titlecolor=black,
headstyle={\sc},
r instance, but something
>>> does not work…).
>>>
>>> Le me know if you find a satisfactory solution…
>>>
>>> Best regards: OK
>>> %%% begin interactive-question-answer.tex
>>> \setupinteraction[state=start,color=,contrastcolor=,style=]
>>>
>
factory solution…
Best regards: OK
%%% begin interactive-question-answer.tex
\setupinteraction[state=start,color=,contrastcolor=,style=]
\defineblock[answer]
\hideblocks[answer]
\def\myanswer[#1]{\inleft{\in[#1]\reference[A:#1]{\in[#1]}}}
\define[1]\AnswerToQuestion{Question \goto{(see Solution)}[A
e=start,color=,contrastcolor=,style=]
>
> \defineblock[answer]
> \hideblocks[answer]
>
> \def\myanswer[#1]{\inleft{\in[#1]\reference[A:#1]{\in[#1]}}}
>
> \define[1]\AnswerToQuestion{Question \goto{(see Solution)}[A:Q:#1]}
>
> \define[1]\StartQuestion{\startquestion[reference=Q:
\setupinteraction[state=start,color=,contrastcolor=,style=]
\defineblock[answer]
\hideblocks[answer]
\def\myanswer[#1]{\inleft{\in[#1]\reference[A:#1]{\in[#1]}}}
\define[1]\AnswerToQuestion{Question \goto{(see Solution)}[A:Q:#1]}
\define[1]\StartQuestion{\startquestion[reference=Q:#1,title={\AnswerToQuestion
"Question 1.1"
>> clickable with that target.
>>
>> I hope I make myself clear. If it matters, in the solution one could
>> assume that the optional tag of the \startquestion \stopquestion is
>> given for all questions.
>>
>> Best re
lor=,contrastcolor=,style=]
>
> \defineblock[answer]
> \hideblocks[answer]
>
> \def\myanswer[#1]{\inleft{\in[#1]\reference[A:#1]{\in[#1]}}}
>
> \defineenumeration[question][
> text=Question,
> headcolor=darkred,
> width=fit,
> number=yes,
> prefix=yes,
> prefixseg
tart,color=,contrastcolor=,style=]
\defineblock[answer]
\hideblocks[answer]
\def\myanswer[#1]{\inleft{\in[#1]\reference[A:#1]{\in[#1]}}}
\defineenumeration[question][
text=Question,
headcolor=darkred,
width=fit,
number=yes,
prefix=yes,
prefixsegments=section,
]
\starttext
\section{A section with
>
> Not with linenumbering, what you need is counter which is inserted at the
> begin of each line.
>
> \definelabel[algorithmicline][text=,alternative=inleft]
>
> \definelines[algorithmic][command=\algorithmicline]
>
> \setuplayout[width=4cm]
>
> \showframe[text][te
efinelabel[algorithmicline][text=,alternative=inleft]
\definelines[algorithmic][command=\algorithmicline]
\setuplayout[width=4cm]
\showframe[text][text]
\starttext
\startalgorithmic
text
text text text text text text text text text text text text
text
\stopalgori
e from \section in your example you can add
the "reset" keyword to \switchtobodyfont.
\def\MarkMasterA{\margindata[inleft][style={\switchtobodyfont[reset,9pt]},color=red]{Master}}
Wolfgang
___
If your questio
][alternative=inleft]
\MyLabel[labelname1] This is some text after \in[labelname1].
\blank
\MyLabel[labelname2] This is some text after \in[labelname2].
\blank
\setuplabel[MyLabel][alternative=inright]
\MyLabel[labelname1] This is some text after \in[labelname1
The example below documents the problems. In short, \definelabel
suppresses paragraph indent when the label is at the beginning of a
paragraph and fails to print the label or generate references with
alternative=inmargin (or inright, or inleft) when in a footnote.
\defineenumeration fails
Hi,
margindata have stopped to work in the latest beta. Simple test
\setuplayout [leftmargin=2cm]
\starttext
Thus, I came to the conclusion that the designer of a new
system must not only be the implementer and first
large-scale \inleft{100}user; the designer should also write the first
user
thomas.schm...@uni-bonn.de
wrote:
Hi,
margindata have stopped to work in the latest beta. Simple test
\setuplayout [leftmargin=2cm]
\starttext
Thus, I came to the conclusion that the designer of a new
system must not only be the implementer and first
large-scale \inleft{100}user
\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 : ntg
?
Thanks,
Brian
\setuppapersize[letter,portrait][letter,portrait]
\setupcaption[figure][location=top,align={flushleft}]
\showframe
\starttext
\setuplayout[backspace=2.75in,leftmargin=2.25in,rightmargin=0.5in,cutspace=0.5in,location=middle,width=middle,margindistance=0.00in]
\placefigure[inleft
appear in the middle.
This is what I have this far:
\setupwhitespace[medium]
\starttext
\inmargin{\externalfigure[warning]}
\input tufte
\inmargin{\externalfigure[warning]}
Really short paragraph.
\inleft{
\placefigure[none][]{}
{\externalfigure[warning]}
}
\input
are footnotes that occur in footnotes of class 2.
\definenote[NoteA]
\definenote[NoteB]
\definenote[NoteC]
\starttext
Text for the \NoteA{A\margintext[scope=local]{Where am I?} footnote A.}
main\inleft{I am here.} body.
Text for the \NoteB{B\margintext[scope=local]{Where am I?} footnote B
]
\starttext
Text for the \NoteB{B\margintext[scope=local]{Where am I?} footnote
\NoteC{C footnote C.} B.} main body.
Text for the \NoteA{A first footnote A.} main\inleft{I am here.} body.
Text for the \NoteA{A second footnote A.} body.
\stoptext
==
This seems related to an even
?
no, unrelated, try this:
\setuphead
[section]
[after={\strut\blank[-2*line,samepage,disable]},
command=\SectionCommand,
distance=0pt]
\define[2]\SectionCommand{\inleft{XX}}
That was fine until it ran into \setupwhitespace with a non-zero value.
Fiddling with the after key \blank
*line,samepage,disable]},
command=\SectionCommand,
distance=0pt]
\define[2]\SectionCommand{\inleft{XX}}
That was fine until it ran into \setupwhitespace with a non-zero value.
Fiddling with the after key \blank does not appear to help.
\define[2]\MarginHead{\inmargin{#1\\#2
[section]
[after={\strut\blank[-2*line,samepage,disable]},
command=\SectionCommand,
distance=0pt]
\define[2]\SectionCommand{\inleft{XX}}
That was fine until it ran into \setupwhitespace with a non-zero value.
Fiddling with the after key \blank does not appear to help.
\define
]\SectionCommand{\inleft{XX}}
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
=\SectionCommand,
distance=0pt]
\define[2]\SectionCommand{\inleft{XX}}
That was fine until it ran into \setupwhitespace with a non-zero value.
Fiddling with the after key \blank does not appear to help.
\define[2]\MarginHead{\inmargin{#1\\#2}}
\setuphead[section
][#COLOR][#ORDER]
\doifemptyelse{#RULE}
{\def\Rule{2}}% default rule
{\def\Rule{#RULE}}
\doifemptyelse{#COLOR}
{\def\Color{green}}%default color
{\def\Color{#COLOR}}
\ifthirdargument
\inleft{Read
}}% default rule
{\def\Rule{#RULE}}
\doifemptyelse{#COLOR}
{\def\Color{green}}%default color
{\def\Color{#COLOR}}
\ifthirdargument
\inleft{Read\\this\\#ORDER}
\fi
\setupmarginrule[\Rule][rulecolor=\Color
]},
location=inleft,
number=no,
]
The triangle was automatically aligned toward the right side of the left
margin (fill glue on the left), which was what I wanted, on even and odd
pages.
In MkIV, the marginal text is automatically aligned to the left side.
I restored the MkII effect using this hack
]
[title=no,
text={\externalfigure[fig.2][height=1em]},
location=inleft,
number=no,
]
The triangle was automatically aligned toward the right side of the left
margin (fill glue on the left), which was what I wanted, on even and odd
pages.
In MkIV, the marginal text
Wolfgang Schuster schuster.wolfg...@gmail.com writes:
\defineenumeration
[pause]
[title=no,
text={\symbol[triangle]},
width=fit,
number=no,
alternative=inleft]
Thank you. That works beautifully. Is my understanding right, that
width=fit is what makes the head (here
Am 04.03.2014 um 01:31 schrieb S Barmeier severinbarme...@googlemail.com:
I am trying to compile a 2-year-old mkiv document with the latest beta
and am getting an error on the line
\inleft[style=bold,stack=continue]
Two years ago, stacking of margin notes was still experimental, so I'm
I am trying to compile a 2-year-old mkiv document with the latest beta
and am getting an error on the line
\inleft[style=bold,stack=continue]
Two years ago, stacking of margin notes was still experimental, so I'm
guessing something has changed since then. What is the correct way these
days
11:46 AM, Tim Steenvoorden wrote:
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=m
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
/2013 11:46 AM, Tim Steenvoorden wrote:
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
On 2013–08–04 Tim Steenvoorden wrote:
\starttext
\input knuth
\placefigure[left]{}{\externalfigure[figurename]}
\input knuth
\placefigure[inner]{}{\externalfigure[figurename]}
What do you want to do? Place it in the margin?
\placefigure[inleft]{}{\externalfigure[figurename]}
Marco
Steenvoorden wrote:
\starttext
\input knuth
\placefigure[left]{}{\externalfigure[figurename]}
\input knuth
\placefigure[inner]{}{\externalfigure[figurename]}
What do you want to do? Place it in the margin?
\placefigure[inleft]{}{\externalfigure[figurename]}
Marco
it in the margin?
\placefigure[inleft]{}{\externalfigure[figurename]}
With the “inner” and “outer” keywords context uses
the “left” and “right” locations dependent on the page.
The feature doesn’t work in MkIV because two commands
are processed in the wrong order.
Wolfgang
]{}{\externalfigure[figurename]}
\input knuth
\placefigure[inner]{}{\externalfigure[figurename]}
What do you want to do? Place it in the margin?
\placefigure[inleft]{}{\externalfigure[figurename]}
With the “inner” and “outer” keywords context uses
the “left” and “right” locations dependent
Hi,
As I needed it for a (long-term) manual I redid \averagewidth:
\mainlanguage[de]
\hsize65\averagecharwidth \normalexpanded{\inleft{\the\hsize}}
(not that german but anyway) \input ward \par
Frequency tables are now in lang-frq-code.lua so feel free to
come up with more.
(no beta
Dear list,
I want to have the effect I get with \placefigure[margin] but I want it
_always_ in the left margin instead of the right margin where it ends up by
default. I have tried several other keys but with leftmargin, inleft the
figure is not put in the top of the page, independent of the text
, inleft the
figure is not put in the top of the page, independent of the text. Can I
fix this with some setup?
Small test file:
\setupmarginblocks
[location=left]
\starttext
\input tufte
\placefigure[leftmargin][none]{With the key
leftmargin}{\externalfigure[cow][width=1cm
margin where it ends up by
default. I have tried several other keys but with leftmargin, inleft the
figure is not put in the top of the page, independent of the text. Can I
fix this with some setup?
Small test file:
\setupmarginblocks
[location=left]
\starttext
\input tufte
with \placefigure[margin] but I want it
_always_ in the left margin instead of the right margin where it ends up by
default. I have tried several other keys but with leftmargin, inleft the
figure is not put in the top of the page, independent of the text. Can I
fix this with some setup?
Small test
. Sundqvist mic...@gmail.com:
Dear list,
I want to have the effect I get with \placefigure[margin] but I want it
_always_ in the left margin instead of the right margin where it ends up by
default. I have tried several other keys but with leftmargin, inleft the
figure is not put in the top
real file I
use \defineinmargin, btw.)
\starttext
\underbar{Test Test Test\footnote{footnote}~Test Test Test\par
Test\inleft{marginal} Test Test Test Test Test \par}
\stoptext
(As one can see, there’s also an issue with the footnote-sign breaking the
continued line, which is not urgent
underlined? I tried
putting the note-command in a group, simplifying its content etc. (In my
real file I use \defineinmargin, btw.)
\starttext
\underbar{Test Test Test\footnote{footnote}~Test Test Test\par
Test\inleft{marginal} Test Test Test Test Test \par}
\stoptext
(As one can see
Test\inleft{marginal} Test Test Test Test Test \par}
\stoptext
(As one can see, there’s also an issue with the footnote-sign breaking the
continued line, which is not urgent for me, at least by now.)
Footnotes disable the rule with the \resetallattributes command but it’s up
to Hans
.)
\starttext
\underbar{Test Test Test\footnote{footnote}~Test Test Test\par
Test\inleft{marginal} Test Test Test Test Test \par}
\stoptext
(As one can see, there’s also an issue with the footnote-sign breaking
the continued line, which is not urgent for me, at least by now.)
Footnotes
in a group,
simplifying its content etc. (In my real file I use
\defineinmargin, btw.)
\starttext
\underbar{Test Test Test\footnote{footnote}~Test Test Test\par
Test\inleft{marginal} Test Test Test Test Test \par}
\stoptext
in a group, simplifying its content etc. (In my real file I use
\defineinmargin, btw.)
\starttext
\underbar{Test Test Test\footnote{footnote}~Test Test Test\par
Test\inleft{marginal} Test Test Test Test Test \par}
\stoptext
(As one can see, there’s also an issue with the footnote-sign breaking
…
\starttext
\underbar{%
Test Test Test\footnote{footnote}~Test Test Test\par
Test\inleft{marginal} Test Test Test Test Test \par
}
\stoptext
Any help is very much appreciated!
Daniel
___
If your question
difficult as it does
work with footnotes, but I have no clue where to start…
\starttext
\underbar{%
Test Test Test\footnote{footnote}~Test Test Test\par
Test\inleft{marginal} Test Test Test Test Test \par
}
\stoptext
Any help is very much appreciated!
Daniel
Test\footnote{footnote}~Test Test Test\par
Test\inleft{marginal} Test Test Test Test Test \par}
\stoptext
(As one can see, there’s also an issue with the footnote-sign breaking
the continued line, which is not urgent for me, at least by now.)
Cheers,
Daniel
).
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 former is for shorter margin notes, the latter for use with
paragraph
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 former
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 \inright \inleft) have an option stack=yes to avoid
overlapping and stack=continue to avoid
context aware of my changes.
You can use the annotation module:
\usemodule[annotation]
\define[2]\EnumerationCommand
{\inleft[scope=local,style=normal]{\placeannotationnumber}%
\placeannotationtext\doifsomething{\placeannotationtitle}{\space(\placeannotationtitle)}:\space
On 10-3-2012 05:37, S Barmeier wrote:
I was expecting this to work:
\setuplayout[
width=10cm,
backspace=10cm,
leftmargin=8cm
]
\starttext
\inleft[stack=yes]{
\input tufte
}
\input tufte
\inleft[stack=yes]{
\input tufte
}
\stoptext
but it doesn't stack. Also
]
\define[2]\EnumerationCommand
{\inleft[scope=local,style=normal]{\placeannotationnumber}%
\placeannotationtext\doifsomething{\placeannotationtitle}{\space(\placeannotationtitle)}:\space
\placeannotationcontent}
\defineannotation[definition][text=Definition,alternative=command,command
I was expecting this to work:
\setuplayout[
width=10cm,
backspace=10cm,
leftmargin=8cm
]
\starttext
\inleft[stack=yes]{
\input tufte
}
\input tufte
\inleft[stack=yes]{
\input tufte
}
\stoptext
but it doesn't stack. Also, is it correct that stack=yes belongs
\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 (\setupinmargin vs
point me to a reference. (I
searched the garden without success.)
You place them in the same way as you did it in the past:
\starttext
\input ward
\inmargin{INMARGIN}
\input ward
\inleft {INLEFT}
\inright{INRIGHT}
\input ward
\ininner{INNER}
\inouter{OUTER}
\input ward
but it does not work:
\setuppapersize[A5][A4]
\setuppagenumbering[alternative=doublesided, location=inleft]
\setuplayout [marking=on, location=middle]
\showframe
\definelayout [odd][topspace=5cm,backspace=0cm]
\definelayout [even][topspace=0cm,backspace=0cm]
\definelayout [newLayout] [topspace=2cm
I first want to use layouts for odd and even pages
and then I want to use a newLayout
but it does not work:
\setuppapersize[A5][A4]
\setuppagenumbering[alternative=doublesided, location=inleft]
\setuplayout [marking=on, location=middle]
\showframe
\definelayout [odd][topspace=5cm,backspace
1 - 100 of 210 matches
Mail list logo