We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 288f204 commit 24be233Copy full SHA for 24be233
sections/03_reference.tex
@@ -177,7 +177,7 @@ \section{引言}
177
请参见\cref{sec:introduction,sec:math,sec:reference,,sec:float}。
178
请参见\cref{sec:introduction,sec:reference,sec:conclusion}。
179
请参见\cref{sec:introduction,sec:reference,sec:conclusion,%
180
- algo:algorithm,fig:parallel1,lst:fibonacci}。
+ algo:algorithm,fig:parallel1,tab:firstone}。
181
\end{verbatim}
182
183
这样,就可以在文档中产生“请参见章节 X 和 Y”的效果,其中 X 和 Y 为标签所在章节的编号:
@@ -187,7 +187,7 @@ \section{引言}
187
\item 请参见\cref{sec:introduction,sec:math,sec:reference,,sec:float}。
188
\item 请参见\cref{sec:introduction,sec:reference,sec:conclusion}。
189
\item 请参见\cref{sec:introduction,sec:reference,sec:conclusion,%
190
191
\end{itemize}
192
193
上面的例子中,我们展示了如何使用 \verb|\cref| 命令引用多个并列的对象。在引用多个对象时,\pkg{cleveref} 宏包会自动根据对象类型生成正确的引用词汇,并使用适当的连接词将多个对象连接起来。
0 commit comments