
如果我使用 smartef 工具,我會收到以下錯誤:
!超出 TeX 容量,抱歉 [輸入堆疊大小=5000]。
為了完全理解這個問題,我給你完整的原始 tex 程式碼: 作為:
\RequirePackage{fix-cm}
%
\documentclass[smallextended]{svjour3} % onecolumn (standard format)
\smartqed % flush right qed marks, e.g. at end of proof
\usepackage{amsmath} % for \boldsymbol macro
\usepackage{bm} % for \bm macro
\usepackage[numbers,sort&compress]{natbib}
\usepackage{booktabs,makecell,tabularx}
\usepackage{commath}
\usepackage{amssymb}
\usepackage{multirow,caption}
\usepackage{subfig}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{cleveref}
\begin{document}
\title{12234}
\author{abcde}
%\authorrunning{Short form of author list} % if too long for running head
\institute{Zasdasdas % \\
% \emph{Present address:} of F. Author % if needed
}
\maketitle
\begin{abstract}
1232445345
\end{abstract}
\section{Introduction}
%%%
12312343
%%%
\end{document}
% end of file template.tex
答案1
該類別svjour3
使用低階命令,該命令與較新版本的 LaTeX 核心不同。
您可以透過使用選項呼叫類別來解決該問題envcountsect
。恐怕如果不更新課程就沒有明智的方法來解決問題。
\documentclass[
smallextended,
envcountsect,
]{svjour3} % onecolumn (standard format)
\usepackage{hyperref}
\usepackage{cleveref}
\smartqed % flush right qed marks, e.g. at end of proof
\begin{document}
\title{12234}
\author{abcde}
\authorrunning{Short form of author list} % if too long for running head
\institute{Zasdasdas % \\
% \emph{Present address:} of F. Author % if needed
}
\maketitle
\begin{abstract}
1232445345
\end{abstract}
\section{Introduction}
%%%
12312343
%%%
\end{document}
我刪除了重現該問題不需要的所有軟體包。