Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Real Programmers don't eat quiche. They eat Twinkies and Szechwan food.


computers / comp.text.tex / Strange behaviour (to me) of [

SubjectAuthor
* Strange behaviour (to me) of [William Unruh
`* Re: Strange behaviour (to me) of [Ulrike Fischer
 `* Re: Strange behaviour (to me) of [William Unruh
  +- Re: Strange behaviour (to me) of [Axel Berger
  +* Re: Strange behaviour (to me) of [Peter Flynn
  |`* Re: Strange behaviour (to me) of [William Unruh
  | +- Re: Strange behaviour (to me) of [Axel Berger
  | +* Re: Strange behaviour (to me) of [Ulrike Fischer
  | |`- Re: Strange behaviour (to me) of [William Unruh
  | `- Re: Strange behaviour (to me) of [Peter Flynn
  `- Re: Strange behaviour (to me) of [Ulrich D i e z

1
Strange behaviour (to me) of [

<tloasn$mt6o$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5688&group=comp.text.tex#5688

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: comp.text.tex
Subject: Strange behaviour (to me) of [
Date: Thu, 24 Nov 2022 17:50:15 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <tloasn$mt6o$1@dont-email.me>
Injection-Date: Thu, 24 Nov 2022 17:50:15 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="3c16a8f6dbdac2e4ad66f57fcdcfc574";
logging-data="750808"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+PcixDP5/TkIdDW7C6RqPi"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:5+V6UIrCZ5TdLEbgPAL6TfR+rho=
 by: William Unruh - Thu, 24 Nov 2022 17:50 UTC

Running in Latex , I have an equations

\bea
[\Phi(u,v),\Pi(u',v') ]_{(u+v=u'+v')}&=& i \delta((v-u-(v'-u'))/2)
\\
[\Phi(u,v),\Phi(u',v') ]_{u+v=u'+v'}&=&0
\\
[\Pi(u,v),\Pi(u',v') ]_{u+v=u'+v'}&=&0
\eea
(\bea is \begin{eqnarray} and \eea is \end{eqnarray})
The first equation lines is OK, but the second gives me the error

! Illegal unit of measure (pt inserted).
<to be read again>
(
l.107 [\Phi(u,v),\Phi(u',v') ]
_{u+v=u'+v'}&=&0
?

(that is of course the second equation line above)

If I replace those [ with \lbrack it works properly. but of course while
typing, [ is much easier than \lbrack and reads more easily as well
while proofreading the tex.

What am I not understanding about [ in this context

Re: Strange behaviour (to me) of [

<1b6xfibt78qig$.dlg@nililand.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5689&group=comp.text.tex#5689

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: news3@nililand.de (Ulrike Fischer)
Newsgroups: comp.text.tex
Subject: Re: Strange behaviour (to me) of [
Date: Thu, 24 Nov 2022 19:24:32 +0100
Lines: 58
Message-ID: <1b6xfibt78qig$.dlg@nililand.de>
References: <tloasn$mt6o$1@dont-email.me>
Reply-To: news3@nililand.de
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 8VxhhdIQkoe9CEaEl4o5TgAtGRR1HGRk/15SJ62IrKi/oI+JH9
Cancel-Lock: sha1:beM0Tv75LUb3wJG+V5iapoSOQGU=
User-Agent: 40tude_Dialog/2.0.15.41de
 by: Ulrike Fischer - Thu, 24 Nov 2022 18:24 UTC

Am Thu, 24 Nov 2022 17:50:15 -0000 (UTC) schrieb William Unruh:

> Running in Latex , I have an equations
>
> \bea
> [\Phi(u,v),\Pi(u',v') ]_{(u+v=u'+v')}&=& i \delta((v-u-(v'-u'))/2)
> \\
> [\Phi(u,v),\Phi(u',v') ]_{u+v=u'+v'}&=&0
> \\
> [\Pi(u,v),\Pi(u',v') ]_{u+v=u'+v'}&=&0
> \eea
>
> (\bea is \begin{eqnarray} and \eea is \end{eqnarray})

Avoid eqnarray https://tug.org/pracjourn/2006-4/madsen/madsen.pdf

And avoid such shortened definitions. It makes your source less
readable for other and disables the environment checking of your
editor.

> The first equation lines is OK, but the second gives me the error
>
> ! Illegal unit of measure (pt inserted).
> <to be read again>
> (
> l.107 [\Phi(u,v),\Phi(u',v') ]
> _{u+v=u'+v'}&=&0
> ?
>
> (that is of course the second equation line above)
>
> If I replace those [ with \lbrack it works properly. but of course while
> typing, [ is much easier than \lbrack and reads more easily as well
> while proofreading the tex.
>
>
> What am I not understanding about [ in this context

\\ takes an optional argument, \\[5pt] or \\ [5pt] inserts a space,
and with eqnarray it finds the [ on the next line and then complains
that no dimension follows.

Use amsmath and align:

\documentclass{article}
\usepackage{amsmath}

\begin{document}
\begin{align}
[\Phi(u,v),\Pi(u',v') ]_{(u+v=u'+v')}&=i \delta((v-u-(v'-u'))/2)
\\
[\Phi(u,v),\Phi(u',v') ]_{u+v=u'+v'}&=0
\\
[\Pi(u,v),\Pi(u',v') ]_{u+v=u'+v'}&=0
\end{align}

\end{document}

Re: Strange behaviour (to me) of [

<tlpaud$s1at$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5692&group=comp.text.tex#5692

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: comp.text.tex
Subject: Re: Strange behaviour (to me) of [
Date: Fri, 25 Nov 2022 02:57:17 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 85
Message-ID: <tlpaud$s1at$1@dont-email.me>
References: <tloasn$mt6o$1@dont-email.me> <1b6xfibt78qig$.dlg@nililand.de>
Injection-Date: Fri, 25 Nov 2022 02:57:17 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="54bc9c56d07d288ba84fe418ce44c775";
logging-data="918877"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/q5l37njPCw7uuE7ZP0gpM"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:lb2qpsent+90iw2tFNLTOmXq/Aw=
 by: William Unruh - Fri, 25 Nov 2022 02:57 UTC

On 2022-11-24, Ulrike Fischer <news3@nililand.de> wrote:
> Am Thu, 24 Nov 2022 17:50:15 -0000 (UTC) schrieb William Unruh:
>
>> Running in Latex , I have an equations
>>
>> \bea
>> [\Phi(u,v),\Pi(u',v') ]_{(u+v=u'+v')}&=& i \delta((v-u-(v'-u'))/2)
>> \\
>> [\Phi(u,v),\Phi(u',v') ]_{u+v=u'+v'}&=&0
>> \\
>> [\Pi(u,v),\Pi(u',v') ]_{u+v=u'+v'}&=&0
>> \eea
>>
>> (\bea is \begin{eqnarray} and \eea is \end{eqnarray})
>
> Avoid eqnarray https://tug.org/pracjourn/2006-4/madsen/madsen.pdf

Ah yes. Reminds me of the vi vs emacs wars.
"Full of sound and fury, signifying little"

From what I have read it would seem that array has just as many
infelicities or messiness as does eqnarray.

>
> And avoid such shortened definitions. It makes your source less
> readable for other and disables the environment checking of your
> editor.

It makes typing my manuscript easier, which for me is the a dominant
requirement.
After all I could also carve my equations into granite as well, and they
would last much longer and my freedom for generating just the layout I
want would be much greater :-)
>
>> The first equation lines is OK, but the second gives me the error
>>
>> ! Illegal unit of measure (pt inserted).
>> <to be read again>
>> (
>> l.107 [\Phi(u,v),\Phi(u',v') ]
>> _{u+v=u'+v'}&=&0
>> ?
>>
>> (that is of course the second equation line above)
>>
>> If I replace those [ with \lbrack it works properly. but of course while
>> typing, [ is much easier than \lbrack and reads more easily as well
>> while proofreading the tex.
>>
>>
>> What am I not understanding about [ in this context
>
> \\ takes an optional argument, \\[5pt] or \\ [5pt] inserts a space,
> and with eqnarray it finds the [ on the next line and then complains
> that no dimension follows.

Ah. That I certainly never knew. Another suggestion I found was to use either
{[} or \lbrack. I guess {}[ would also work. All are a pain, but I guess
necessary given the peculiarity of latex.
>
> Use amsmath and align:
>
> \documentclass{article}
> \usepackage{amsmath}
>
> \begin{document}
> \begin{align}
> [\Phi(u,v),\Pi(u',v') ]_{(u+v=u'+v')}&=i \delta((v-u-(v'-u'))/2)
> \\
> [\Phi(u,v),\Phi(u',v') ]_{u+v=u'+v'}&=0
> \\
> [\Pi(u,v),\Pi(u',v') ]_{u+v=u'+v'}&=0
> \end{align}

But if \\ takes an optional argument won't this have the same problem? Or is it
just \\ in the eqnarray environment that has the problems?

Just tried it, and it does not seem to be a problem in the align
environment.

>
> \end{document}
>

Re: Strange behaviour (to me) of [

<6380902F.5348003A@Berger-Odenthal.De>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5693&group=comp.text.tex#5693

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Spam@Berger-Odenthal.De (Axel Berger)
Newsgroups: comp.text.tex
Subject: Re: Strange behaviour (to me) of [
Date: Fri, 25 Nov 2022 10:51:43 +0100
Lines: 21
Message-ID: <6380902F.5348003A@Berger-Odenthal.De>
References: <tloasn$mt6o$1@dont-email.me> <1b6xfibt78qig$.dlg@nililand.de> <tlpaud$s1at$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: individual.net 5+x8J0LjnjLEhWfzzTTXOAqyQ3H8/SBmkVEr9mUXcN9cRQU3RW
Cancel-Lock: sha1:TiVaKh7nauOwseN0YSRtvJNsMmw=
X-Mailer: Mozilla 4.8 [en] (Win98; U)
X-Accept-Language: en,de,nl,es,fr
 by: Axel Berger - Fri, 25 Nov 2022 09:51 UTC

William Unruh wrote:
> It makes typing my manuscript easier,

That is you editor's job. You define shortcuts for typing and have them
expanded. Thus you could e.g. have "<bea" (inspired by HTML but also
because on a German keyboard "<" is easy but "\" a pain) expand to

\begin{eqnarray}

\end{eqnarray}

with the cursor in the empty middle line. Your editor can't do that and
can't be configured to do it exactly the way you want it to? Ditch it!

--
/¯\ No | Dipl.-Ing. F. Axel Berger Tel: +49/ 221/ 7771 8067
\ / HTML | Roald-Amundsen-Straße 2a Fax: +49/ 221/ 7771 8069
 X in | D-50829 Köln-Ossendorf http://berger-odenthal.de
/ \ Mail | -- No unannounced, large, binary attachments, please! --

Re: Strange behaviour (to me) of [

<jubsirF76p1U2@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5695&group=comp.text.tex#5695

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: peter@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.tex
Subject: Re: Strange behaviour (to me) of [
Date: Fri, 25 Nov 2022 13:00:11 +0000
Organization: Usenet Labs Bozon Detector Facility
Lines: 50
Message-ID: <jubsirF76p1U2@mid.individual.net>
References: <tloasn$mt6o$1@dont-email.me> <1b6xfibt78qig$.dlg@nililand.de>
<tlpaud$s1at$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net Vh8Wn7xc4X6PP3/E41mBAA0aWnr0It2F9WYdDtwppbZW4ePKXf
Cancel-Lock: sha1:/LnFgpZeN5f+64wacfqcuOGRkDE=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Content-Language: en-US
In-Reply-To: <tlpaud$s1at$1@dont-email.me>
 by: Peter Flynn - Fri, 25 Nov 2022 13:00 UTC

Am Thu, 24 Nov 2022 17:50:15 -0000 (UTC) schrieb William Unruh:

> Running in Latex , I have an equations
>
> \bea
> [\Phi(u,v),\Pi(u',v') ]_{(u+v=u'+v')}&=& i \delta((v-u-(v'-u'))/2)
> \\
> [\Phi(u,v),\Phi(u',v') ]_{u+v=u'+v'}&=&0
> \\
> [\Pi(u,v),\Pi(u',v') ]_{u+v=u'+v'}&=&0
> \eea
>
> (\bea is \begin{eqnarray} and \eea is \end{eqnarray})

> On 2022-11-24, Ulrike Fischer <news3@nililand.de> wrote:
>> Avoid eqnarray https://tug.org/pracjourn/2006-4/madsen/madsen.pdf
>
> Ah yes. Reminds me of the vi vs emacs wars.
> "Full of sound and fury, signifying little"

Macbeth, of course, used Emacs :-)

>> And avoid such shortened definitions. It makes your source less
>> readable for other and disables the environment checking of your
>> editor.
>
> It makes typing my manuscript easier, which for me is the a dominant
> requirement.

Yes, always a good reason, and if you are the only person ever to need
to read or edit the source code, I can see the attraction.

Do none of the many editors which insert markup for you meet the
requirements?

>> \\ takes an optional argument, \\[5pt] or \\ [5pt] inserts a space,
>
> Ah. That I certainly never knew.

It would be enormously useful to those of us who write documentation if
you could let us know how we are missing telling people this.

> Another suggestion I found was to use either {[} or \lbrack. I guess
> {}[ would also work. All are a pain, but I guess necessary given the
> peculiarity of latex.

Another good reason for using an editor which understands the syntax :-)

Peter

Re: Strange behaviour (to me) of [

<tlr6kc$12rgd$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5698&group=comp.text.tex#5698

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: comp.text.tex
Subject: Re: Strange behaviour (to me) of [
Date: Fri, 25 Nov 2022 19:55:56 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 73
Message-ID: <tlr6kc$12rgd$1@dont-email.me>
References: <tloasn$mt6o$1@dont-email.me> <1b6xfibt78qig$.dlg@nililand.de>
<tlpaud$s1at$1@dont-email.me> <jubsirF76p1U2@mid.individual.net>
Injection-Date: Fri, 25 Nov 2022 19:55:56 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="54bc9c56d07d288ba84fe418ce44c775";
logging-data="1142285"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19xBCQDLCc3KrdOvvtznubO"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:/G5XZSulYFDlAMjUw2L+uHlNzcA=
 by: William Unruh - Fri, 25 Nov 2022 19:55 UTC

On 2022-11-25, Peter Flynn <peter@silmaril.ie> wrote:
>
> Am Thu, 24 Nov 2022 17:50:15 -0000 (UTC) schrieb William Unruh:
>
>> Running in Latex , I have an equations
>>
>> \bea
>> [\Phi(u,v),\Pi(u',v') ]_{(u+v=u'+v')}&=& i \delta((v-u-(v'-u'))/2)
>> \\
>> [\Phi(u,v),\Phi(u',v') ]_{u+v=u'+v'}&=&0
>> \\
>> [\Pi(u,v),\Pi(u',v') ]_{u+v=u'+v'}&=&0
>> \eea
>>
>> (\bea is \begin{eqnarray} and \eea is \end{eqnarray})
>
> > On 2022-11-24, Ulrike Fischer <news3@nililand.de> wrote:
>>> Avoid eqnarray https://tug.org/pracjourn/2006-4/madsen/madsen.pdf
>>
>> Ah yes. Reminds me of the vi vs emacs wars.
>> "Full of sound and fury, signifying little"
>
> Macbeth, of course, used Emacs :-)
>
>>> And avoid such shortened definitions. It makes your source less
>>> readable for other and disables the environment checking of your
>>> editor.
> >
> > It makes typing my manuscript easier, which for me is the a dominant
> > requirement.
>
> Yes, always a good reason, and if you are the only person ever to need
> to read or edit the source code, I can see the attraction.
>
> Do none of the many editors which insert markup for you meet the
> requirements?
>
>>> \\ takes an optional argument, \\[5pt] or \\ [5pt] inserts a space,
> >
>> Ah. That I certainly never knew.
>
> It would be enormously useful to those of us who write documentation if
> you could let us know how we are missing telling people this.

Many (most) of the comments on \\ that I found on the web simply state
that gives line break (equivalent to \cr in tex) and \\* supresses page breaks. Some say "takes an
optional argument" sometimes.
For example \\ in the align enviroment apparently does not take an
optional argument. In the eqnarray environment it does even if the [ is
in a separate line and separated by spaces. So it seems \\ is a mess,
not eqnarray:-)

>
>> Another suggestion I found was to use either {[} or \lbrack. I guess
>> {}[ would also work. All are a pain, but I guess necessary given the
>> peculiarity of latex.
>
> Another good reason for using an editor which understands the syntax :-)

I use vim
It does not seem to understand this syntax.

By the way, another nice feature of the eqnarray is that it understands
the presence of 0 1 or 2 & in the equations. And it understands 0 or
many \\ in the set of equations. Which means I can use it as
a generic equation designator without having to worry about a single
line equation, or a multiline equation, with 0 1 or 2 & in them.
(well you have to be careful with one & as it will center the second
part of the equation, unlike align which left justfies it-- an error
which is immediately obvious in the formatted text.)

>
> Peter

Re: Strange behaviour (to me) of [

<63812544.58E8D395@Berger-Odenthal.De>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5699&group=comp.text.tex#5699

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Spam@Berger-Odenthal.De (Axel Berger)
Newsgroups: comp.text.tex
Subject: Re: Strange behaviour (to me) of [
Date: Fri, 25 Nov 2022 21:27:48 +0100
Lines: 16
Message-ID: <63812544.58E8D395@Berger-Odenthal.De>
References: <tloasn$mt6o$1@dont-email.me> <1b6xfibt78qig$.dlg@nililand.de>
<tlpaud$s1at$1@dont-email.me> <jubsirF76p1U2@mid.individual.net> <tlr6kc$12rgd$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: individual.net 0N7+sL/Brn7Qp2VjlwABIQ0EQ1H3YI7+Kjdy+gbmrYs52N63GV
Cancel-Lock: sha1:10SWZ2q53S/Ir/Kl+IvcCme7Ulg=
X-Mailer: Mozilla 4.8 [en] (Win98; U)
X-Accept-Language: en,de,nl,es,fr
 by: Axel Berger - Fri, 25 Nov 2022 20:27 UTC

William Unruh wrote:
> So it seems \\ is a mess, not eqnarray:-)

Some environments redefine stuff inside them. So it is with all kinds of
tables, of which arrays are asubset, and newlines. All this can be found
in the doc of the environments involved and Lamport himself says quite a
bit about it. His user's guide is something everyone ought to read in
full at least once and keep to hand after.

--
/¯\ No | Dipl.-Ing. F. Axel Berger Tel: +49/ 221/ 7771 8067
\ / HTML | Roald-Amundsen-Straße 2a Fax: +49/ 221/ 7771 8069
 X in | D-50829 Köln-Ossendorf http://berger-odenthal.de
/ \ Mail | -- No unannounced, large, binary attachments, please! --

Re: Strange behaviour (to me) of [

<19x6rsr82aq3d$.dlg@nililand.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5700&group=comp.text.tex#5700

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: news3@nililand.de (Ulrike Fischer)
Newsgroups: comp.text.tex
Subject: Re: Strange behaviour (to me) of [
Date: Fri, 25 Nov 2022 21:57:21 +0100
Lines: 31
Message-ID: <19x6rsr82aq3d$.dlg@nililand.de>
References: <tloasn$mt6o$1@dont-email.me> <1b6xfibt78qig$.dlg@nililand.de> <tlpaud$s1at$1@dont-email.me> <jubsirF76p1U2@mid.individual.net> <tlr6kc$12rgd$1@dont-email.me>
Reply-To: news3@nililand.de
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net +a99uGcZnpDTGnmlqlksHwilz+D4QwTeYZV9l7HT+BY32kDh29
Cancel-Lock: sha1:gf/TPCE9ikPb23Wytj+3XiXiHF4=
User-Agent: 40tude_Dialog/2.0.15.41de
 by: Ulrike Fischer - Fri, 25 Nov 2022 20:57 UTC

Am Fri, 25 Nov 2022 19:55:56 -0000 (UTC) schrieb William Unruh:

> For example \\ in the align enviroment apparently does not take an
> optional argument. In the eqnarray environment it does even if the [ is
> in a separate line and separated by spaces. So it seems \\ is a mess,
> not eqnarray:-)

\\ takes an optional argument in align too:

\documentclass{article}
\usepackage{amsmath}

\begin{document}
\begin{align}
a&=b
\\[2cm]
c&=d
\end{align}

\end{document}

But align requires that there is no space or line break, and so it
doesn't fail in your case.

And eqnarray is faulty. There is no doubt about it. You should
really read the article to see the problems.

--
Ulrike Fischer
http://www.troubleshooting-tex.de/

Re: Strange behaviour (to me) of [

<jucsetFc3e0U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5701&group=comp.text.tex#5701

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: peter@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.tex
Subject: Re: Strange behaviour (to me) of [
Date: Fri, 25 Nov 2022 22:04:11 +0000
Organization: Usenet Labs Bozon Detector Facility
Lines: 34
Message-ID: <jucsetFc3e0U1@mid.individual.net>
References: <tloasn$mt6o$1@dont-email.me> <1b6xfibt78qig$.dlg@nililand.de>
<tlpaud$s1at$1@dont-email.me> <jubsirF76p1U2@mid.individual.net>
<tlr6kc$12rgd$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net cyPDamFGv2qXPrUtZCRn3Qs3NTUp+rFyOO86xN+t08ZbKUim+2
Cancel-Lock: sha1:EDlysLolU+8rFpIV69J9F94GKzM=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Content-Language: en-US
In-Reply-To: <tlr6kc$12rgd$1@dont-email.me>
 by: Peter Flynn - Fri, 25 Nov 2022 22:04 UTC

On 25/11/2022 19:55, William Unruh wrote:
> On 2022-11-25, Peter Flynn <peter@silmaril.ie> wrote:
[...]
>> It would be enormously useful to those of us who write documentation if
>> you could let us know how we are missing telling people this.
>
> Many (most) of the comments on \\ that I found on the web simply
> state that gives line break (equivalent to \cr in tex) and \\*
> suppresses page breaks.

Thank you; that is very useful. This sounds like rough-and-ready
documentation written by people who themselves don't know the facts.

> Some say "takes an optional argument" sometimes.
I don't know which is worse, failing to say it takes an argument, or
saying that it does so sometimes without saying when.

> For example \\ in the align enviroment apparently does not take an
> optional argument. In the eqnarray environment it does even if the [
> is in a separate line and separated by spaces. So it seems \\ is a
> mess, not eqnarray :-)

As Axel said, "Some environments redefine stuff inside them." All we can
do is document the default behaviour. It's up to the authors of packages
to identify when their package modifies that behaviour. Yes, it's a
mess, but it is all there.

> By the way, another nice feature of the eqnarray is that it understands
[snip]

I'll leave that to the mathematicians :-)

Peter

Re: Strange behaviour (to me) of [

<tlrskk$15cqf$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5702&group=comp.text.tex#5702

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: comp.text.tex
Subject: Re: Strange behaviour (to me) of [
Date: Sat, 26 Nov 2022 02:11:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <tlrskk$15cqf$1@dont-email.me>
References: <tloasn$mt6o$1@dont-email.me> <1b6xfibt78qig$.dlg@nililand.de>
<tlpaud$s1at$1@dont-email.me> <jubsirF76p1U2@mid.individual.net>
<tlr6kc$12rgd$1@dont-email.me> <19x6rsr82aq3d$.dlg@nililand.de>
Injection-Date: Sat, 26 Nov 2022 02:11:32 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="e60daa46e4b223e3c6e3c9adbed83a99";
logging-data="1225551"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dAsrC5io2YOUwBrB99acp"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:tgt7IF2wSKqxwwseQbaFV/BWIRw=
 by: William Unruh - Sat, 26 Nov 2022 02:11 UTC

On 2022-11-25, Ulrike Fischer <news3@nililand.de> wrote:
> Am Fri, 25 Nov 2022 19:55:56 -0000 (UTC) schrieb William Unruh:
>
>> For example \\ in the align enviroment apparently does not take an
>> optional argument. In the eqnarray environment it does even if the [ is
>> in a separate line and separated by spaces. So it seems \\ is a mess,
>> not eqnarray:-)
>
> \\ takes an optional argument in align too:
>
> \documentclass{article}
> \usepackage{amsmath}
>
> \begin{document}
> \begin{align}
> a&=b
> \\[2cm]
> c&=d
> \end{align}
>
> \end{document}
>
> But align requires that there is no space or line break, and so it
> doesn't fail in your case.

>
> And eqnarray is faulty. There is no doubt about it. You should
> really read the article to see the problems.

I did. I am not convinced.
>
>

Re: Strange behaviour (to me) of [

<tlt2rs$1ahei$1@solani.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5704&group=comp.text.tex#5704

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: ud.usenetcorrespondence@web.de (Ulrich D i e z)
Newsgroups: comp.text.tex
Subject: Re: Strange behaviour (to me) of [
Date: Sat, 26 Nov 2022 14:04:16 +0100
Message-ID: <tlt2rs$1ahei$1@solani.org>
References: <tloasn$mt6o$1@dont-email.me> <1b6xfibt78qig$.dlg@nililand.de>
<tlpaud$s1at$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 26 Nov 2022 13:03:56 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1394130"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:60.0) Gecko/20100101
Thunderbird/60.9.0
Cancel-Lock: sha1:c/71NMZfF0X8cYKH0N/cSMaacRc=
In-Reply-To: <tlpaud$s1at$1@dont-email.me>
Content-Language: en-US
X-User-ID: eJwFwYEBwCAIA7CXUGjBcxwr/59gAudiZxAMDOba4Srkpmcky3XLqRP66Lv1x0gNmAzH2h4A8BCA
 by: Ulrich D i e z - Sat, 26 Nov 2022 13:04 UTC

William Unruh schrieb:

> It makes typing my manuscript easier, which for me is the a dominant
> requirement.

Having an editor type longer sequences of text into your .tex-input-file
when you type shortcuts to the editor is also a convenient way of
easing up typing the manuscript.

> Ah. That I certainly never knew. Another suggestion I found was to use either
> {[} or \lbrack. I guess {}[ would also work. All are a pain, but I guess
> necessary given the peculiarity of latex.

In order to prevent \\ from finding [ and taking that for an optional argument
you can append \relax or \empty, i.e., do s.th. like \\\relax or \\\empty :

\begin{<whatsoever environment>}
[\Phi(u,v),\Pi(u',v') ]_{(u+v=u'+v')}&=& i \delta((v-u-(v'-u'))/2)
\\\empty
[\Phi(u,v),\Phi(u',v') ]_{u+v=u'+v'}&=&0
\\\empty
[\Pi(u,v),\Pi(u',v') ]_{u+v=u'+v'}&=&0
\end{<whatsoever environment>}

Ulrich

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor