目录中的缩写列表

目录中的缩写列表

我在论文中使用 `\begin{document} 后面的命令创建了缩写列表。它创建了正确的缩写列表,但它在表格内容中的显示顺序错误。我希望缩写列表位于附录表格列表之前。我使用此模板 在此处输入链接描述。有人能帮助我吗?

 \frontmatter
    \setcounter{page}{12}   
        \heading{List of Abbreviations}
        \noindent 
        AMPA\dotfill Aminomethylphosphonic Acid\\
        \mainmatter

在此处输入图片描述

这是我的 MMW

    \documentclass[ms-thesis]{ndsu-thesis}


\abstract{This is the abstract for my thesis.}
\acknowledgements{I acknowledge people here.}
\dedication{This thesis is dedicated to my cat, Mr. Fluffles.}
\preface{You can put a preface here.}

    \begin{document}
        \frontmatter
        \setcounter{page}{12}   
        \heading{List of Abbreviations}
        \noindent 
        AMPA\dotfill Aminomethylphosphonic Acid\\
        \mainmatter

    \heading{The First Chapter}
    \section{Introduction}
    This is a section of my thesis.

    \heading{The Second Chapter}
    \section{Excellent results}
    This is another section of my thesis.
    \subsection{Minor results}
    This is a subsection of my thesis.

    \begin{table}[h]
    \centering
    \caption{Table captions go at the top of the table}
    \begin{tabular}{rl}
    Number & Month \\
    \hline
    1 & January \\
    2 & February \\
    3 & March
    \end{tabular}
    \end{table}


    \bibliographystyle{plain}
    \bibliography{my-bib-file}

    \appendix
    I can include appendix material here. See Figure \ref{figure_a} below.

    \begin{appendixfigure}
    \centering
    You could include a figure here.
    \caption{Figure captions go at the bottom of the figure}
    \label{figure_a}
    \end{appendixfigure}

    \end{document}

答案1

在此处输入图片描述

使用preto包在输入etoolbox之前添加您的代码。\listofappendixtables

\usepackage{etoolbox}
    \preto{\listofappendixtables}{
            \heading{List of Abbreviations}
            \noindent 
            AMPA\dotfill Aminomethylphosphonic Acid\\
                        }

完整代码

%% Please see http://texdoc.net/pkg/ndsu-thesis for full documentation and options

%% phd,ms-thesis,ms-paper,ma-thesis,ma-paper
\documentclass[ms-thesis]{ndsu-thesis}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\title{The Title of My M.S. Thesis}
\author{Samuel Quincy Student}
\date{April 2016}
\department{Mathematics}
\cchair{Prof. John Adams}
\cmembera{Prof. Abraham Lincoln}
\cmemberb{Prof. George Washington}
\approvaldate{15 April 2016}
\approver{Prof. James Garfield}
\abstract{This is the abstract for my thesis.}
\acknowledgements{I acknowledge people here.}
\dedication{This thesis is dedicated to my cat, Mr. Fluffles.}
\preface{You can put a preface here.}

\usepackage{etoolbox}
    \preto{\listofappendixtables}{
            \heading{List of Abbreviations}
            \noindent 
            AMPA\dotfill Aminomethylphosphonic Acid\\
                        }

\begin{document}

%% DO NOT USE \maketitle!!!

%% DO NOT USE \chapter!!!
\heading{The First Chapter}

This is the first chapter. Use \textit{blank lines} between paragraphs; never use \texttt{\\} to create new `paragraphs'!

This is a second paragraph.

\section{Introduction}
This is a section of my thesis.


\heading{The Second Chapter}

\section{Excellent results}
This is another section of my thesis.
\subsection{Minor results}
This is a subsection of my thesis.
\begin{table}[h]
\centering
\caption{Table captions go at the top of the table}
\begin{tabular}{rl}
Number & Month \\
\hline
1 & January \\
2 & February \\
3 & March
4
\end{tabular}
\end{table}

%% Uncomment these lines for a bibliography. Remember to upload your .bib file and update the file name here accordingly!
% \bibliographystyle{plain}
% \bibliography{my-bib-file}


\appendix  %% For unnamed appendix
% \namedappendix{Appendix title}  %% For named appendix
Note that this class does not support the use of multiple appendices.

I can include appendix material here. See Figure \ref{figure_a} below. Use \texttt{appendixfigure} or \texttt{appdixtable} in the Appendix.

\begin{appendixfigure}
\centering
You could include a figure here.
\caption{Figure captions go at the bottom of the figure}
\label{figure_a}
\end{appendixfigure}

\begin{appendixtable}
\centering
You could include a table here.
\caption{Table captions go at the bottom of the figure}
\label{table:a}
\end{appendixtable}

\end{document}

笔记:您不应该在目录或列表中手动设置页码。LaTeX 会自动检测页码并将其放置在那里。

相关内容