LaTex中如何輸出充分條件與非必要條件的符號?

LaTex中如何輸出充分條件與非必要條件的符號?

在此輸入影像描述

LaTex中如何輸出充分條件與非必要條件的符號?我瀏覽了很多網站,但沒有一個令我滿意。謝謝!

答案1

這是帶有 ' 箭頭的符號的構造old-arrows

\documentclass{article}
\usepackage{amsmath,amssymb}
\usepackage[old]{old-arrows}
\newlength{\longwidth}
\newlength{\longheight}
\settowidth{\longwidth}{$\varlongrightarrow$}
\settoheight{\longheight}{$\varlongrightarrow$}
\newcommand{\sufficient}{%
    \mathrel{%
        \raisebox{ .65\longheight}{$\varlongrightarrow$}\hspace*{-\longwidth}%
        \raisebox{-.25\longheight}{$\varlongleftarrow$}\hspace*{-\longwidth}%
        \makebox[\longwidth]{\raisebox{-.15\longheight}{$\smallsetminus$}}%
    }%
}
\begin{document}
\(A \sufficient B\)
\end{document}

答案2

透過一些低階程式設計:

\documentclass{article}

\newcommand{\suffnotnec}{%
  \mathrel{%
    \vcenter{%
      \offinterlineskip
      \ialign{##\cr
        $\longrightarrow$\cr
        \vphantom{$\longleftarrow$}%
        \ooalign{%
          $\longleftarrow$\cr
          \hidewidth\raisebox{\depth}{$\scriptscriptstyle\backslash$}\hidewidth\cr
        }\cr
      }%
    }%
  }%
}

\begin{document}

$A\suffnotnec B$

\end{document}

A\mathrel已建成。其中有一個以公式軸 ( \vcenter) 為中心的垂直框,其中包含簡單的對齊方式:頂部為 a \longrightarrow,底部為 a ,並在其上疊加了\longleftarrow一個小的。是在其深度內且升高的。這是出於技術原因(為了確定建築的高度和深度)而需要的。\backslash\ooalign\backslash\scriptscriptstyle\vphantom\ooalign

在此輸入影像描述

相關內容