答案1
\documentclass{article}
\usepackage{bbding,enumitem}
\begin{document}
\begin{itemize}[label=\CheckmarkBold]
\item Correct answer.
\item Also correct
\item[\XSolidBrush] Not correct answer.
\end{itemize}
\end{document}
可以使用以下enumitem
选项调整间距和间隙(为清晰起见,显示文本边距):
\documentclass{article}
\usepackage{bbding,enumitem}
\usepackage[pass,showframe]{geometry}
\begin{document}
\begin{itemize}[leftmargin=10pt,labelsep=0pt,itemsep=-3pt,label=\CheckmarkBold]
\item Correct answer.
\item Also correct
\item[\XSolidBrush] Not correct answer which goes on long enough so that you
can see the item margin gives you what you want.
\end{itemize}
\end{document}
您可以从symbols-a4.pdf
答案2
我推荐 Stephen 的方法,但是如果你真的想要一个替代方案,那么一些 parbox 也可以起作用:
\documentclass{article}
\usepackage{bbding} % Symbols
\usepackage{calc} % Arithmetic with lengths
\usepackage[showframe]{geometry} % only to show the margins
\usepackage{mwe} % For this example MWE
\newcommand{\checked}[2][0.6cm]{%
\noindent\parbox[t]{#1}{\raggedright\CheckmarkBold}\parbox[t]{\linewidth-#1}{#2}%
}
\begin{document}
\checked{Correct answer.}
\checked{Long correct answer. \blindtext[1]}
\end{document}
答案3
如果您坚持不使用 itemize 或 enumerate,我建议使用 tabular 或 tabularx:
\noindent\begin{tabularx}{\textwidth}{p{1em}X}
\mycheckmark{} & my text\\
\mycheckmark{} & more text
\end{tabularx}
您可能需要调整第一列的宽度,具体取决于您为复选标记选择的内容。