* nath: \wall and \return doesn't work?
@ 2004-10-14 8:57 Christopher Creutzig
2004-10-14 10:09 ` Giuseppe Bilotta
0 siblings, 1 reply; 4+ messages in thread
From: Christopher Creutzig @ 2004-10-14 8:57 UTC (permalink / raw)
Salvete,
\usemodule[nath]
\starttext
\startformula
F(\beta, E_{min}, E_{max}, m) = \wall\{0,\infty,-\infty\}
\return
\cup \left\{\left.s\,\beta^e\sum_{i=0}^{m}a_i\beta^{-i}\right\vert
s\in\{-1,1\}, 0\leq a_i<\beta, e\in\integers, E_{min}\leq e\leq
E_{max}\right\}.
\stopformula
\stoptext
I thought the \return were to go to the horizontal position of the
\wall, in the next line? For me, both lines are flush left.
pdftex 1.20a, ConTeXt 2004.10.07, t-nath.tex 2003.12.08, with the
patches I sent to this list.
regards,
Christopher
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: nath: \wall and \return doesn't work?
2004-10-14 8:57 nath: \wall and \return doesn't work? Christopher Creutzig
@ 2004-10-14 10:09 ` Giuseppe Bilotta
2004-10-16 15:11 ` Christopher Creutzig
0 siblings, 1 reply; 4+ messages in thread
From: Giuseppe Bilotta @ 2004-10-14 10:09 UTC (permalink / raw)
Thursday, October 14, 2004 Christopher Creutzig wrote:
> Salvete,
> \usemodule[nath]
> \starttext
> \startformula
> F(\beta, E_{min}, E_{max}, m) = \wall\{0,\infty,-\infty\}
> \return
> \cup
> \left\{\left.s\,\beta^e\sum_{i=0}^{m}a_i\beta^{-i}\right\vert
> s\in\{-1,1\}, 0\leq a_i<\beta, e\in\integers, E_{min}\leq e\leq
> E_{max}\right\}.
> \stopformula
> \stoptext
> I thought the \return were to go to the horizontal position of the
> \wall, in the next line? For me, both lines are flush left.
> pdftex 1.20a, ConTeXt 2004.10.07, t-nath.tex 2003.12.08, with the
> patches I sent to this list.
You are returning too soon. Lines should be ended by \\, not
\return, unless they are the last indented line; your snipped
should rather go:
\startformula
F(\beta, E_{min}, E_{max}, m) = \wall\{0,\infty,-\infty\} \\
\cup \left\{\left.s\,\beta^e\sum_{i=0}^{m}a_i\beta^{-i}\right\vert
s\in\{-1,1\}, 0\leq a_i<\beta, e\in\integers, E_{min}\leq e\leq
E_{max}\right\}.
\return
\stopformula
Or something like this (you can also split the part between
\left\{ ... \right\}, i.e. the second set; delimiters should
get enlarged correctly).
--
Giuseppe "Oblomov" Bilotta
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: nath: \wall and \return doesn't work?
2004-10-14 10:09 ` Giuseppe Bilotta
@ 2004-10-16 15:11 ` Christopher Creutzig
2004-10-18 22:50 ` Re[2]: " Giuseppe Bilotta
0 siblings, 1 reply; 4+ messages in thread
From: Christopher Creutzig @ 2004-10-16 15:11 UTC (permalink / raw)
Giuseppe Bilotta wrote:
>>I thought the \return were to go to the horizontal position of the
>>\wall, in the next line? For me, both lines are flush left.
> You are returning too soon. Lines should be ended by \\, not
> \return, unless they are the last indented line; your snipped
> should rather go:
I see -- \return is not “return to the horizontal position,” but
rather, \return is the end of the \wall-indented part, right?
merci,
Christopher
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re[2]: nath: \wall and \return doesn't work?
2004-10-16 15:11 ` Christopher Creutzig
@ 2004-10-18 22:50 ` Giuseppe Bilotta
0 siblings, 0 replies; 4+ messages in thread
From: Giuseppe Bilotta @ 2004-10-18 22:50 UTC (permalink / raw)
Saturday, October 16, 2004 Christopher Creutzig wrote:
> Giuseppe Bilotta wrote:
>>>I thought the \return were to go to the horizontal position of the
>>>\wall, in the next line? For me, both lines are flush left.
>> You are returning too soon. Lines should be ended by \\, not
>> \return, unless they are the last indented line; your snipped
>> should rather go:
> I see -- \return is not return to the horizontal position, but
> rather, \return is the end of the \wall-indented part, right?
Exactly. \wall sets a "new home position" that gets obeyed by
all *subsequent* lines (each of them ended by \\) until a
\return is met, which "backtracks" the home position to the
previous one (you can have multiple \walls).
--
Giuseppe "Oblomov" Bilotta
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-10-18 22:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-14 8:57 nath: \wall and \return doesn't work? Christopher Creutzig
2004-10-14 10:09 ` Giuseppe Bilotta
2004-10-16 15:11 ` Christopher Creutzig
2004-10-18 22:50 ` Re[2]: " Giuseppe Bilotta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).