LaTeX Troubleshooting \bar vs. \overbar in LaTeX

AI Thread Summary
The discussion centers on the differences between the \bar and \overbar operators in LaTeX, with a focus on their visual appeal and functionality. The original poster, Dan, experienced issues with the \overbar command, which displayed incorrectly in their post. After further testing, Dan discovered that using the "overline" command provided the desired results. The confusion arose from mixing up the \bar and \overbar commands, leading to the initial problem. Ultimately, the thread highlights the importance of understanding LaTeX commands for proper formatting.
topsquark
Science Advisor
Homework Helper
Insights Author
MHB
Messages
2,020
Reaction score
843
I was just on a thread and I noted that MarkFL's \bar operator didn't look quite as nice as using the \overbar operator. It worked for me when I first tested it in the thread, but when I posted it the tex box gave me \overbarAB ie. \overbar{AB}

Since it worked for me the first time I can only assume that \overbar is part of the current LaTeX version. Does anyone know why it's doing this?

Thanks!

-Dan
 
Physics news on Phys.org
Link to thread so we can see it working properly and not properly?
 
Ah Jameson. You're too efficient. I just spotted the solution to my problem. I tested the LaTeX using "overline." I saw MarkFL's \bar command and I got \overbar stuck in my head and used that to answer the post.

Sorry for the confusion and thanks for the quick response.

-Dan
 

Similar threads

Replies
12
Views
3K
Replies
8
Views
2K
Replies
8
Views
2K
Replies
11
Views
5K
Replies
7
Views
12K
Replies
11
Views
2K
Replies
7
Views
3K
Replies
3
Views
4K
Back
Top