[Tex/LaTex] Negated Turnstile

logicturnstile

I wonder if anyone knows how can I produce negated turnstile symbols using the turnstile package. The default option of $\vdash$ and $\nvdash$ is not ok. I want the same options the turnstile package provides with a negated form.

Best Answer

You could use \not in front of the \vdash for instance. However, the alignment of \not might not be centered. In this case use the package centernot with the command \centernot:

\documentclass{article}
\usepackage{amsmath}
\usepackage{turnstile}
  \usepackage{centernot}
      \begin{document}
\[\begin{array}{lll}
\not\vdash &\not\sststile{A}{B}&\Gamma \not\sdtstile{\mathrm{LC}}{x,y,z,w} P\\ [1em] 
\centernot\vdash&\centernot{\sststile{A}{B}}&\Gamma \centernot{\sdtstile{\mathrm{LC}}{x,y,z,w}} P
\end{array}\]
    \end{document}

enter image description here

Edit: To get the \vdash and \nvdash , you could just load the amssymb package.