12

Does anybody know if there is a "mirror" tilde accent command in any package? That is, the "wiggling" of the tilde accent going in the other direction.

Something like defining this \backtilde command:

\newcommand{\backtilde}[1]{\overset{\backsim}{#1}}

but not quite. The kerning, sizes, etc... are not the same as with the \tilde{} command.

Related to this: a mirror version of the \vec{} accentuation.

  • 1
    Welcome to TeX.SX! A tip: If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with {} on it). Finally, you can also use backticks ` to mark your inline code as I did in my edit. – Adam Liter Oct 28 '13 at 15:03
12

The accents package turns out to be useful:

\documentclass{article}
\usepackage{accents,graphicx}

\newcommand{\backtildeacc}{%
  \raisebox{-1.25ex}[.3ex][0pt]{\reflectbox{\char"7E}}%
}
\newcommand{\btilde}[1]{\accentset{\backtildeacc}{#1}}

\begin{document}
$\tilde{A}\btilde{A}$

\fboxsep=0pt
\fbox{$\btilde{A}$}\fbox{$\tilde{A}$}
\end{document}

enter image description here

1

Try \backsim from the amssymb package. See the image below

enter image description here

  • 1
    I did. This is the command I proposed within my question, but the results are not equivalent. – Andres Oct 28 '13 at 15:10
  • Oh, sorry. What do you mean by other direction? – Sigur Oct 28 '13 at 15:11
  • The direction is OK, is just if you compare putting a \overset{\backsim}{A} with \tilde{A} you will see the difference. – Andres Oct 28 '13 at 15:13
1

You can scale your backsim like this:

\documentclass{article}

\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}

\begin{document}
\[\tilde{A}\]

\[\overset{\backsim}{A}\]

\[\overset{\scalebox{0.5}{$\backsim$}}{A}\]
\end{document}

Still not totally the same, but it could be used as workaround...

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.