indentedtext
Command/ startitemgroup
Command/ startlabeltext
Command/ startlinenote
Command/ startlines
Command/ startmakeup
Command/ startmathalignment
Command/ startmathcases
Command/ startmathmatrix
Command/ startmixedcolumns
Command/ startnarrower
Command/ startnote
Command/ startpagecolumns
Command/ sta
aufzuschreiben.”
\blank
\startnarrower[left, right]
Der\hspace[oneem] Wert \hspace[oneem] von \hspace[oneem]
\m{y = f(x)} ist unabhängig von der Wahl
von \m{x\doubleprime} ist gleichbedeutend mit \m{∃y : ∀x : f(x) = y}
(Beutelspacher [10, S.54])
\blank
\stopnarrower
\stopmyBG
\blank
\blackrule
erkennen, dass
ein \m ∃\forall∀ oder ein \m \forall∀\m∃ versteckt ist. Dann ist es besonders
wichtig, die
Formulierung sehr lange zu prüfen und eventuell auch formalisiert
noch einmal aufzuschreiben.”
\blank
\setupnarrower [left=0.80cm, right=0.80cm]
\startnarrower[left, right]
\definehspace[oneem
avec des références en
notes de bas de page, qui contiennent du grec. Cela pourrait être
quelque chose comme ceci :
\blank\startnarrower[1*left,1*right]\tfx\setupinterlinespace
\noindent \quotation{Ἔφη γάρ οἱ Σωκράτη ἐντυχεῖν λελουμένον τε καὶ τὰς
βλαύτας ὑποδεδεμένον, ἃ ἐκεῖνος ὀλιγάκις ἐποίε
y? The right command? And
> using \startnarrower, \stopnarrower?
Narrower refers to margins. Extra space between words would be something
different (at least, as far as I get it).
That being said, I have no idea how to get different inter-word spacing.
: The first paragraph should be normal
written, but the second one should have more space between the words. Because
of Math: Is \hspace the right way? The right command? And using \startnarrower,
\stopnarrower?
Many thanks
Uschi
Dear Hraban,
It was \startnarrower \stopnarrower, I put it out, now it is perfekt. I also
send the pdf.
Many thanks.
Uschi
-Ursprüngliche Nachricht-
Von: Henning Hraban Ramm
Gesendet: Dienstag, 05. Dezember 2023 15:47
An: ntg-context@ntg.nl
Betreff: [NTG-context] Re: Colored
Hi Uschi,
unfortunately you also forgot the source code.
I’m not sure if the examples in the wiki are good – the combination with
\startnarrower might be a problem.
Maybe setting the width helps (e.g. to \makeupwidth).
Hraban
Am 05.12.23 um 15:29 schrieb Ursula Hermann:
Dear Hraban,
Sorry
r \startexercici
[exercici:proporcionalitat-directa-antic-15]{mà quines d'impressió} Tres mÃ
quines imprimeixen 1500 llibres cada una al mes. Si un empresari comprà s 5 mÃ
quines més, quants llibres podrà imprimir al cap del mes? \stopexercici \par
\startexercici [exercici:proporcionalitat-directa-ant
t de 125 g. hi ha una inscripció que posa \\par
\\startnarrower [2*middle] \\quotation {Contingu
t en calci 104 mg. (26\\% del consum diari recomanat)} \\stopnarrower \\par
\\startitemize [a] \\item Quants mil·ligrams de calci hauria de prendre (per a
arribar al 100\\% de la quantitat de calci recoman
ntation that has the bug. With \startnarrow, you need two
> sets of square brackets, 1 for the \setupnarrower data and 1 for the
> \startnarrower data. Like this:
>
> \starttext
> Some text before
> \startnarrow[left=5cm,right=1cm,before={\blank[2*line]},after={\blank[halfli
> ne]}][lef
It's the documentation that has the bug. With \startnarrow, you need two sets
of square brackets, 1 for the \setupnarrower data and 1 for the \startnarrower
data. Like this:
\starttext
Some text before
\startnarrow[left=5cm,right=1cm,before={\blank[2*line]},after={\blank[halfline]}][left
but:
\setupnarrower[left=5cm, right=2cm]
\startnarrower[left,right]
\input ward
\stopnarrower
\stoptext
%%
Is this a bug or intended behaviour ?
Best,
Denis
___
If your question is of interest
=2in,right=1in]
\startnarrower[left,right]
\noindent},
after={\stopnarrower
\blank[ExtractDistance]
\indenting[next]}]
%Now the following commands are available: \startExtract and \stopExtract
\starttext
The extract from Knuth
\startExtract \input knuth \stopExtract
gt; I use the command \startnarrower and \stopnarrower.
It's not the same:
\starttext
\startquotation
quotation\\quotation
\stopquotation
\startnarrower
\quotation{quotation\\quotation}
\stopnarrower
\stoptext
--
working
with an older version of CTX). To get the quote indented, instead of
\startquotation, I use the command \startnarrower and \stopnarrower.
What about something like this :
\mainlanguage[fr] \setcharacterspacing[frenchpunctuation]
\starttext bla \quotation{Que d'hommes entre Dieu et moi
0 \samplefile{tufte} \CrappyTraced \par % \crappyspecstep 2pt
\samplefile{tufte} \CrappyTraced \par
\samplefile{tufte} \CrappyTraced \startitemize
\startitem
\samplefile{tufte} \CrappyTraced
\stopitem
\startitem
\samplefile{ward} \CrappyTraced \stopitem
\stopitemize
\startnarrower
[TextBubbleTxFrame][TextBubbleFrame][
background=TextBubbleTxOverlay,
location=right,
]
% Map XHTML class names to start/stop environments.
\definestartstop[bubblerx][
before={\startnarrower\startTextBubbleRxFrame},
after={\stopTextBubbleRxFrame\stopnarrower},
]
\definestartstop[bubbletx][
before
startstop[blockquote]
[
before={ \blank \startnarrower \setupwhitespace[2pt] \setupindenting[none]
\switchtobodyfont[termes]{\it }{\bf }% This is so weird. Put a
comment marker after [termes] for a different result
},
after={ \stopnarrower \blank \indenting[next]},
X Gyre Pagella Math]
\setupbodyfont[story,11pt]
\usebodyfont[termes]
\definestartstop
[blockquote]
[before={\blank\startnarrower\setupwhitespace[2pt]\setupindenting[none]},
style={\switchtobodyfont[termes]},
after={\stopnarrower\blank\indenting[next]}]
\starttext
\input
ns][modern]
\definefontfamily[story][mono][modern]
\definefontfamily[story][mm][TeX Gyre Pagella Math]
\setupbodyfont[story,11pt]
\definestartstop[blockquote]
[
before={ \blank \startnarrower \setupwhitespace[2pt] \setupindenting[none]
\switchtobodyfont[termes]{\it }{\bf }% This is so w
iant]
\setupnotation[variant][number=no]
\setupnote[variant][way=bypage,paragraph=yes,rule=off]
\definelines[slokaed][][indenting={yes, small, even},
before={\startnarrower\startlinenumbering},
after={\stoplinenumbering\stopnarrower}]
\definelines[slokaedplain][][inde
e=off]
>
> % Two "environments" for Sanskrit verses, one with, one without
> linenumbers.
>
> % SANSKRIT EDITION linenumbers
> \definelines[slokaed][][indenting={yes, small, even},
>
> before=\startnarrower\startlinenumbering,after=\stoplinenumbering\st
[variant] [footnote]
\setupnotation[variant][number=no]
\setupnote[variant][way=bypage,paragraph=yes,rule=off]
% Two "environments" for Sanskrit verses, one with, one without
linenumbers.
% SANSKRIT EDITION linenumbers
\definelines[slokaed][][indenting={yes, small, ev
}%
> \ignorespaces
> \input tufte
> \stoptext
>
> Indeed it looks bad (ugly) but it illustrates the idea. What makes
> vadjust sort of useless for content is that it messes up spacing (but if
> there is real demand and usage i can sort that out at some point, maybe
demand and usage i can sort that out at some point, maybe
some new options or so). Thsi example also brings us to local boxes:
\showframe
\starttext
\showmakeup[hbox]
\startnarrower[2*left] \raggedleft
{\localleftbox par {L1}\input tufte \par}
\stopnarrower
\blank
\startnarrower[2*middle
preface with a quote
%%%
\startsetups SectionLHSPageSetup
\page[left]
\setupheader[state=empty]
\start
\startalignment[left,nothyphenated]
\startnarrower[4*left]
\tf\it
\stopsetups
\definestartstop [SectionLHSPage]
[ before={\setups{SectionLHSPageSetup}},
after={\stopnarrower
gt;header=empty,
>footer=chpaterfooter,
>sectionsegments=chapter,
>before={\setups[chapter:before]},
>after={\setups[chapter:after]}]
>
> \startsetups chapter:before
> \page[left]
> \noheaderandfooterlines
> \startalignment[left,nothyphen
\startalignment[flushright,nothyphenated]
\startnarrower[4*left]
\em \getbuffer[chapter:quote]
\stopnarrower
\stopalignment
\page[right]
\stopsetups
\starttext
\startbuffer [chapter:quote]
If you think good architecture is expensive, try bad architecture\crlf
{\tf Brian Foote
[chapter]
[page=,
header=empty,
footer=chpaterfooter,
sectionsegments=chapter,
before={\setups[chapter:before]}]
\startsetups chapter:before
\page[left]
\noheaderandfooterlines
\startalignment[left,nothyphenated]
\startnarrower[4*left]
\em \getbuffer[chapter:quote
,
header=empty,
footer=chpaterfooter,
sectionsegments=chapter,
before={\setups[chapter:before]},
after={\setups[chapter:after]}]
\startsetups chapter:before
\page[left]
\noheaderandfooterlines
\startalignment[left,nothyphenated]
\startnarrower[4*left]
\em \getbuffer[
> \startsetups chapter:before
> \page[left]
> \noheaderandfooterlines
> \startalignment[left,nothyphenated]
> \startnarrower[4*left]
> \em \getbuffer[chapter:quote]
> \stopnarrower
> \stopalignment
> \resetsetups[quote:text]
>
]
\startnarrower[4*left]
\em \getbuffer[chapter:quote]
\stopnarrower
\stopalignment
\resetsetups[quote:text]
\page[right]
%\noheaderandfooterlines % I want the enumber in the footer here
\blank[force,2*big]
\stopsetups
\startsetups chapter:after
\blank[3*big
Hi Wolfgang,
I am late as I was busy elsewhere, but thanks a lot for your help.
Am 25.06.21 um 13:44 schrieb Wolfgang Schuster:
\startsetups [userdata:shiftblock]
\signalrightpage
\doifelserightpage {
\startnarrower[2*left,-2*right]
\getuserdata
.
\startsetups [userdata:shiftblock]
\signalrightpage
\doifelserightpage {
\startnarrower[2*left,-2*right]
\getuserdata
\stopnarrower
} {
\startnarrower[-2*left,2*right]
\getuserdata
\stopnarrower
}
\stopsetups
]
\startnarrower[left,right]
\setupalign[flushright,nothyphenated,broad]
\dontcomplain
\noindent},
after={\stopalignment\stopnarrower
\blank[EpigraphDistance]
\indenting[next]}]
\long\def\epigraph#1#2#3{%
\startEpigraphText #1 \par \stopEpigraphText
\ifx
of the hbox width until it fits in the
allocated space)? How to go about this?
\defineblank[EpigraphDistance][3pt]
\definestartstop[EpigraphText][
style=\ssa,
before={\blank[EpigraphDistance]
\setupnarrower[left=.25\textwidth,right=0pt]
\startnarrower[left,right]
\setupalign
={\blank[small,fixed]
\setupnarrower[left=1.5pc,right=0pc]
\startnarrower[left,right]
\noindentation\switchtobodyfont[9pt]},
after={\par\stopnarrower
\blank[small,fixed]
\noindentation},]
\starttext
\input ward
\startblockquote
\input ward
\stopblockquote
\stoptext
I am attempting to get
as a trigger. Here are a few examples of usage:
162
163 \startbuffer
164 discrete---discrete
165 \stopbuffer
166 >> \typebuffer \startnarrower \dontcomplain \hsize 1pt \getbuffer \par
\stopnarrower
167 \startbuffer
168 discrete\discretionary{}{}{---}discrete
169 \stop
be:
\startlocalnotes[testnote]
\startnarrower
\input lorem\testnote{bla bla}
\input lorem\testnote{bla bla}
\stopnarrower
\stoplocalnotes % forgets local notes
\input knuth\footnote{Donald dixit}
\placelocalnotes[testnote] % nothing
In the MWE, the footnotes just disappear. In the actual project
in US English.)
I tried several approaches e.g. with my own single start/stop macros that call
\start/stopnarrower or \start/stopZitat – that always lead to unclosed
environments.
This looks as I want it to:
\setupnarrower[left=2em,right=1.5em]
\startnarrower
\hskip-0.33em\quotation{Im übrigen
> typography, I learned it’s different at least in US English.)
>
> I tried several approaches e.g. with my own single start/stop macros that
> call \start/stopnarrower or \start/stopZitat – that always lead to unclosed
> environments.
This looks as I want it to:
\setupnarrowe
Hello Aditya,
thanks for all your answers.
You were right - my minimalist sample was not very suitable, and my real
sample can be successfuly handled with \startnarrower.
Thanks again for your time.
Best regards,
Lukas
On 2020-05-21 10:52, Aditya Mahajan wrote:
On Thu, 21 May 2020, cont
a
single column), you can use
\setupnarrower[right=0.5\textwidth]
\startnarrower[right]
\input knuth
\stopnarrower
or to get right frame:
\startframedtext[width=0.45\textwidth,frame=off, rightframe=on, roffset=0.5em]
\input
which can be used. Example:
\setupbuffer
[before=\blank\blackrule\startnarrower\BufferStyle,
after=\stopnarrower\blackrule\blank]
[...]
\definehighlight
[BufferStyle]
[style=smallitalic,
color=blue]
Use the highlight-environment or create a new startstop-environment to
apply style
er
> [before=\blank\blackrule\startnarrower\BufferStyle,
> after=\stopnarrower\blackrule\blank]
>
> %% alternatively define custom buffers
> \definebuffer
> [foobar]
>
> \setupblackrules
> [width=1cm,
>height=1pt,
>color=gray]
>
> \defi
er has before and after keys which can be used. Example:
\setupbuffer
[before=\blank\blackrule\startnarrower\BufferStyle,
after=\stopnarrower\blackrule\blank]
%% alternatively define custom buffers
\definebuffer
[foobar]
\setupblackrules
[width=1cm,
height=1pt,
color=gray]
\definehighli
r=0pc,
> height=49pc,
> footer=0pc,
> bottomdistance=2.5pc,
> bottom=1pc,
> location=middle]
>
> \define\fullwidth{\dimexpr(\leftmargindistance+\leftmarginwidth+\textwidth)}
>
> \section{First}
> \subsection{First first}
>
> \input tufte
>
> \setupnarrower[left=
=middle]
\define\fullwidth{\dimexpr(\leftmargindistance+\leftmarginwidth+\textwidth)}
\section{First}
\subsection{First first}
\input tufte
\setupnarrower[left=-9pc]
\startnarrower[left]
\startframedtext[frame=off,topframe=on,bottomframe=on,align=middle,width=\fullwidth]
The whole frame should
justified,
but I'd like the page numbers to be flushed to the right from
their second line \FlushRightFromNextLine 34, 57, 101-104, 276, 345,
401-403.}\par
\blank
This is the normal result:\par
\blank
\startnarrower[right]
This is the text of an index term, that is normally justified,
but I'd
numbers to be flushed to the right from
their second line \FlushRightFromNextLine 34, 57, 101-104, 276, 345,
401-403.}\par
\blank
This is the normal result:\par
\blank
\startnarrower[right]
This is the text of an index term, that is normally justified,
but I'd like the page numbers to be flushed
rtstop [cslreferences] [
> before={%
> \setupnarrower[left=\cslhangindent]
> \startnarrower[left]%
> \setupindenting[-\leftskip,yes,first]%
> \indentation%
>},
>after=\stopnarrower,
> ]
>
> \starttext
>
On 11/27/2019 2:17 PM, Denis Maier wrote:
Hi,
I have this file:
--
\newdimen\cslhangindent
\cslhangindent=1.5em
\definestartstop [cslreferences] [
before={%
\setupnarrower[left=\cslhangindent]
\startnarrower
Hi,
I have this file:
--
\newdimen\cslhangindent
\cslhangindent=1.5em
\definestartstop [cslreferences] [
before={%
\setupnarrower[left=\cslhangindent]
\startnarrower[left]%
\setupindenting[-\leftskip,yes
,
leftoffset=.5\bodyfontsize,
rightoffset=.5\bodyfontsize,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
frame=off,]
\input knuth
{
\blank[line]
\setupwhitespace[none]
\startnarrower
\dontleavehmode\framed[
width=local, corner=03, background=color, backgroundcolor=cyan,
frame
[line]
\starttext
\definetextbackground[secondary][
location=always,
background=color,
backgroundcolor=lightgray,
leftoffset=.5\bodyfontsize,
rightoffset=.5\bodyfontsize,
topoffset=.5\bodyfontsize,
bottomoffset=.5\bodyfontsize,
frame=off,]
\input knuth
\startnarrower
\dontleavehmode
t;
> Hi all,
>
> Sorry, my solution didn’t work.
>
> My purpose of using \startnarrower is to have some paragraphs of text inside
> the \framed. Unfortunately, it seems \framed doesn’t take paragraphs.
>
> \startframedtext doesn’t have as many border options as
Hi all,
Sorry, my solution didn’t work.
My purpose of using \startnarrower is to have some paragraphs of text inside
the \framed. Unfortunately, it seems \framed doesn’t take paragraphs.
\startframedtext doesn’t have as many border options as \framed.
Should I use overlays? Or layers
Hi all,
I got some progress!
\setupnarrower[left=2cm, right=2cm] % what does middle do, actually?
\startnarrower
\dontleavehmode\framed[width=local]{testing}
Since this works for left offset: \framed[width=local]{testing}
\endnarrower
So, how do I do a gradient background? Yeah, I know I
On 8/21/2019 2:14 PM, Jon Wong wrote:
\startnarrower
\framed{testing}
Seems framed doesn’t observe startnarrower commands.
\endnarrower
\starttext
Seems framed doesn’t observe startnarrower commands.
\startnarrower
\dontleavehmode \framed{testing}
Seems framed doesn’t observe
Hi all,
I want to have a \startnarrower effect. But I also want that segment to have a
border (hopefully a gradient background color too!).
I tried:
\startnarrower
\framed{testing}
Seems framed doesn’t observe startnarrower commands.
\endnarrower
How do I achieve that?
Regards
Jon
how I can
>>>>> avoid that.
>>>> Change the order of both environment and put sidebar in the narrower block.
>>>>
>>>> The reason for the extra line is that \startsidebar begins a new paragraph
>>>> but \startnarrower end the lest paragraph w
space introduced if I use both environments,
but not if I use only one. And I didn’t find how I can avoid that.
Change the order of both environment and put sidebar in the narrower block.
The reason for the extra line is that \startsidebar begins a new paragraph but
\startnarrower end the lest
hat there’s space introduced if I use both
>>> environments, but not if I use only one. And I didn’t find how I can avoid
>>> that.
>> Change the order of both environment and put sidebar in the narrower block.
>>
>> The reason for the extra line is that \startside
]
\startnarrower
localhsize: \the\dimexpr\localhsize\relax \\
myVar: \the\dimexpr\myVar\relax \\
\stopnarrower
\stoptext
I would expect that myVar has the same value inside the narrower as outside,
because I used \edef and not \def.
Is there another variable I can use, or does someone knows
On 1/04/19 9:22 AM, Hans Hagen wrote:
> On 3/31/2019 10:13 PM, Henri Menke wrote:
>> I see that the patch has been applied in current, but could you please also
>> apply it in beta (which is what I and probably most others use daily)?
> some time next week we continue with betas as curren tis now
On 3/31/19 10:13 PM, Henri Menke wrote:
> I see that the patch has been applied in current, but could you please also
> apply it in beta (which is what I and probably most others use daily)?
Hi Henri,
I use beta and I update it with:
./first-setup.sh --modules=all
At least my latest beta
On 3/31/2019 10:13 PM, Henri Menke wrote:
I see that the patch has been applied in current, but could you please also
apply it in beta (which is what I and probably most others use daily)?
some time next week we continue with betas as curren tis now frozen for
tex live (there is also 'latest'
I see that the patch has been applied in current, but could you please also
apply it in beta (which is what I and probably most others use daily)?
Cheers, Henri
On 6/03/19 12:12 PM, Henri Menke wrote:
> Patch for the core file is attached.
>
> Cheers, Henri
>
one. And I didn’t find how I can avoid that.
> Change the order of both environment and put sidebar in the narrower block.
>
> The reason for the extra line is that \startsidebar begins a new paragraph
> but \startnarrower end the lest paragraph which results in a single empty
&
sidebar in the narrower block.
The reason for the extra lien is that \startsidebar begins a new
paragraph but \startnarrower end the lest paragraph which results in a
single empty line.
Wolfgang
___
If your question
ebar. Indeed here 5mm should
> be replaced with what looks better with your setting of interlinespace.
>
> Best regards: OK
>
>> On 26 Mar 2019, at 11:16, Henning Hraban Ramm wrote:
>>
>> Ahoi,
>> I’m trying to mark examples in a book with indent (\startnarrow
regards: OK
> On 26 Mar 2019, at 11:16, Henning Hraban Ramm wrote:
>
> Ahoi,
> I’m trying to mark examples in a book with indent (\startnarrower) and a rule
> in the margin (\startsidebar).
> Each of those works on its own as it should, but combined there’s an
> additio
Ahoi,
I’m trying to mark examples in a book with indent (\startnarrower) and a rule
in the margin (\startsidebar).
Each of those works on its own as it should, but combined there’s an additional
empty line before and after introduced that I can’t get rid of.
Any hints?
\starttext
\input tufte
Patch for the core file is attached.
Cheers, Henri
diff --git a/tex/context/base/mkiv/spac-hor.mkiv b/tex/context/base/mkiv/spac-hor.mkiv
index 32b7f06fb..24c7c7893 100644
--- a/tex/context/base/mkiv/spac-hor.mkiv
+++ b/tex/context/base/mkiv/spac-hor.mkiv
@@ -717,7 +717,7 @@
Hans van der Meer schrieb am 20.12.18 um 14:15:
Wolfgang,
Your solution works, but repeats after every \par. The purpose was to
have the very first line only as the one without the indent. I tried
several parameters from \definedelimitedtext and from \setupindenting,
but could not achieve
Taco Hoekwater schrieb am 13.12.18 um 11:12:
Hi again,
Is there a way to make section headings automatically honour the current
left- and rightskip? For example, like this:
\starttext
\showframe
\startnarrower[left]
\section{Section 1}
stuff
\stopnarrower
\stoptext
I know I could rig this up
Hans van der Meer schrieb am 13.12.18 um 12:15:
Is it possible to not indent the very first line of narrower content?
Thus
\startnarrower
first line
second line
etc.
\stopnarrower
resulting in:
first line
second line
etc.
Use a negative value for the indentation of the paragraph
Is it possible to not indent the very first line of narrower content?
Thus
\startnarrower
first line
second line
etc.
\stopnarrower
resulting in:
first line
second line
etc.
dr. Hans van der Meer
Hi again,
Is there a way to make section headings automatically honour the current
left- and rightskip? For example, like this:
\starttext
\showframe
\startnarrower[left]
\section{Section 1}
stuff
\stopnarrower
\stoptext
I know I could rig this up with
\dontleavehmode\vbox{\advance\hsize
}}
\stopsetups
\startsetups btx:quotedb:list:quote
\limitatetext{\btxfield{extract}}{\textwidth}{\unknown}
\blank[none]
-\btxspace\btxflush{author}
\btxcomma\btxfield{year}
\stopsetups
\starttexdefinition Quotation #QUOTE
\startnarrower
\blank
On 8/13/2018 18:43, Rik Kabel wrote:
On 8/13/2018 15:52, Wolfgang Schuster wrote:
Rik Kabel schrieb am 13.08.18 um 20:27:
On 8/13/2018 13:46, Wolfgang Schuster wrote:
\starttext
\BeforePar{\dontleavehmode\llap{? }}\GotoPar
\input knuth
\startnarrower
\BeforePar{\dontleavehmode\llap
On 8/13/2018 15:52, Wolfgang Schuster wrote:
Rik Kabel schrieb am 13.08.18 um 20:27:
On 8/13/2018 13:46, Wolfgang Schuster wrote:
\starttext
\BeforePar{\dontleavehmode\llap{? }}\GotoPar
\input knuth
\startnarrower
\BeforePar{\dontleavehmode\llap{? }}\GotoPar
\input knuth
\stopnarrower
Rik Kabel schrieb am 13.08.18 um 20:27:
On 8/13/2018 13:46, Wolfgang Schuster wrote:
\starttext
\BeforePar{\dontleavehmode\llap{? }}\GotoPar
\input knuth
\startnarrower
\BeforePar{\dontleavehmode\llap{? }}\GotoPar
\input knuth
\stopnarrower
\stoptext
Wolfgang
I am applying
On 8/13/2018 13:46, Wolfgang Schuster wrote:
\starttext
\BeforePar{\dontleavehmode\llap{? }}\GotoPar
\input knuth
\startnarrower
\BeforePar{\dontleavehmode\llap{? }}\GotoPar
\input knuth
\stopnarrower
\stoptext
Wolfgang
I am applying it incorrectly, or it does not work
On 8/13/2018 10:28, Rik Kabel wrote:
That works for the over-simplified case here, but fails in practice.
For a \startnarrower[left] paragraph, the mark is still in the main
margin, not the 'margin' of the narrowed paragraph. Also, the
placement of the text in the margin is wrong
, the \setupparagraphintro hack handles my needs, so I
will proceed with that.
\starttext
\BeforePar{\dontleavehmode\llap{? }}\GotoPar
\input knuth
\startnarrower
\BeforePar{\dontleavehmode\llap{? }}\GotoPar
\input knuth
\stopnarrower
\stoptext
Wolfgang
: \First, arg: \Arg)]
%\setupparagraphintro[next][(first: \First, arg: \Arg)]
\getbuffer[TestBuffer]
\stopparagraph
Hans,
That works for the over-simplified case here, but fails in practice.
For a \startnarrower[left] paragraph, the mark is still in the main
margin, not the 'margin
Rik Kabel schrieb am 13.08.18 um 16:28:
Hans,
That works for the over-simplified case here, but fails in practice.
For a \startnarrower[left] paragraph, the mark is still in the main
margin, not the 'margin' of the narrowed paragraph. Also, the
placement of the text in the margin is wrong
]
\stopparagraph
Hans,
That works for the over-simplified case here, but fails in practice. For
a \startnarrower[left] paragraph, the mark is still in the main margin,
not the 'margin' of the narrowed paragraph. Also, the placement of the
text in the margin is wrong and not easily controlled as with \llap
On 7/26/2018 5:27 PM, Henning Hraban Ramm wrote:
Am 2018-07-26 um 16:03 schrieb Hans Hagen :
\def\MyFill#1%
{\leaders\hbox to 1em{\hss.\hss}\hfill
\rlap{\hbox to \rightskip{\hss#1}}}
\showframe
\starttext
\startnarrower[2*right]
\startitemize[packed,joinedup]
\startitem
\input
Am 2018-07-26 um 16:03 schrieb Hans Hagen :
> \def\MyFill#1%
> {\leaders\hbox to 1em{\hss.\hss}\hfill
> \rlap{\hbox to \rightskip{\hss#1}}}
>
> \showframe
>
> \starttext
>
> \startnarrower[2*right]
> \startitemize[packed,joinedup]
> \startitem
>
%
{\leaders\hbox to 1em{\hss.\hss}\hfill
\rlap{\hbox to \rightskip{\hss#1}}}
\showframe
\starttext
\startnarrower[2*right]
\startitemize[packed,joinedup]
\startitem
\input tufte
\MyFill{33}
\stopitem
\startitem
\input knuth
\MyFill{99}
\stopitem
\stopitemize
:-).
\samplefile{ward}
\startnarrower
\samplefile{ward}
\startbuffer[test]
Leading spaces
And some more
\stopbuffer
\typebuffer[test]
\stopnarrower
\samplefile{ward}
\startbuffer[test]
Leading spaces
And some more
\stopbuffer
\typebuffer[test]
it is actually
\savebuffer[file=test-temp.tmp, prefix=no, list=test]
\stoptext
The leading spaces are stripped before the buffer is saved to the file
temp.tmp. Is it possible for the leading space NOT to be stripped? (If
not, I'll just document this as a feature :-).
\samplefile{ward}
\startnarrower
=no, list=test]
\stoptext
The leading spaces are stripped before the buffer is saved to the file
temp.tmp. Is it possible for the leading space NOT to be stripped? (If
not, I'll just document this as a feature :-).
\samplefile{ward}
\startnarrower
\samplefile{ward}
\startbuffer[test
I’d loved to use some clean code, but since I didn’t manage on my own, I
resolved to this somewhat ugly setup:
\def\doStartInt[#1]{\testpage[2]%
\noindent\emph{#1}\par\gobblespacetokens%
\startnarrower[left]\noindent\gobblespacetokens}
\def\startInt{\dosingleempty\doStartInt}
\def\stopInt
:
=
\definestartstop
[exdent]
[before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
after=\stopnarrower]
\starttext
\startcolumns[n=2]
\section{Heading 1}
Some text.
\startexdent
This sentence needs to be long enough to wrap at least once.
This sentence needs to be long enough to wrap at least
% I guess I should change the footnote number font size here?
> \stopsetups
>
> \definestartstop[myQuotation][
>setups=myQuotation,
>before={
> \testpage[2]
> \startnarrower[left,right]
> \noindent},
>after={\stopnarrower
> \indenting[next]}]
>
size here?
\stopsetups
\definestartstop[myQuotation][
setups=myQuotation,
before={
\testpage[2]
\startnarrower[left,right]
\noindent},
after={\stopnarrower
\indenting[next]}]
Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID
1 - 100 of 450 matches
Mail list logo