需要导入 cleveref 宏包,引用的时候使用 \cref{label} 即可
mwe如下
\documentclass{
article}
\usepackage{
cleveref}
\begin{
document}
\begin{
table}
\caption{
A table}
\label{
tab:tabsample}
\end{
table}
\begin{
<
使用cleveref宏包实现智能引用

该博客介绍了如何在LaTeX中使用cleveref宏包来方便地引用表格、图片和公式,展示了通过cref{}
最低0.47元/天 解锁文章
3913

被折叠的 条评论
为什么被折叠?



