[NTG-context] Force an indent

Adam Lindsay atl at comp.lancs.ac.uk
Mon Feb 20 21:08:05 CET 2006

[I realised this other part of my draft answer would be good for the 

David Arnold wrote:

> I do not want to do this:
> \setupformulas[indentnext=auto]
> Because that has the effect that paragraphs following formulae are  
> always indented. I don't want that. I want to be able to type the  
> source like this ...

(not always, in the "auto" case)

> \setupwhitespace[medium]
> \setupindenting[medium,yes]
> \starttext
> Again, we choose to multiply the fours, then the result by the square  
> root of three. That is,
> \placeformula[-]
> \startformula
>    4(4\sqrt3)
>    =16\sqrt3.
> \stopformula
> By induction, we can argue that that the associative and commutative  
> properties will allows us to group and arrange the product of more  
> than three numbers in any order that we please.
> \stoptext

Although it doesn't really apply to you, because of the spaced-out 
nature of your source files, this will help someone out. If you have 
indentnext=auto set for formulae (or verbatim or itemize), then you have 
no indent if there's no blank line between the formula and the text. If 
there is a blank line, then there's a normal indent.

In the example, watch what happens after the two \stopformula s:


\input ward
You will find that

\stopformula % no blank line
for very large values of two.
\input dawkins
However, traditionalists maintain that

\stopformula % extra blank line

Moving on, we find...
\input tufte


(pardon the extra test text. The bits that I wrote didn't make the 
example clear enough when typeset.)

> ... and not have the next paragraph after the formula. That is the  
> default. That is what I want. However, on occasion, "sometimes" I do  
> want to indent the next paragraph after a formula. My question is,  
> how to override the default behavior "on occasion." That is, every  
> "rare once in a while," how do I indent a paragraph after a formula.
> On Feb 20, 2006, at 10:13 AM, Taco Hoekwater wrote:
>> David Arnold wrote:
>>> OK,
>>> But this gives the same result. No indent.
>> [ok]
>>> How can I get that paragraph after the placeformula to indent?
>>    \setupindenting[medium,yes]
>>    \setupformulas[indentnext=yes]
>>    %\setupfloats[indentnext=yes] % maybe desired as well?
>> I just discovered that only this
>>    \setupindenting[medium,always]
>> doesn't work either, and that is a bit counterintuitive.
>> Cheers, Taco
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context at ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

  Adam T. Lindsay, Computing Dept.     atl at comp.lancs.ac.uk
  Lancaster University, InfoLab21        +44(0)1524/510.514
  Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492

More information about the ntg-context mailing list