I want a double widehat accent. Here's my setup: xelatex, accents package, and a definition of dwtilde command (as a reference to dhatheight shows, the code is a modification of someone else's code found on the Web):


I'm using euscript for Euler fonts. Then, a $\dwtilde{\mathscr A}$ produces two wide tildes with the top one shifted to the left. How do I put the accents aligned horizontally?

Here's an example:

Wrong alignment of two accents


Run it with xelatex

%\setmathfont{XITS Math}

$\dWDTilde{\mathscr A}$ 


enter image description here

  • 1
    the two accents are aligned with one another, but unfortunately, they're visually too far to the left. that symbol looks like something that should appear on the funnel of a steamship. – barbara beeton Sep 30 '14 at 12:38
  • I don't want to change the fonts (Computer Modern Concrete Postscript fonts with cyrillics + Euler math fonts). I use fontspec to redefine main fonts. – Andrei Zorine Sep 30 '14 at 13:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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