我想将多项选择题的编号从大写字母改为小写字母。这是我的代码
\documentclass[11pt,a4paper,answers,addpoints]{exam}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{fp}
\usepackage{multicol}
\correctchoiceemphasis{}
\begin{document}
\begin{questions}
\question
The valence electrons are:
\begin{multicols}{2}
\begin{choices}
\choice
Electrons in the first orbit.
\correctchoice
Electrons in the outer orbit.
\choice
Core electrons.
\choice
Core electrons.
\end{choices}
\end{multicols}
%
\question
The band gap is:
\begin{multicols}{2}
\begin{choices}
\choice
Energy difference between 1st and 2nd electron energy bands.
\choice
Energy difference between the core and valence bands.
\choice
Energy difference between the valence and the conduction bands.
\choice
Energy difference between the core and the conduction bands.
\end{choices}
\end{multicols}
%
\end{questions}
\end{document}
我找到了类似的帖子,但要将其更改为带圈的数字,有没有办法做类似的事情
\renewcommand\choicelabel{\thechoice}
\renewcommand\choiceshook{
\addtocounter{choice}{191}
}
\renewcommand\thechoice{\ding{\arabic{choice}}}
谢谢!
答案1
您应该使用
\renewcommand\choicelabel{\alph{choice}}
。
\documentclass[11pt,a4paper,answers,addpoints]{exam}
\usepackage[utf8]{inputenc}
\usepackage{multicol}
\correctchoiceemphasis{}
\renewcommand\choicelabel{\alph{choice}}
\begin{document}
\begin{questions}
\question
The valence electrons are:
\begin{multicols}{2}
\begin{choices}
\choice
Electrons in the first orbit.
\correctchoice
Electrons in the outer orbit.
\choice
Core electrons.
\choice
Core electrons.
\end{choices}
\end{multicols}
%
\question
The band gap is:
\begin{multicols}{2}
\begin{choices}
\choice
Energy difference between 1st and 2nd electron energy bands.
\choice
Energy difference between the core and valence bands.
\choice
Energy difference between the valence and the conduction bands.
\choice
Energy difference between the core and the conduction bands.
\end{choices}
\end{multicols}
%
\end{questions}
\end{document}
该代码将显示为: