Troubleshooting \bar vs. \overbar in LaTeX

  • Context: LaTeX 
  • Thread starter Thread starter topsquark
  • Start date Start date
  • Tags Tags
    Latex Troubleshooting
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 5K views
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. [tex]\overbar{AB}[/tex]

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