Indentation after formulas
Hello, Compiling the following results in indented text following the formula: % interface=en tex=pdfetex output=pdftex \usemodule [nath] \setupindenting [medium] \starttext \section{Some section} Let \placeformula \[ f(x) = x^2, \] where $x$ means nothing. \stoptext I'd like "where $x$ means nothing." not to be indented as a new paragraph. Am I doing something wrong? David
Hello, Compiling the following results in indented text following the formula: % interface=en tex=pdfetex output=pdftex \usemodule [nath] \setupindenting [medium] \starttext \section{Some section} Let \placeformula \[ f(x) = x^2, \] where $x$ means nothing. \stoptext I'd like "where $x$ means nothing." not to be indented as a new paragraph. Am I doing something wrong? David
Let \placeformula \[ f(x) = x^2, \] where $x$ means nothing.
I've found that inserting \let\startformula\startmpformula \let\stopformula\stopmpformula before \usemodule[nath] does the trick. But I feel it's not a very good idea. Any advice? David
Tuesday, January 20, 2004 David Munger wrote:
Let \placeformula \[ f(x) = x^2, \] where $x$ means nothing.
I've found that inserting
\let\startformula\startmpformula \let\stopformula\stopmpformula
before \usemodule[nath] does the trick. But I feel it's not a very good idea. Any advice?
It's not a good idea indeed. Try \setupformulas[indentnext=yes], rather. Of course, you do know that indenting the text following a formula when the text refers to the formula is not a typographical/structural good idea, don't you? ;) -- Giuseppe "Oblomov" Bilotta
Try \setupformulas[indentnext=yes], rather. Of course, you do know that indenting the text following a formula when the text refers to the formula is not a typographical/structural good idea, don't you? ;)
Ahhh... It works fine with \setupformulas[indentnext=no]. Thanks. Actually, I was not trying to indent text following formulas, but rather to remove such indentation, which seems to be the default behavior. I noticed a \setupformulas[indentnext=auto] in t-amsl.tex. Is it intended to indent on a paragraph change following a formula and to make no indentation if there's no paragraph change, just like in LaTeX? If it is, I might have to upgrade again. David
Wednesday, January 21, 2004 David Munger wrote:
Try \setupformulas[indentnext=yes], rather. Of course, you do know that indenting the text following a formula when the text refers to the formula is not a typographical/structural good idea, don't you? ;)
Ahhh... It works fine with \setupformulas[indentnext=no]. Thanks.
Actually, I was not trying to indent text following formulas, but rather to remove such indentation, which seems to be the default behavior.
I noticed a \setupformulas[indentnext=auto] in t-amsl.tex. Is it intended to indent on a paragraph change following a formula and to make no indentation if there's no paragraph change, just like in LaTeX? If it is, I might have to upgrade again.
You got the meaning of indentnext=auto correctly. That's the default, so it *should* work this way: if there is an empty line after the \], then indent next text; if there is no empty line, then don't indent next line. OTOH, I'm thinking there is probably a bug somewhere in there, because of the \ignorespaces I'm using in the definition of \]; I'll have to look into this. -- Giuseppe "Oblomov" Bilotta
participants (3)
-
David Munger
-
David Munger
-
Giuseppe Bilotta