TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to use the double-bar notation for second-order tensors, which is common in continuum mechanics (e.g. for the strain and stress tensors).

I've searched the Comprehensive LATEX Symbol List but failed to find anything conclusive in there.

I've found this discussion, in which Stefan and Thorsten propose the alternatives below.

Is there a preferred way of typesetting this accent?

Subsidiary question: what is the difference between \bar and \Bar?

$\bar{\bar\tau} \quad
\Bar{\Bar\tau} \quad

enter image description here

share|improve this question
\show\Bar gives \bar so no difference (at least in amsmath) – percusse Apr 6 '13 at 15:08
amsmath.sty has \def\Bar{\bar}, so (as percusse said) there's no difference (in amsmath). – Gonzalo Medina Apr 6 '13 at 15:12
In a previous version of amsmath, in order to get double accents one had to use the uppercase variant; this is no longer necessary from amsmath version 2. The old commands have been retained for backwards compatibility. – egreg Apr 6 '13 at 16:53
up vote 7 down vote accepted

egreg's comment comforted me in the thought that both \bar{\bar{...}} and \overline{\overline{...}} can be used to typeset double accents without any nasty side effects.

However, the best way to replicate the double-bar notation for rank-2 tensors, as found there, for instance, seems to be using \overline{\overline{...}}.

\overline{\overline{...}} should be preferred to \bar{\bar{...}} because the \overline produces a vinculum of the same width as its argument, whereas \bar only produces a vinculum of fixed width.

$\rttensor{\epsilon} \quad \rttensor{\sigma} \quad \rttensor{G}$\\[1em]
$\rttensortwo{\epsilon} \quad \rttensortwo{\sigma} \quad \rttensortwo{G}$

enter image description here

share|improve this answer
Aesthetically, however, \bar\bar is more pleasing than \overline\overline. – JohnRos Oct 1 '15 at 12:50
@JohnRos Not to me, especially if the tensor name is long. – Jubobs Oct 1 '15 at 12:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.