\bar - Command to show bar symbol
{ \bar #1 }
\bar command shows bar symbol over the parameter passed.
\bar x
\bar X
\bar xy
\bar {xy}