[Tex/LaTex] What command to use for reversed $\vDash$

logicsymbols

I want to use a symbol similar to

$\vDash$ 

but reversed (like if it's mirrored against an imaginary vertical line). I cannot find such a symbol anywhere. I have used detexify too but no luck there either.

Do you know what command and package I should use?

Best Answer

Constructed symbol

If the font does not provide the symbol, the mirroring can be done with package graphicx:

\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}

\makeatletter
\providecommand*{\Dashv}{%
  \mathrel{%
    \mathpalette\@Dashv\vDash
  }%
}
\newcommand*{\@Dashv}[2]{%
  \reflectbox{$\m@th#1#2$}%
}
\makeatother

\begin{document}
\[ A \vDash B \Dashv C \]
\end{document}

Result

Remark:

  • The stuff with \mathpalette ensures that the symbol is properly scaled if it is used in different contexts (as index, in fractions, …).

Font package MnSymbol

If package MnSymbol is loaded (it also changes other math symbols), then the symbol is available as \leftmodels:

\documentclass{article}
\usepackage{MnSymbol}
\begin{document}
\[ A \leftmodels B \]
\end{document}

Result MnSymbol

Font package mathabx

If package mathabx is used (also changes other math symbols), then the symbol is called \Dashv:

\documentclass{article}
\usepackage{mathabx}
\begin{document}
\[ A \Dashv B \]
\end{document}

Result mathabx