答案1
和l3draw
:
\documentclass{article}
\usepackage{l3draw,graphicx}
\ExplSyntaxOn
\NewDocumentCommand{\symA}{}
{
\makebox[ \dim_eval:n { \width+0.05ex } ]
{
\draw_begin:
\draw_cap_round:
\draw_linewidth:n { 0.12ex }
\draw_path_circle:nn { 0.5ex, 0.5ex } { 0.5ex }
\draw_path_use_clear:n { stroke }
\draw_path_moveto:n { -0.2ex, 0.5ex }
\draw_path_lineto:n { 1.2ex, 0.5ex }
\draw_path_use_clear:n { stroke }
\draw_end:
}
}
\NewDocumentCommand{\symB}{}
{
\makebox[ \dim_eval:n { \width+0.05ex } ]
{
\draw_begin:
\draw_cap_round:
\draw_linewidth:n { 0.12ex }
\draw_path_circle:nn { 0.5ex, 0.5ex } { 0.5ex }
\draw_path_use_clear:n { stroke }
\draw_path_moveto:n { 0.5ex, 0.5ex }
\draw_path_lineto:n { 0.5ex, 1.5ex }
\draw_path_use_clear:n { stroke }
\draw_path_moveto:n { 0.5ex, 1.55ex }
\draw_path_arc:nnn { 240 } { 300 } { 0.5ex }
\draw_path_arc:nnn { -40 } { -90 } { 0.6ex }
\draw_path_use_clear:n { fill }
\draw_end:
}
}
\NewDocumentCommand{\symC}{}
{
\raisebox{1ex}{\scalebox{-1}[-1]{\symB}}
}
\ExplSyntaxOff
\begin{document}
First \symA{} second \symB{} third \symC{} and so on
\end{document}