我正在寻找难度符号(我学生的练习)。例如,一张头上有问号的脸,...我会为简单的练习放一个符号,为更难的练习放两个符号,...我想有很多带符号的包,但我只知道 pifont。所以任何建议都很好
答案1
答案2
我知道一本高中数学书使用了空心圆、半实心圆和实心圆。一种可能的实现方式是pict2e
:1)
\documentclass{article}
\usepackage{pict2e,xcolor}
\makeatletter
\newcommand*{\difficulty@symbol}[1]{%
\leavevmode
\begingroup
\unitlength\fontcharht\font`\A
\@picture(1,1)(0,0)
\linethickness{.8\p@}%
#1%
\endpicture
\endgroup
}
\newcommand*{\easysymbol}{\difficulty@symbol{\put(.5,.55){\color{gray}\circle{1}}}}
\newcommand*{\mediumsymbol}{\difficulty@symbol{\color{gray}\put(.5,.55){\circle{1}}\moveto(0,.55)\curveto(0,-.1)(1,-.1)(1,.55)\closepath\fillpath}}
\newcommand*{\hardsymbol}{\difficulty@symbol{\put(.5,.55){\color{gray}\circle{1}\circle*{1}}}}
\newcommand*{\deadlysymbol}{%
\leavevmode
\begingroup
\unitlength1ex
\@picture(3.6,1.8)(-1.8,-1)
\color{darkgray}
\put(1.46,.13){\circle*{.64}}
\put(-1.46,.13){\circle*{.64}}
\put(1.3,-.79){\circle*{.64}}
\put(-1.3,-.79){\circle*{.64}}
\linethickness{.5\unitlength}
\Line(1.46,.13)(-1.3,-.79)
\Line(-1.46,.13)(1.3,-.79)
\linethickness{.1\unitlength}
\roundjoin
\moveto(-.5,-.75)\curveto(-1.2,0)(-1,.9)(0,.9)\curveto(1,.9)(1.2,0)(.5,-.75)\lineto(.4,-1.2)\lineto(-.4,-1.2)\closepath\fillpath
\color{white}
\moveto(-.5,-.75)\curveto(-1.2,0)(-1,.9)(0,.9)\curveto(1,.9)(1.2,0)(.5,-.75)\lineto(.4,-1.2)\lineto(-.4,-1.2)\closepath\strokepath
\put(.36,0){\circle*{.56}}
\put(-.36,0){\circle*{.56}}
\endpicture
\endgroup
}
\makeatother
\begin{document}
\begin{itemize}
\item[\easysymbol] simple
\item[\mediumsymbol] more difficult
\item[\hardsymbol] hard
\item[\deadlysymbol] really hard
\end{itemize}
\end{document}
1) 原始答案使用 Ti钾Z. 画一个圆圈就太夸张了。你仍然可以在修订记录。