美文网首页
Latex: 在图/表目录前加上“图”/“表”字

Latex: 在图/表目录前加上“图”/“表”字

作者: wzNote | 来源:发表于2019-10-29 18:37 被阅读0次

    图目录生成方法

    \listoffigures
    

    显示效果如下,可以发现默认是不带“图”字的


    修改上述语句为:

    {%
    \let\oldnumberline\numberline%
    \renewcommand{\numberline}{\figurename~\oldnumberline}%
    \listoffigures%
    }
    

    显示效果为:


    表目录同理:

    \listoftables
    

    修改为:

    {%
    \let\oldnumberline\numberline%
    \renewcommand{\numberline}{\tablename~\oldnumberline}%
    \listoftables%
    }
    

    参考文献:

    1. https://tex.stackexchange.com/questions/155177/how-to-add-the-word-figure-to-the-list-of-figures
    2. https://www.latexstudio.net/archives/6202.html

    相关文章

      网友评论

          本文标题:Latex: 在图/表目录前加上“图”/“表”字

          本文链接:https://www.haomeiwen.com/subject/lgmyvctx.html