
Я пытаюсь просто добавить оглавление в свой отчет с помощью TeXStudio, используя следующую команду после аннотации:
\tableofcontents
Это создает заголовок «Оглавление», но в нем не перечислены разделы, а только заголовок отчета.
Мои заголовки следующие: Введение, Обзор литературы, Методология, Заключение.
Есть ли у кого-нибудь идеи, как это исправить?
Это скелет шаблона с удаленным содержимым:
%%%%%%%%%%%%%%%%%%%%%%% file typeinst.tex %%%%%%%%%%%%%%%%%%%%%%%%%
%
% This is the LaTeX source for the instructions to authors using
% the LaTeX document class 'llncs.cls' for contributions to
% the Lecture Notes in Computer Sciences series.
% http://www.springer.com/lncs Springer Heidelberg 2006/05/04
%
% It may be used as a template for your own input - copy it
% to a new file with a new name and use it as the basis
% for your article.
%
% NB: the document class 'llncs' has its own and detailed documentation, see
% ftp://ftp.springer.de/data/pubftp/pub/tex/latex/llncs/latex2e/llncsdoc.pdf
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[runningheads,a4paper]{llncs}
\usepackage{url}
\usepackage{paralist}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage[numbers]{natbib}
\graphicspath{ {images/} }
\urldef{\mailsa}\path|{firstname.lastname}@xxx.ie|
\begin{document}
\mainmatter % start of an individual contribution
\title{Final Year Project Report}
\subtitle{xxxxxxxxxxxxxxxxxxxxxxxx }
\author{Brian Varley \inst{1}
}
%
\institute{xxxxxxx Institute of Technology, Ireland\\
\url{http://www.xxx.ie}\\
}
\maketitle
\begin{abstract}
\end{abstract}
\smallskip
\noindent \textbf{Keywords.}
\tableofcontents
\section{Project Introduction}
\begin{itemize}
\item
\item
\item
\end{itemize}
\begin{figure}
\centering
\begin{minipage}{.5\textwidth}
\centering
\includegraphics[width=.4\linewidth]{myo}
\caption{figure}{Thalmic Lab's Myo arm band}
\label{fig:test1}
\end{minipage}%
\begin{minipage}{.5\textwidth}
\centering
\includegraphics[width=.4\linewidth]{kinect}
\caption{figure}{Microsoft Kinect V2 Sensor}
\label{fig:test2}
\end{minipage}
\end{figure}
Kinect v2 sensor capabilities:
\begin{itemize}
\item
\item
\end{itemize}
The proposed application's core features are outlined as follows in order of precedence:
\begin{itemize}
\item
\item
\item
\end{itemize}
\begin{figure}[h]
\caption{ Proposed physio application prototype system architecture, detailing flow of user input.}
\centering
\includegraphics[width=1\textwidth]{gesture_arc}
\end{figure}
\
\section{Literature Review}
\section{Methodology}
\label{sec:Applications of Vision Based Gesture Recognition in HCI}
\begin{figure}[h]
\caption{ Proposed project time line.}
\centering
\includegraphics[width=1\textwidth]{initial_timieline}
\end{figure}
\section{Conclusion}
\section{Appendices}
\listoffigures
\bibliographystyle{plainnat}
\bibliography{Bibliography}
\end{document}
Заявление в отчете:
решение1
В этом llncs
классе много интересных функций, но если только вы не публикуетесь в LLNCS, это, вероятно, не тот класс, который я бы выбрал.
Здесь он устанавливает
\setcounter{tocdepth}{0}
так что вы можете захотеть добавить
\setcounter{tocdepth}{3}
в вашу преамбулу, чтобы ваше оглавление имело какое-то содержание.