* How do I typeset two close vertical lines as in ||x||=1 ?
@ 2011-05-19 11:04 Julian Becker
2011-05-19 11:15 ` Wolfgang Schuster
0 siblings, 1 reply; 4+ messages in thread
From: Julian Becker @ 2011-05-19 11:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 371 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 483 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How do I typeset two close vertical lines as in ||x||=1 ?
2011-05-19 11:04 How do I typeset two close vertical lines as in ||x||=1 ? Julian Becker
@ 2011-05-19 11:15 ` Wolfgang Schuster
2011-05-19 11:17 ` Julian Becker
2011-05-19 13:34 ` Aditya Mahajan
0 siblings, 2 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2011-05-19 11:15 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How do I typeset two close vertical lines as in ||x||=1 ?
2011-05-19 11:15 ` Wolfgang Schuster
@ 2011-05-19 11:17 ` Julian Becker
2011-05-19 13:34 ` Aditya Mahajan
1 sibling, 0 replies; 4+ messages in thread
From: Julian Becker @ 2011-05-19 11:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1474 bytes --]
thank you, Wolfgang, for your quick reply! This is exactly what I needed!
2011/5/19 Wolfgang Schuster <schuster.wolfgang@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_beck16@uni-muenster.de
"Keep thy heart with all diligence; for it is the wellspring of life."
[-- Attachment #1.2: Type: text/html, Size: 2255 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How do I typeset two close vertical lines as in ||x||=1 ?
2011-05-19 11:15 ` Wolfgang Schuster
2011-05-19 11:17 ` Julian Becker
@ 2011-05-19 13:34 ` Aditya Mahajan
1 sibling, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2011-05-19 13:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-05-19 13:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-19 11:04 How do I typeset two close vertical lines as in ||x||=1 ? Julian Becker
2011-05-19 11:15 ` Wolfgang Schuster
2011-05-19 11:17 ` Julian Becker
2011-05-19 13:34 ` Aditya Mahajan
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).