如果我想要一個符號「內部有一個中心點的三角形」和乳膠中的其他符號,我該怎麼辦?

如果我想要一個符號「內部有一個中心點的三角形」和乳膠中的其他符號,我該怎麼辦?

我想要符號“內部有一個中心點的三角形”,“內部有一個圓的三角形”,“內部有一個中心點的向下三角形”,以及“內部有一個圓的向下三角形”。我嘗試了 stix 包,然後在來源檔案中鍵入命令“\trianglecdot”。它可以給我第一個符號,但這個包 stix 不好,因為同時它也會讓許多其他符號的樣式不好看。對於剩下的三個符號,我也沒有找到合適的套件和命令。

如何暴露所有四個符號?非常感謝。

答案1

感謝會員erik

看看這裡——https://tex.stackexchange.com/a/429103/197451

在此輸入影像描述

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes}
\newcommand{\bluetrireddot}[1][0.5]{%
\begin{tikzpicture}
\node(t)[green,regular polygon,regular polygon sides=3,rotate=180,draw,scale=#1] at 
 (0,0){};
\node at (t.center)[circle,fill=red,scale=0.5*#1]{};
\node at (t.center)[circle,blue,draw,scale=#1]{};
\end{tikzpicture}}
\begin{document}
\dots images \bluetrireddot\ acquired \dots
\end{document}

答案2

\tdotcircle僅在內聯模式下工作,不像下標或上標模式。

\documentclass[a4paper,12pt]{article}
\usepackage{mathtools,amssymb}
\usepackage{MnSymbol}
\usepackage{scalerel}
\newcommand{\upodot}[1][0pt]{%
  \mathrel{\raisebox{#1}{$\odot$}}%
}
\newcommand{\tdotcircle}{\mathrlap{\mkern8.5mu\scaleobj{.55}{\upodot[2.1pt]}}\triangledown}
\begin{document}

\[a\tdotcircle b\]
\end{document}

在此輸入影像描述

相關內容