LaTeX Simple latex notation question

  • Thread starter Thread starter jeffreydk
  • Start date Start date
  • Tags Tags
    Latex Notation
AI Thread Summary
The discussion focuses on finding a suitable symbol in LaTeX to represent a divide bar that distinguishes itself from absolute value signs, particularly in expressions like |a| divides |b|. Users suggest various formatting options to improve clarity, including using \frac to create a fraction, and incorporating spacing commands like \quad, \qquad, \, , \:, and \; to separate the absolute values from the divide bar. The consensus leans towards using \frac for better readability, while also acknowledging that there are multiple ways to achieve the desired formatting. Overall, the conversation highlights the importance of clarity in mathematical notation when using LaTeX.
jeffreydk
Messages
133
Reaction score
0
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?
 
Physics news on Phys.org
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 can't remember.

Hope this helps
 
Oh ok I see, that does help. Thanks.
 

Similar threads

Replies
11
Views
5K
Replies
5
Views
3K
Replies
3
Views
2K
Replies
3
Views
2K
Replies
7
Views
3K
Replies
14
Views
2K
Back
Top