Simple latex notation question

1. Aug 6, 2008

jeffreydk

Is there a symbol in latex for a divide bar that works with absolute values? The problem is for example if you want to write $|a|$ divides $|b|$. It ends up looking horrible because you can't tell the difference between the abs value signs and the divide bar...

$$|a| \vert |b|$$

Any suggestions?

2. Aug 6, 2008

Focus

You can use \frac $$\frac{|a|}{|b|}$$ or if you want to do it the way you want with space use \quad or \qquad or more recommended is \, \: \; $$|a| \, \vert \, |b| =|a| \: \vert \: |b| = |a| \; \vert \; |b| = |a| \quad \vert \quad |b| =|a| \qquad \vert \qquad |b|$$ or \div $$|a| \div |b|$$. Possibilities are endless really. I like \fraq personally, I find it more readable. I know there is also one that does like x/y but I never use it so I cant remember.

Hope this helps

3. Aug 6, 2008

jeffreydk

Oh ok I see, that does help. Thanks.