LaTeX forum ⇒ Theses, Books, Title pagesAdditional 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

Postby PhDToBE » Tue Mar 28, 2017 4:21 pm

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:

  1. %----------------------------------------------------------------------------------------
  2. % LIST OF CONTENTS/FIGURES/TABLES PAGES
  3. %----------------------------------------------------------------------------------------
  4.  
  5. \pagestyle{fancy} % The page style headers have been "empty" all this time, now use the "fancy" headers as defined before to bring them back
  6.  
  7. \lhead{\emph{Contents}} % Set the left side page header to "Contents"
  8. \tableofcontents % Write out the Table of Contents
  9.  
  10. %Publications Arising From This Work
  11.  
  12. \lhead{\emph{List of Figures}} % Set the left side page header to "List of Figures"
  13. \listoffigures % Write out the List of Figures
  14.  
  15. \lhead{\emph{List of Algorithms}}
  16. \listofalgorithms
  17.  
  18. \lhead{\emph{List of Tables}} % Set the left side page header to "List of Tables"
  19. \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 :lol:) 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:

User avatar
Johannes_B
Site Moderator
Posts: 3883
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Tue Mar 28, 2017 10:14 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

Postby PhDToBE » Wed Mar 29, 2017 11:25 am

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

Postby PhDToBE » Wed Mar 29, 2017 11:53 am

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..

User avatar
Johannes_B
Site Moderator
Posts: 3883
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Wed Mar 29, 2017 12:39 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

Postby PhDToBE » Wed Mar 29, 2017 1:41 pm

For the algorithms I used:
\usepackage{algorithm2e}
and
\lhead{\emph{List of Algorithms}}
\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

Postby PhDToBE » Wed Mar 29, 2017 1:49 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 :geek: 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:

  1. %---------------------------------------------------------------------------------------
  2. \clearpage % Start a new page
  3.  
  4. \thispagestyle{empty}
  5.  
  6. \addtotoc{Abstract in Arabic Language} % Add the "Abstract" page entry to the Contents
  7.  
  8. %\abstract{\addtocontents{toc} {\vspace{1em}} % Add a gap in the Contents, for aesthetics
  9.  
  10. \begin{center}
  11.  
  12. \textsc{\Large Abstract in Arabic Language}\\[0.5cm]
  13. \HRule \\[0.4cm] % Horizontal line
  14. \begin{minipage}{0.4\textwidth}
  15. \centering
  16.  
  17. \end{minipage}
  18.  
  19. \end{center}
  20. %


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... :?

User avatar
Johannes_B
Site Moderator
Posts: 3883
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Wed Mar 29, 2017 6:45 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

Postby PhDToBE » Wed Mar 29, 2017 6:55 pm

  1. \lhead{\emph{Contents}} % Set the left side page header to "Contents"
  2. \tableofcontents % Write out the Table of Contents
  3.  
  4. \lhead{\emph{List of Figures}} % Set the left side page header to "List of Figures"
  5. \listoffigures % Write out the List of Figures
  6.  
  7. \lhead{\emph{List of Algorithms}}
  8. \listofalgorithms
  9. \addtotoc{List of Algorithms} % this line?
  10.  
  11. \lhead{\emph{List of Tables}} % Set the left side page header to "List of Tables"
  12. \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

Postby PhDToBE » Wed Mar 29, 2017 7:04 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.
  1. %----------------------------------------------------------------------------------------
  2. % LIST OF CONTENTS/FIGURES/TABLES PAGES
  3. %----------------------------------------------------------------------------------------
  4.  
  5. \pagestyle{fancy} % The page style headers have been "empty" all this time, now use the "fancy" headers as defined before to bring them back
  6.  
  7. \lhead{\emph{Contents}} % Set the left side page header to "Contents"
  8. \tableofcontents % Write out the Table of Contents
  9.  
  10. \lhead{\emph{Publications Arising From This Work }}
  11.  
  12. 1. First Publication.
  13.  
  14. \addtotoc{Publications Arising From This Work }
  15.  
  16. \lhead{\emph{List of Figures}} % Set the left side page header to "List of Figures"
  17. \listoffigures % Write out the List of Figures
  18.  
  19. \lhead{\emph{List of Algorithms}}
  20. \listofalgorithms
  21. \addtotoc{List of Algorithms}
  22.  
  23. \lhead{\emph{List of Tables}} % Set the left side page header to "List of Tables"
  24. \listoftables % Write out the List of Tables


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


Return to “Theses, Books, Title pages”

Who is online

Users browsing this forum: No registered users and 3 guests