Hi,
I'm using "Masters/Doctoral Thesis" template,
in the Abstract page, between Abstract title and body text, my name, title of thesis, and university name appear,
while I don't need to these information in the Abstract page and I need to remove them from this page.
(I mean that I just need the Abstract title and Abstract texts, and no more thing between them).
Would you please guide me to how remove "my name, title of thesis, and university name" from the abstract page?
Thanks,
Ben
Page Layout ⇒ How to remove extra contents from Abstract title?
-
- Posts: 8
- Joined: Wed Nov 01, 2017 4:02 pm
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
How to remove extra contents from Abstract title?
Hi Ben,
welcome to the forum!
You can simply write this before
This changes the abstract. You can modify this code like you wish.
Stefan
welcome to the forum!
You can simply write this before
\begin{document}
in your main.tex
:Code: Select all
\DeclareDocumentEnvironment{abstract}{ O{} }{
\checktoopen
\tttypeout{\abstractname}
#1%added to be able to have abstract more than one page long
\thispagestyle{plain}
\begin{center}
{\huge\textit{\abstractname} \par}
\end{center}
}
Stefan
LaTeX.org admin
-
- Posts: 8
- Joined: Wed Nov 01, 2017 4:02 pm
How to remove extra contents from Abstract title?
Thanks dear Stefan,
Applying the code, the extra words have been removed, but when I uncomment "consistentlayout" to change the layout of the abstract and acknowledgements pages to match the default layout, abstract page seems not the same as acknowledgments page. Abstract page is not as normal as the rest.
Any possibility for this problem?
Applying the code, the extra words have been removed, but when I uncomment "consistentlayout" to change the layout of the abstract and acknowledgements pages to match the default layout, abstract page seems not the same as acknowledgments page. Abstract page is not as normal as the rest.
Any possibility for this problem?
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
How to remove extra contents from Abstract title?
You could instead insert the whole abstract stuff from the class before
Now you could start removing or changing.
Stefan
\begin{document}
:Code: Select all
\makeatletter
\ifbool{consistentlayout}{
\DeclareDocumentEnvironment{abstract}{ O{} }{%
\addchap*{\abstractname}%
{\chapteralign\normalsize\abstractauthorfont \authorname \par}% Author name
\vspace{\baselineskip}
{\chapteralign\parbox{.7\linewidth}{\chapteralign\normalsize\itshape\abstracttitlefont\@title}\par}% Thesis title
\bigskip\noindent\ignorespaces
}%
{}%end alt-abstract
}{%
\DeclareDocumentEnvironment{abstract}{ O{\null\vfill} }{
\checktoopen
\tttypeout{\abstractname}
#1%added to be able to have abstract more than one page long
\thispagestyle{plain}
\begin{center}
{\normalsize \MakeUppercase{\univname} \par}% University name in capitals
\bigskip
{\huge\textit{\abstractname} \par}
\bigskip
{\normalsize \facname \par}% Faculty name
{\normalsize \deptname \par}% Department name
\bigskip
{\normalsize \degreename\par}% Degree name
\bigskip
{\normalsize\bfseries \@title \par}% Thesis title
\medskip
{\normalsize \byname{} \authorname \par}% Author name
\bigskip
\end{center}
}
{
\vfill\null
}
}
\makeatother
Stefan
LaTeX.org admin