From: Otared Kavian <otared@wanadoo.fr>
Subject: bug with glue and spaces in formulas?
Date: Wed, 10 Nov 2004 19:44:49 +0100 [thread overview]
Message-ID: <p0611040bbdb80db9e03f@[10.0.1.9]> (raw)
Hi Hans and all Contexters,
While discussing with David Munger about the Steps macros he wrote
for presentations in ConTeXt (see the thread \presentationstep), we
noticed that there seems to be a problem with "white spaces" or glue
around some "binary operators" such as +, - and =.
Please see the result of the following sample.
Best regards: OK
%%%% begin file test-glue.tex
\starttext
This is to verify how the space, or glue, is controlled in \ConTeXt.
First some binary operators ``$\in$'', ``$+$'', ``$-$'' and ``$=$''
without grouping braces:
\placeformula[eq:plain]
\startformula
x\in \Omega \subset {\Bbb R}^N,\quad\quad -\Delta u + u -u^3 = f.
\stopformula
Next the same with braces
\placeformula[eq:braces1]
\startformula
x{\in} \Omega {\subset} {\Bbb R}^N,\quad\quad {-}\Delta u {+} u {-u^3} {=} f.
\stopformula
Note how the spaces around the signs $\in$, $+$, $-$ and $=$ have
shrinked. The problem seems to appear when these are actually binary
operators (that is $+1$ and ${+}1$ give the same result, while
$1+2=3$ is different from $1{+}2{=}3$).
I haven't tried all such binary operators, but it seems that this
happens with all of them: compare $A \cap B$ and $A{\cap}B$, or
$A\cup B$ and $A{\cup}B$.
\stoptext
%%%%% end file test-glue.tex
reply other threads:[~2004-11-10 18:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='p0611040bbdb80db9e03f@[10.0.1.9]' \
--to=otared@wanadoo.fr \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).