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).

여기에 이미지 설명을 입력하세요

관련 정보