I think that most people are familiar with the fact that \bar
creates a bar which is much too small, yet \overline
creates a bar which is too long. I recently came across this excellent answer where the new command \widebar
is defined, which gets the balance perfectly:
Now the problem is, one may want to write \widebar{\widebar{A}}
(when writing notes about the closure of a set being idempotent, for example). However when I attempt to do this I get the following:
Any ideas how I can go about a double \widebar
which remains the same width? I appreciate any help.
Edit: I do not wish to use \overline{\overline{...}}
or \bar{\bar{...}}
, because the problems when they are used once are still present: namely that one is too small and the other is too large. I would like to obtain a double \widebar
.
Best Answer
Although I do not fully understand the macro
\widebar
defined in the answer you linked to, I have managed to modify it to work for other accents (including stacked accents).Here is the code:
and here is the output:
Note that this also works for other combinations of accents: