[NTG-context] How do I typeset two close vertical lines as in ||x||=1 ?

2011-05-19 Thread Julian Becker
I'm still having problems migrating from latex to context:
In latex, I used to write e.g. $\| x \| = 1$, and get two vertical lines on
each side of the x. In ConTeXt, the same \| is only producing one single
vertical line. I tried using || and \parallel, but in both cases the
spacing is not as desired. Does anybody know how this is done properly?

Thanks,
Julian
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] How do I typeset two close vertical lines as in ||x||=1 ?

2011-05-19 Thread Wolfgang Schuster

Am 19.05.2011 um 13:04 schrieb Julian Becker:

 I'm still having problems migrating from latex to context:
 In latex, I used to write e.g. $\| x \| = 1$, and get two vertical lines on 
 each side of the x. In ConTeXt, the same \| is only producing one single 
 vertical line. I tried using || and \parallel, but in both cases the 
 spacing is not as desired. Does anybody know how this is done properly?

\starttext
$\Vert x \Vert = 1$
\stoptext

Wolfgang


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] How do I typeset two close vertical lines as in ||x||=1 ?

2011-05-19 Thread Julian Becker
thank you, Wolfgang, for your quick reply! This is exactly what I needed!

2011/5/19 Wolfgang Schuster schuster.wolfg...@googlemail.com


 Am 19.05.2011 um 13:04 schrieb Julian Becker:

  I'm still having problems migrating from latex to context:
  In latex, I used to write e.g. $\| x \| = 1$, and get two vertical lines
 on each side of the x. In ConTeXt, the same \| is only producing one
 single vertical line. I tried using || and \parallel, but in both cases
 the spacing is not as desired. Does anybody know how this is done properly?

 \starttext
 $\Vert x \Vert = 1$
 \stoptext

 Wolfgang



 ___
 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] How do I typeset two close vertical lines as in ||x||=1 ?

2011-05-19 Thread Aditya Mahajan

On Thu, 19 May 2011, Wolfgang Schuster wrote:



Am 19.05.2011 um 13:04 schrieb Julian Becker:


I'm still having problems migrating from latex to context:
In latex, I used to write e.g. $\| x \| = 1$, and get two vertical lines on each side of the x. In ConTeXt, 
the same \| is only producing one single vertical line. I tried using || and 
\parallel, but in both cases the spacing is not as desired. Does anybody know how this is done 
properly?


\starttext
$\Vert x \Vert = 1$
\stoptext


$\lVert x \rVert$ gives better spacing (even in LaTeX).

Aditya
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___