아래쪽 화살표 기호 위에 글머리 기호 기호를 넣는 방법

아래쪽 화살표 기호 위에 글머리 기호 기호를 넣는 방법

아래쪽 화살표 기호 위에 글머리 기호 기호를 넣고 싶습니다. 누군가 나를 도와줄 수 있나요?

\documentclass{article}
\usepackage{graphicx}

\begin{document}

The transition is represented with $\mathrel{\bullet}\downarrow $ arrow.

\end{document}

Edit1: 실제로 아래쪽 화살표 기호 위에 간격 없이 글머리 기호 기호를 첨부하고 싶습니다.

답변1

나는 이것으로 무엇을 하고 있는지 잘 모르지만 \ooalignand 에 대한 제안은 다음과 같습니다 \mathchoice.

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

\documentclass{article}
\newcommand\bulletarrow{%
\mathchoice
  {{\ooalign{\raise0.8ex\hbox{$\bullet$}\cr$\downarrow$}}}
  {{\ooalign{\raise0.8ex\hbox{$\bullet$}\cr$\downarrow$}}}
  {{\ooalign{\raise0.65ex\hbox{$\scriptstyle\bullet$}\cr$\scriptstyle\downarrow$}}}
  {{\ooalign{\raise0.5ex\hbox{$\scriptscriptstyle\bullet$}\cr$\scriptscriptstyle\downarrow$}}}%
}

\begin{document}

The transition is represented with $ \bulletarrow_{\bulletarrow_{\bulletarrow}} $ arrow.
\end{document}

자세한 내용은 \ooalign다음을 참조하세요.egregs가 다른 질문에 대한 답변.

답변2

저는 이 접근 방식을 공유하고 싶었습니다. 항목은 원하는 효과를 얻기 위해 쌓여 있으며, 패키지 \ThisStyle{...\SavedStyle...}의 매크로는 scalerel자동으로 현재 수학 스타일을 수학 스타일이 손실될 수 있는 위치로 매크로로 가져옵니다.

길이는 \LMpt인수 내부에서 사용되는 길이 단위입니다 . 이는 및 \ThisStyle에서 1pt 이지만 에서 0.7pt 및 0.5pt 로 확장되므로 상대 스태킹 길이는 비례적으로 유지됩니다.\textstyle\displaystyle\scriptstyle\scriptscriptstyle

\documentclass{article}
\usepackage{stackengine}
\usepackage{scalerel}[2014/03/10]
\def\specsym{\ThisStyle{\stackon[-1\LMpt]{$\SavedStyle\downarrow$}{$\SavedStyle\bullet$}}}
\begin{document}
This is the symbol: \specsym, 
$\specsym$ $\scriptstyle\specsym$ $\scriptscriptstyle\specsym$
\end{document}

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

\mathord수학 모드에서만 매크로를 사용하려는 경우 매크로를 수용할 수 있습니다 (고마워요, egreg).

그의 답변에서 stackengine. 다음과 같은 구문

\stackon[-1\LMpt]{$\SavedStyle\downarrow$}{$\SavedStyle\bullet$}

시각화하고 설명하기 쉽습니다. 단점은 문서의 다른 기능에 스택을 사용하는 경우 정렬 등과 ​​같은 다양한 기본값 설정으로 인해 이 구문이 부주의하게 영향을 받을 수 있다는 것입니다. stackengine이 문제를 피하는 한 가지 방법은 매크로를 로 지정하는 것입니다 \stackengine. 패키지 기본값 변경의 영향을 받지 않습니다. 현재의 경우 이는 더 이해하기 어렵지만 더 보호된 구문을 의미합니다.

\stackengine{-1\LMpt}{$\SavedStyle\downarrow$}{$\SavedStyle\bullet$}{O}{c}{F}{F}{S}

답변3

패키지 사용 stackengine:

\documentclass{article}
\usepackage{amsmath}
\usepackage{stackengine}
\newcommand{\bulletarrow}{%
 \setstackgap{S}{-0.25ex}%
 \mathrel{\Shortstack{{$\bullet$} {$\downarrow$}}}}
\begin{document}
$\bulletarrow$
\end{document}

명령 을 사용하는 또 다른 가능한 정의는 \stackengine다음과 같습니다.

\stackengine{-0.25ex}{$\downarrow$}{$\bullet$}{O}{c}{F}{T}{S}

답변4

\overset당신 은에서 사용할 수 있습니다amsmath:

\documentclass{article}

\usepackage{amsmath}

\begin{document}

The transition is represent with $\overset{\bullet}{\downarrow}$ arrow.

\end{document}

산출

관련 정보