是否可以将上/下鱼叉加粗?我尝试了\boldmath
,\boldsymbol
以及bm
包装,但它们没有任何区别。
\documentclass{standalone}
\usepackage{tikz}
\usepackage{amsmath}
%\usepackage{bm}
\usepackage{amssymb}
\begin{document}
\begin{tikzpicture}
\node[thick,circle,draw,blue,minimum size=0.8cm] at (1,0) {$\boldsymbol{\upharpoonleft \downharpoonright}$};
%\node[thick,circle,draw,blue,minimum size=0.8cm] at (1,0) {$\bm{\upharpoonleft \downharpoonright}$};
\end{tikzpicture}
\end{document}
答案1
此处通过手动叠加 3 个非粗体符号来完成。显示原始符号以进行比较...
\documentclass{standalone}
\usepackage{tikz}
\usepackage{amsmath}
%\usepackage{bm}
\usepackage{amssymb}
\usepackage{stackengine}
\def\boldupharpoonleft{\ensurestackMath{%
\stackinset{c}{-0.06ex}{c}{.00ex}{{\upharpoonleft}}{%
\stackinset{c}{0.00ex}{c}{.07ex}{{\upharpoonleft}}{{\upharpoonleft}}%
}}}
\def\bolddownharpoonright{\ensurestackMath{%
\stackinset{c}{0.06ex}{c}{.00ex}{{\downharpoonright}}{%
\stackinset{c}{0.00ex}{c}{-.07ex}{{\downharpoonright}}{{\downharpoonright}}%
}}}
\begin{document}
\begin{tikzpicture}
\node[thick,circle,draw,blue,minimum size=0.8cm] at (1,0) {$\color{blue}
\boldupharpoonleft \bolddownharpoonright$};
\node[thick,circle,draw,blue,minimum size=0.8cm] at (2,0) {$
\upharpoonleft \downharpoonright$};
\end{tikzpicture}
\end{document}