Different chapterstyle for Bibliography

93 views
Skip to first unread message

William Jacobsen

unread,
Mar 14, 2020, 5:10:37 PM3/14/20
to NOVAthesis
Hello,
Let me start by saying thanks for the work that has been put into making this template.
I am using it for formatting a thesis and it is really starting to come together. 

Although it already looks great, I would like some help with a modification of the chapter headings.
Specifically, I would like to have another chapterstyle for the bibliography and appendices, that is different from the main thesis chapters. The main chapters are aligned to the right, but I am trying to get the bibliography and appendices to align to the left (flushleft) and move them further towards the header of the page. Does anyone have a way to make this change?

I managed to do this with the frontmatter of the thesis, by setting a different \chapterstyle for the frontmatter. I tried to do the same for the bib/appen. But since the bibliography and appendices are part of the mainmatter (I think), this particular solution does not work. Would I need to define a "backmatter" for the thesis, and set bib/append to this part of the template? Any ideas how I could solve this?   



Joao Lourenco

unread,
Mar 21, 2020, 11:25:52 AM3/21/20
to NOVAthesis
Hi William,

May I ask you to share with us (me) where are you from?  Country and School?

Considering your request, if I understood correctly, you would like to be able to switch the type of chapter heading in your document. (instead of having a single global style for chapter heading). Is that it?  Please confirm. Thanks.

J.L.

William Jacobsen

unread,
Mar 22, 2020, 5:53:09 PM3/22/20
to NOVAthesis
I am from NTNU in Norway. 

Yes, that's right. I would like to switch the chapter headings for the bibliography and appendices.
I have used the elegant chapterstyle for the main chapters, but would like a simpler and left-aligned style for the bib/appendices.

Joao Lourenco

unread,
Mar 22, 2020, 6:23:26 PM3/22/20
to NOVAthesis
Let me see if I can make it work for you!

Did you create a "style" (cover, margins, etc) for your school already?  May I ask you to share it with me so that I can integrate it into the template (and one day rule the world of LaTeX templates for thesis 😃)?  Thanks.

J.L.

Joao Lourenco

unread,
Mar 22, 2020, 6:40:58 PM3/22/20
to NOVAthesis
Actually it is very simple to achieve if you want to use one of the other chapter styles available!  :)

Assuming you want to change the style for the appendices, add:

\input{novathesis-files/ChapStyles/<STYLE>.clo} 

before the 

\chapter{This is the first appendix}

where

<STYLE> must be replaced by the chapterstyle you want to use.

Hope the instructions were clear.  Let me know if it worked for you.

João L.

William Jacobsen

unread,
Mar 23, 2020, 5:41:49 AM3/23/20
to NOVAthesis
I did not create a specific style! The school automatically adds a cover and title page to the final product, so there is no need to set it in LaTex.
I will keep a copyright/colophon page so that the template and template creator is properly credited! :)

The \input command you wrote worked. However, is there a way to do this by using the \chapterstyle {<mynewchapterstyle>} command?
I have already defined a new chapterstyle that works for the frontmatter, and my idea was to use the new style for the bibliography and appendix as well (while keeping the elegant style for the main chapters).
  
Thanks for your help.

Joao Lourenco

unread,
Mar 23, 2020, 5:54:29 AM3/23/20
to NOVAthesis
Put your definition of your chapter style in a "mystyle.clo" file in the ChapStyles folder, i.e., in

novathesis-files/ChapStyles/mystyle.clo

and then add this command to the customization area:

\newcommand{\chapterstyle}[1]{\input{novathesis-files/ChapStyles/#1.clo}}

Now you may use

\chapterstyle{mystyle}

at hopefully it's gonna work! :)   (I did not try it yet… so please let me know if it worked for you!)

J.L.
Reply all
Reply to author
Forward
0 new messages