ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* + as plain vanilla math character
@ 2007-09-20 10:00 Oliver Buerschaper
  2007-09-20 10:46 ` Taco Hoekwater
  0 siblings, 1 reply; 5+ messages in thread
From: Oliver Buerschaper @ 2007-09-20 10:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear all,

I'm wondering how to typeset a sequence of pluses such that each plus  
is placed with "normal" math character spacing around it ... In this  
snippet I guess a plus (or at least the majority of pluses) is simply  
treated as a binary operator with appropriate spacing:

---

\def\ket#1{\lvert#1\rangle}

\starttext

Note the spacing in
\startformula
\startmathalignment
\NC\ket{+}\NR
\NC\ket{++}\NR
\NC\ket{+++}\NR
\NC\ket{++++}\NR
\NC\ket{000}\NR
\stopmathalignment
\stopformula

\stoptext

---

Cheerio,
Oliver
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-09-20 15:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-20 10:00 + as plain vanilla math character Oliver Buerschaper
2007-09-20 10:46 ` Taco Hoekwater
2007-09-20 12:02   ` Oliver Buerschaper
2007-09-20 12:20     ` Taco Hoekwater
2007-09-20 15:57       ` Oliver Buerschaper

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).