想法1

想法1

人們可以使用和調整之間的空間來產生橢圓形,$\subset\supset$使其看起來像「光環」。有其他解決方案可以讓它看起來更像橢圓嗎?我對一個可以用作下標/上標或“上標”的小符號感興趣。

答案1

這具有可擴展的優點\scriptstyle

\documentclass{article}
\usepackage{stackengine}
\stackMath
\usepackage{scalerel}
\newcommand\halo{{\mkern-.5mu\hstretch{1.8}{\circ}\mkern-2mu}}
\begin{document} 
\( A\mathop{\halo} B \quad 2^\halo \quad \stackon[1pt]{X}{\halo}\)
\end{document}

在此輸入影像描述

答案2

我不知道「光環」是什麼,反正就是這樣的東西?

在此輸入影像描述

代碼:

\documentclass{article}

\newcommand{\halo}{{\subset\mathrel{\mkern-5mu}\supset}}

\begin{document}
\[\halo\]
\end{document} 

答案3

想法1

您可以重新調整圓的大小。

例子

\documentclass{article}

\usepackage{graphicx}
\usepackage{amsmath}

\newcommand{\halo}{{\scalebox{1}[.5]{\ensuremath{\bigcirc}}}}

\begin{document}

$\overset{\halo}{X}, A_\halo, B^\halo$

\end{document}

結果

結果

想法2

使用 tikz 在 3d 空間內的平面上畫一個圓。

\documentclass[]{article}
\usepackage{amsmath}

\usepackage{tikz}
\usetikzlibrary{3d}

\newcommand{\halo}{{\tikz[canvas is zx plane at y=0] \draw (0,0) circle (5pt);}}


\begin{document}
    $\overset{\halo}{X}, A_\halo, B^\halo$
\end{document}

結果

結果

想法3

重新縮放並旋轉圓

例子

\documentclass[]{article}
\usepackage{amsmath}

\usepackage{graphicx}

\newcommand{\halo}{{\rotatebox{8}{\scalebox{1}[.3]{\ensuremath{\bigcirc}}}}}

\begin{document}
    $\overset{\halo}{X}, A_\halo, B^\halo$
\end{document}

結果

在此輸入影像描述

答案4

怎麼樣?

\documentclass{article}
\usepackage{bbding}
\begin{document}

\Ellipse

\end{document}

或者您可以使用tikz並嘗試

\tikz \draw (0,0) ellipse (7pt and 3pt);

相關內容