![如何正确地将标题与 UnimasThesis 摘要放在一起?](https://linux22.com/image/359252/%E5%A6%82%E4%BD%95%E6%AD%A3%E7%A1%AE%E5%9C%B0%E5%B0%86%E6%A0%87%E9%A2%98%E4%B8%8E%20UnimasThesis%20%E6%91%98%E8%A6%81%E6%94%BE%E5%9C%A8%E4%B8%80%E8%B5%B7%EF%BC%9F.png)
如何Segmentasi Automatik Imej Resonans Magnet Jantung untuk Penilaian Edema
在摘要标题上方显示标题?
\begin{msAbstract}
\begin{center}
\textbf{Segmentasi Automatik Imej Resonans Magnet Jantung untuk Penilaian Edema}
\end{center}
text
\end{msAbstract}
最小工作示例:
\documentclass{UnimasThesis}
\usepackage{graphicx}
\usepackage[labelfont=bf]{caption}
\captionsetup{labelfont=bf}
\usepackage{pdflscape}
\usepackage{adjustbox}
\usepackage{dcolumn}
\usepackage{booktabs}
\usepackage{amsmath}
\usepackage{cases}
\usepackage[os=win]{menukeys}
\usepackage[paper=a4paper]{geometry}
\usepackage{multirow}
%\usepackage{enumerate}
\usepackage{listings}
\lstset{language=[LaTeX]TeX,columns=fullflexible,
basicstyle=\ttfamily,texcsstyle=*\bfseries\color{NavyBlue},
commentstyle=\itshape\color{PaleVioletRed4},
frame=single,framesep=6pt,
framexleftmargin=6pt,framexrightmargin=6pt,
xleftmargin=12pt,xrightmargin=12pt,
breaklines=true,breakatwhitespace=true}
\title{AUTOMATIC SEGMENTATION OF CARDIAC MAGNETIC RESONANCE IMAGES FOR OEDEMA ASSESSMENT}
\author{Amajd Khan}
\faculty{Faculty of Computer Science and Information Technology }
\facultyColour{6c7a8c} %% 6-digit RGB hexadecimal code
\submissionyear{2017}
\degreetype{Doctor of Philosophy\\(Computer Science)}
% If using APA bibliography style
\usepackage[natbibapa]{apacite}
\bibliographystyle{apacite}
%\usepackage{natbib}
%\bibliographystyle{apalike}
\newgeometry{top=3cm, bottom=3.00cm, right=2.5cm, left=2.5cm}
%\usepackage{etoolbox} % "lipsum" for filler text
%\makeatletter
\makeatletter
\def\@makechapterhead#1{%
%%%%\vspace*{50\p@}% %%% removed!
{\parindent \z@ \Large
\ifnum \c@secnumdepth >\m@ne
\center \Large\bfseries \MakeUppercase{\@chapapp}\space \thechapter
\par\nobreak
\vskip 3\p@
\fi
\interlinepenalty\@M
\Large \bfseries #1\par\nobreak
\vskip 20\p@
}}
%\def\@makeschapterhead#1{%
% %%%%%\vspace*{50\p@}% %%% removed!
% {\parindent \z@ \raggedright
% \normalfont
% \interlinepenalty\@M
% \Huge \bfseries #1\par\nobreak
% \vskip 40\p@
% }}
\makeatother
\begin{document}
\maketitle
\frontmatter
\newpage~
\thispagestyle{empty}
{\centering \large \textbf{Automatic Segmentation of Cardiac Magnetic Resonance Images for Oedema Assessment} \par}
\vspace{3.8cm}
{\centering\Large Amjad Khan\par}
\vspace{3.8cm}
{\centering \large A Thesis submitted \\
In fulfillment of the requirements for the degree of \\
Doctor of Philosophy\par}
\vspace{3.9cm}
{\centering \Large Faculty of Computer Sciences and Information Technology\\
\textbf{UNIVERSITI MALAYSIA SARAWAK}\\
2017\par}
% List of conformation may be prepared as in confirmation.tex
\input{confirmation}
% List of declaration may be prepared as in confirmation.tex
\input{declaration}
% Acknowledgements from ack.tex
\input{ack}
% English abstract from abstract-en.tex
\input{abstract-en}
% Malay Abstract from abstrak-ms.tex
%\input{ABSTRAK}
%\input{abstract-mal}
% Malay Abstract from abstrak-ms.tex
\input{abstrak-ms}
% LIST OF TABLE
\tableofcontents
\listoffigures
\listoftables
% List of Symbols may be prepared as in symbols.tex
\input{symbols}
\mainmatter
% Each chapter from a separate file
\input{chap1-Introduction}
\input{chap2-literature}
\input{chap3-NEW}
\input{chap4-contoursegmentation}
\input{chap5-assessment}
\input{chap6-oedema}
\input{chap7-conclusion}
\appendix
\input{app-Guidelines}
%\input{app-code}
\input{app-results}
% references are listed in refs.bib
\bibliography{refs}
\end{document}
答案1
来自模板手册:
UnimasThesis
是一门用于撰写满足马来西亚砂拉越大学 (Unimas) 要求的格式规范的论文的 LaTeX 课程。
撤销您所做的任何更改,例如重新定义\@makechapterhead
,您将获得大学想要的文档。
来自手册:
请注意,如果您的论文是英文的,您将需要提供论文标题的马来语翻译作为您的
msAbstract
环境选项。
% The Malay translation of your title needs to be given here
\begin{msAbstract}[Segmentasi Automatik Imej Resonans Magnet
Jantung untuk Penilaian Edema]
Inilah abstrak dalam Bahasa Melayu. Data korpus merupakan data bahasa
Melayu yang datangnya dalam dua bentuk sumber, iaitu bentuk tulisan
dan bentuk lisan. Bentuk tulisan seperti buku, majalah, surat khabar,
makalah, monograf, dokumen, kertas kerja, efemeral, puisi, drama,
kad bahan, surat, risalah dan sebagainya. Sementara bentuk lisan yang
ditranskripsikan seperti ucapan, wawancara, temu bual, perbualan dan
sebagainya dalam pelbagai bentuk rakaman.
\end{msAbstract}