我正在尝试交叉引用枚举中的项目,并且我希望引用恰好是枚举中的“(C1)-标签”。
\begin{enumerate}[(C1)]
\item For each $n\in\mathbb{Z}$, $f_n$ is a $C^{1+\alpha}$
diffeomorphism onto its image for some $\alpha\in(0,1]$, and
$f_n(0)=0$. \label{cdt:C1}
\item There is a $Df_n(0)$-invariant splitting
$V_n=E^u_n\oplus E^s_n$, i.e.
\begin{equation*}
Df_n(0)E^\tau_n = E^\tau_{n+1},\quad\text{for}\,\,\tau =u,s.
\end{equation*}\label{cdt:C2}
\end{enumerate}
但是使用时\ref{cdt:C1}
只显示“1”。我怎样才能让它取整个“C1”?谢谢帮助!
答案1
我建议您在交叉引用中省略 Cx 数字周围的括号。借助该enumitem
包,这也很容易实现。
备注:如果您确实希望在交叉引用中在“C1”周围加上括号,只需省略选项ref=C\arabic*
。
\documentclass{article}
\usepackage{enumitem}
\usepackage{amsmath,amssymb}
\begin{document}
\begin{enumerate}[label=(C\arabic*),ref=C\arabic*]
\item \label{cdt:C1}
For each $n\in\mathbb{Z}$, $f_n$ is a $C^{1+\alpha}$ diffeomorphism onto its image for some $\alpha\in(0,1]$ and $f_n(0)=0$.
\item \label{cdt:C2}
There is a $Df_n(0)$-invariant splitting $V_n=E^u_n\oplus E^s_n$, i.e.,
\begin{equation}\label{eq:C2}
Df_n(0)E^\tau_n = E^\tau_{n+1}\text{ for $\tau =u,s$.}
\end{equation}
\end{enumerate}
\noindent
See equation \eqref{eq:C2} in claim \ref{cdt:C2}.
\end{document}