我正在用Latex做论文。当在我的文档末尾创建一个数字列表时,我将它手动添加到我的内容列表中。这很好,但是没有编号。我尝试了几个想法,但没有找到合适的解决办法。
代码:
\documentclass[12pt,a4paper,bibliography=totocnumbered]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{import}
\usepackage{subcaption}
\usepackage{xcolor}
\newcommand\crule[3][black]{\textcolor{#1}{\rule{#2}{#3}}}
\usepackage{color}
\usepackage{transparent}
\graphicspath{{Images/}}
% !TeX root = /test.tex
\usepackage[printonlyused]{acronym}
\bibliographystyle{unsrt}
%\date{12.07.2020}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\begin{document}
\include{Title}
\newpage
\include{chapter/Abstract}
\newpage
\tableofcontents
\newpage
\chapter{Acronyms}
\begin{acronym}[KL-Divergence]
\acro{Adam}{Adaptive Moment Estimation}
\acro{AI}{Artificial Intelligence}
\acro{VAE}{Variational Autoencoder}
\end{acronym}
\newpage
\cleardoublepage
\addcontentsline{toc}{chapter}{\protect\numberline{\listfigurename}}
\listoffigures
\newpage
\chapter{Acronyms}
\begin{acronym}[KL-Divergence]
\acro{Adam}{Adaptive Moment Estimation}
\acro{AI}{Artificial Intelligence}
\acro{VAE}{Variational Autoencoder}
\end{acronym}
\end{document}
这导致:
1. Acronyms
List of Figures
2. Acronyms
发布于 2020-11-20 10:48:40
Koma脚本具有listof=totocnumbered
选项,可以在目录中获得数字的编号列表:
\documentclass[12pt,a4paper,bibliography=totocnumbered,listof=totocnumbered]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{import}
\usepackage{subcaption}
\usepackage{xcolor}
\newcommand\crule[3][black]{\textcolor{#1}{\rule{#2}{#3}}}
\usepackage{color}
\usepackage{transparent}
\graphicspath{{Images/}}
\usepackage[printonlyused]{acronym}
\bibliographystyle{unsrt}
%\date{12.07.2020}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\begin{document}
%\include{Title}
\newpage
%\include{chapter/Abstract}
\newpage
\tableofcontents
\newpage
\chapter{Acronyms}
\begin{acronym}[KL-Divergence]
\acro{Adam}{Adaptive Moment Estimation}
\acro{AI}{Artificial Intelligence}
\acro{VAE}{Variational Autoencoder}
\end{acronym}
\newpage
\cleardoublepage
%\addcontentsline{toc}{chapter}{\protect\numberline{\listfigurename}}
\listoffigures
\newpage
\chapter{Acronyms}
\begin{acronym}[KL-Divergence]
\acro{Adam}{Adaptive Moment Estimation}
\acro{AI}{Artificial Intelligence}
\acro{VAE}{Variational Autoencoder}
\end{acronym}
\end{document}
https://stackoverflow.com/questions/64916589
复制相似问题