我正在按照我大学的格式撰写论文。我想在章节号前面添加“章节”,在目录顶部添加“目录”、“标题”和“页码”。我还需要更改“出版物清单”的缩进。以下是我的工作尝试:
% The content is actually not a thesis.
% Texts, math. formula, tables, diagrams and graphics
% are there to show the physical thesis formatting
% and how to obtain the required format
\makeatletter
\let\my@xfloat\@xfloat
\makeatother
\documentclass[oneside,12pt,a4paper]{book}
%\documentclass[12pt,a4paper]{book}
\usepackage{UTMThesis, enumerate, amsfonts, longtable, qtree, etoolbox, array, rotating, pgf, tikz, tikz-cd, algorithm, csquotes}
\makeatletter
\def\@xfloat#1[#2]{
\my@xfloat#1[#2]%
\def\baselinestretch{1}%
\@normalsize \normalsize
}
\makeatother
\allowdisplaybreaks
\usetikzlibrary{arrows, matrix, positioning, shapes, shapes.geometric, calc, intersections, decorations.pathreplacing}
\newcommand{\tikznode}[2]{\relax
\ifmmode%
\tikz[remember picture,baseline=(#1.base),inner sep=0pt] \node (#1) {$#2$};
\else
\tikz[remember picture,baseline=(#1.base),inner sep=0pt] \node (#1) {#2};%
\fi}
\let\openbox\relax
\let\iint\relax
\let\iiint\relax
\let\iiiint\relax
\let\idotsint\relax
\newcommand*{\qed}{\hfill\ensuremath{\square}}
%-------------------------------------------------------------
\usepackage{cite}[sort] % change cite from [1,2,3] to [1-3] etc for number system
\makeatletter % change from
\renewcommand{\@biblabel}[1]{#1.} % [1] to 1. etc
\makeatother % in list of references
%-----------------------------------------------------------
\setlength{\voffset}{-2.1cm}
\setlength{\hoffset}{-.4cm}
%--------------------------------------------------------
\font\fiverm=cmr5 \input{Pictex.tex} % using pictex
%---------------------------------------------------------
%\pagestyle{plain}
%-------------------------------------------------------
\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{}
\lfoot{}
\cfoot{\vspace{-.35cm}\thepage} %
\rfoot{}
\renewcommand{\headrulewidth}{0pt}
%-------------------------------------------------------
\begin{document}
\frontmatter
\input{frontmatter/FrontTitle}
\input{frontmatter/Validation.tex}
\input{frontmatter/SupervisorDeclaration.tex}
\input{frontmatter/Title.tex}
\input{frontmatter/Declaration.tex}
\input{frontmatter/Dedication.tex}
\input{frontmatter/Acknowledgement.tex}
\input{frontmatter/Abstract.tex}
\input{frontmatter/Abstrak.tex}
\tableofcontents
\input{frontmatter/TableofContents(Final).tex}
%\input{TableofContents(Final1).tex}
\input{frontmatter/ListofTables(Final).tex}
\input{frontmatter/ListofFigures(Final).tex}
\input{frontmatter/ListofAbbreviations.tex}
\input{frontmatter/ListofSymbols.tex}
\mainmatter
\input{main/Chap1.tex} %Chapter1
\input{main/Chap2.tex} %Chapter2
\input{DummyChapter.tex}
\input{main/Chap3.tex} %Chapter3
\input{DummyChapter.tex}
\input{main/Chap4.tex} %Chapter4
\input{DummyChapter.tex}
\input{main/Chap5.tex}
\input{main/Chap6.tex} %Chapter5
\input{main/Chap7.tex}
\input{ThesisRefUTMn(Final).tex}%
\input{DummyChapter.tex}
生成结果:
该大学的格式如下:
所有文件(样式、包、图形等)都已作为项目上传到 Overleaf,可通过以下链接获取:
请帮忙。