Skip to content

Commit

Permalink
Put bibliography after \backmatter
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Sep 9, 2020
1 parent a313977 commit 099d51f
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 10 deletions.
5 changes: 3 additions & 2 deletions testfiles/06-contents.tex
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,9 @@ \section{结论}
\setcounter{page}{158}
\section{建议}



\backmatter
\clearpage
\setcounter{page}{159}
\begin{thebibliography}{0}
Expand All @@ -334,9 +337,7 @@ \chapter{雨水系统和污水系统设计模型的程序文件一览表}
\chapter{空间降尺度和时间降尺度模型结构与主要程序一览表}



\clearpage
\backmatter
\setcounter{page}{184}
\begin{acknowledgements}
\end{acknowledgements}
Expand Down
6 changes: 3 additions & 3 deletions testfiles/09-main-bachelor-en.tex
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@ \chapter{Conclusion}




\backmatter

% \listoffigures
\listoftables

Expand Down Expand Up @@ -488,9 +491,6 @@ \chapter{Title}




\backmatter

\clearpage
\OMIT
\end{document}
2 changes: 2 additions & 0 deletions testfiles/09-main-bachelor-en.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -18323,6 +18323,8 @@ Completed box being shipped out [11]
..\glue(\lineskip) 0.0
..\vbox(645.87758+0.0)x421.10089, glue set 499.78123fil
...\write-{}
...\write1{\protect \FN@pp@footnotehinttrue }
...\write-{}
...\write1{\@writefile{toc}{\protect \contentsline {chapter}{TABLES}{\thepage }\protected@file@percent \ETC.}
...\write1{\protect \FN@pp@footnotehinttrue }
...\write-{}
Expand Down
6 changes: 5 additions & 1 deletion testfiles/09-main-bachelor.tex
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ \section{原料结构变化趋势}
造纸工业加速发展势头明显。




\backmatter

\listoffigures
\listoftables

Expand Down Expand Up @@ -190,7 +194,7 @@ \section{原料结构变化趋势}

\end{survey}

\backmatter


\clearpage
\OMIT
Expand Down
2 changes: 2 additions & 0 deletions testfiles/09-main-bachelor.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -6936,6 +6936,8 @@ Completed box being shipped out [5]
..\glue(\lineskip) 0.0
..\vbox(645.87758+0.0)x421.10089, glue set 557.48566fil
...\write-{}
...\write1{\protect \FN@pp@footnotehinttrue }
...\write-{}
...\write1{\@writefile{toc}{\protect \contentsline {chapter}{插图索引}{\thepage \ET
C.}
...\write1{\protect \FN@pp@footnotehinttrue }
Expand Down
1 change: 1 addition & 0 deletions testfiles/10-bibtex/10-bibtex-apa.tex
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
% Chen and Wu (2011)
\citeA{chen2011less}


\backmatter
\bibliographystyle{apacite}
\bibliography{refs-apa}
Expand Down
8 changes: 4 additions & 4 deletions thuthesis-example.tex
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
\input{data/chap01}
\input{data/chap02}


% 其他部分
\backmatter

% 参考文献
\bibliography{ref/refs} % 参考文献使用 BibTeX 编译
% \printbibliography % 参考文献使用 BibLaTeX 编译
Expand All @@ -56,10 +60,6 @@
% \input{data/appendix-survey} % 本科生:外文资料的调研阅读报告
% \input{data/appendix-translation} % 本科生:外文资料的书面翻译


% 其他部分
\backmatter

% 致谢
\input{data/acknowledgements}

Expand Down
9 changes: 9 additions & 0 deletions thuthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -4140,6 +4140,7 @@
% 定义致谢与声明环境。
% \begin{macrocode}
\newenvironment{acknowledgements}{%
\@mainmatterfalse
\ifthu@degree@bachelor
\cleardoublepage
\fi
Expand Down Expand Up @@ -4185,6 +4186,7 @@
}%
}
\newcommand\statement[1][]{%
\@mainmatterfalse
\ifthu@degree@bachelor
\cleardoublepage
\def\thu@statement@name{声\hspace{2em}明}%
Expand Down Expand Up @@ -4711,6 +4713,12 @@
% \subsection{附录}
% \label{sec:appendix}
%
% \begin{macrocode}
\g@addto@macro\appendix{%
\@mainmattertrue
}
% \end{macrocode}
%
% 研究生和本科生的写作指南均未规定附录的节标题是否加入目录,
% 但是从示例来看,目录中只出现附录的 chapter 标题,
% 不出现附录中的 section 及 subsection 的标题。
Expand Down Expand Up @@ -4877,6 +4885,7 @@
% 个人简历发表文章等。
% \begin{macrocode}
\newenvironment{resume}[1][\thu@resume@name]{%
\@mainmatterfalse
\thu@chapter*{#1}}{}
% \end{macrocode}
% \end{environment}
Expand Down

0 comments on commit 099d51f

Please sign in to comment.