I used LaTeX to write a document, and I was writing complex conjugates, so I had to make line a line on top of each number like this
\overline X\cdot\overline y
But there's an alignment issue with the line on top of them. How to fix that?
I used LaTeX to write a document, and I was writing complex conjugates, so I had to make line a line on top of each number like this
\overline X\cdot\overline y
But there's an alignment issue with the line on top of them. How to fix that?
You can use \vphantom to ensure they have the same heights:
\overline{x \vphantom y} \cdot \overline y
\vphantom y adds the vertical space of a y, but no horizontal space.
\overline{x \vphantom y} \cdot \overline ysolve the problem? – Arun Debray Jan 17 '16 at 21:22aandb, rather thanxandy? – egreg Jan 17 '16 at 22:21\overline{X}\cdot\overline{z}– user153330 Jan 17 '16 at 22:24\bar, usually; if the characters have different height, then the bar will be at different height. – egreg Jan 17 '16 at 22:26