## LaTeX forum ⇒ Theses, Books, Title pages ⇒ Additional pages in the start/end of a thesis template

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
PhDToBE
Posts: 10
Joined: Tue Mar 28, 2017 3:29 pm

### Additional pages in the start/end of a thesis template

Hello

I just joined after failing to find an answer for the two below questions, however, I must say thanks to everyone helping out here... I've learned a lot over the years from here.

Two problems:

1. I need additional lists at the beginning of the thesis (List of Algorithms and List of Publications), perhaps in the following order:

%----------------------------------------------------------------------------------------%	LIST OF CONTENTS/FIGURES/TABLES PAGES%---------------------------------------------------------------------------------------- \pagestyle{fancy} % The page style headers have been "empty" all this time, now use the "fancy" headers as defined before to bring them back \lhead{\emph{Contents}} % Set the left side page header to "Contents"\tableofcontents % Write out the Table of Contents %Publications Arising From This Work \lhead{\emph{List of Figures}} % Set the left side page header to "List of Figures"\listoffigures % Write out the List of Figures \lhead{\emph{List of Algorithms}}\listofalgorithms \lhead{\emph{List of Tables}} % Set the left side page header to "List of Tables"\listoftables % Write out the List of Tables

This code prints a list of all algorithms but doesn't show 'List of Algorithms' in the contents page!? I need that solved please as well as another empty 'listing' where I can add the publications manually. Preferably using the same style/format that is followed here. This might go on for two pages.

2. I also need to include an abstract in my native language (for personal amusement ) by the end of the thesis. This should go right after the References but before the first Appendix. It should not be an Appendix, the title of the page could be 'Abstract in Another Language' which should also show in the contents. Again, this will also go on for at least two pages.

Now printing this in a different language could be a pain but I'll perhaps pdfpages it! (write it elsewhere) and just export the pdf into the thesis as I did with the appendices (publications).

Any ideas?

Thanks again everyone!

Tags:

Johannes_B
Site Moderator
Posts: 3977
Joined: Thu Nov 01, 2012 4:08 pm
You just have posted a junk of code, nothing we can work with. Not even a link to the template.

Just in case this is about the Masters Doctoral Thesis Template from LaTeX-templates. It got an update almost two years ago, new features, better usability and more. Why? Because the old template was buggy in many instances. It is no longer supported.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

PhDToBE
Posts: 10
Joined: Tue Mar 28, 2017 3:29 pm
Hello

Sorry yes it is based on the template.

I can switch to the new template if that's the case. Not a problem.

Could you help me based on the latest thesis template?

PhDToBE
Posts: 10
Joined: Tue Mar 28, 2017 3:29 pm
Sorry again! That was rather a huge claim.

Ok let's keep this simple:

I've made a lot of changes to this version: Version 1.43 (17/5/14) and going to the latest template is just insane, I've so many packages and I've written way too much to go and edit now!

So I'm wondering if there's anything that I could work with here, I'm assuming there's a simple solution to just add pages because that's essentially what I want..

Johannes_B
Site Moderator
Posts: 3977
Joined: Thu Nov 01, 2012 4:08 pm
Which package are you using to create the list of algorithm? It might have an option to add a toc entry.

List of publications: just manually add them.

Second abstract: i need to check on that later. With the new version, this is a piece of cake. http://tex.stackexchange.com/questions/ ... 235#276235
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

PhDToBE
Posts: 10
Joined: Tue Mar 28, 2017 3:29 pm
For the algorithms I used:
\usepackage{algorithm2e}
and
\listofalgorithms

Somehow that worked fine (listing out all algorithms) except the fact that it's not showing 'List of Algorithms' in toc.

List of Publications, yes I want to add them manually, but how? I need a page exactly identical to List of Figures and it should appear in toc. I will then edit it manually.

For figures from the template we're using:
\lhead{\emph{List of Figures}} % Set the left side page header to "List of Figures"
\listoffigures % Write out the List of Figures

Does that make sense?

PhDToBE
Posts: 10
Joined: Tue Mar 28, 2017 3:29 pm
Johannes_B wrote:Second abstract: i need to check on that later. With the new version, this is a piece of cake. http://tex.stackexchange.com/questions/ ... 235#276235

WOW it's much simpler and far more robust, interestingly, I've already included many packages in the new template and settings in my old thesis... It's just too much work to go back to a new template given this is only for a page or two...

I've a solution at the moment like this, after the references/bibliography:

%---------------------------------------------------------------------------------------\clearpage % Start a new page \thispagestyle{empty} \addtotoc{Abstract in Arabic Language} % Add the "Abstract" page entry to the Contents %\abstract{\addtocontents{toc} {\vspace{1em}} % Add a gap in the Contents, for aesthetics \begin{center} 	\textsc{\Large Abstract in Arabic Language}\\[0.5cm]	\HRule \\[0.4cm] % Horizontal line	\begin{minipage}{0.4\textwidth}		\centering 	\end{minipage} \end{center}%

if I use fancy style I will get a page with a header of the previous chapter 'References'... I'm thinking to write this elsewhere and use pdfpages to print it out here...

Johannes_B
Site Moderator
Posts: 3977
Joined: Thu Nov 01, 2012 4:08 pm
You used lhead and addtotoc before. They should work here as well.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

PhDToBE
Posts: 10
Joined: Tue Mar 28, 2017 3:29 pm
\lhead{\emph{Contents}} % Set the left side page header to "Contents"\tableofcontents % Write out the Table of Contents \lhead{\emph{List of Figures}} % Set the left side page header to "List of Figures"\listoffigures % Write out the List of Figures \lhead{\emph{List of Algorithms}}\listofalgorithms \addtotoc{List of Algorithms} % this line? \lhead{\emph{List of Tables}} % Set the left side page header to "List of Tables"\listoftables % Write out the List of Tables

I thought the same, this shows the 'List of Algorithms' on the toc but it shows both 'List of Algorithms' and 'List of Tables' indexed on the same page! Meaning there's something wrong because Tables are right after Algorithms...

And what about a completely manual entry 'List of Publications'?

PhDToBE
Posts: 10
Joined: Tue Mar 28, 2017 3:29 pm
Ok I tried what you just said but I guess this is the problem, I need it in the same format as the rest of the lists.
%----------------------------------------------------------------------------------------%	LIST OF CONTENTS/FIGURES/TABLES PAGES%---------------------------------------------------------------------------------------- \pagestyle{fancy} % The page style headers have been "empty" all this time, now use the "fancy" headers as defined before to bring them back \lhead{\emph{Contents}} % Set the left side page header to "Contents"\tableofcontents % Write out the Table of Contents \lhead{\emph{Publications Arising From This Work }} 1. First Publication. \addtotoc{Publications Arising From This Work } \lhead{\emph{List of Figures}} % Set the left side page header to "List of Figures"\listoffigures % Write out the List of Figures \lhead{\emph{List of Algorithms}}\listofalgorithms \addtotoc{List of Algorithms}  \lhead{\emph{List of Tables}} % Set the left side page header to "List of Tables"\listoftables % Write out the List of Tables

Please look at the attached so you know what's happening.
Attachments
P3.JPG (38.77 KiB) Viewed 1755 times
P1.JPG (14.67 KiB) Viewed 1755 times
P2.JPG (18.86 KiB) Viewed 1755 times