## LaTeX forum ⇒ Theses, Books, Title pages ⇒ Chapter Header

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
vinaykumarn
Posts: 15
Joined: Wed Oct 19, 2016 6:30 am

Hai,

How to remove the chapter caption (i.e., Chapter 1) in the header of each chapter. For your reference, the sample code and screen have been given.

\RequirePackage[markcase=used]{scrlayer-scrpage}
\providepairofpagestyles{thesisSimple}{%
\clearpairofpagestyles%
\automark[chapter]{chapter}
Attachments
Query.png (109.98 KiB) Viewed 3795 times

Tags:

Stefan Kottwitz
Posts: 9416
Joined: Mon Mar 10, 2008 9:44 pm
This code doesn't work, \providepairofpagestyles{thesisSimple}{% has no closing brace following it.

Since you don't show any code, we don't even know the document class, we cannot test and fix. Perhaps provide a minimal working example, that's usually a guarantee for a solution.

Stefan

vinaykumarn
Posts: 15
Joined: Wed Oct 19, 2016 6:30 am
Sir,
Please find the below minimal working code:

Last edited by Stefan Kottwitz on Sun Jun 11, 2017 1:39 pm, edited 1 time in total.
Reason: code marked

Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm
Usually, that would be done using just \renewcommand{\chaptermarkformat}{} in the preamble.

Anyway, i didn't look into your modification of the template, since only the original template as found on latextemplates.com are supported. Also, only the recent version and one version back are supported.

Current version of the class file is 1.5.

Also, why do you change the class file if it is not needed. As far as i can tell, all changes could have been made in the preamble of the document, like it is supposed to be. Changing a class file for inexperienced users is highly discouraged.

Edit: We already covered that months back. But i honestly made a mistake by confusing inner and outer margin based on the screenshot.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

vinaykumarn
Posts: 15
Joined: Wed Oct 19, 2016 6:30 am
Hai sir,

Your suggestion is still not working. I have put your codes in the preamble of chapter.tex but it is not working...?

Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm
You did not provide a minimal workung example in the past and you didn't provide one now. How are we supposed to know why it doesn't work for you?

The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

vinaykumarn
Posts: 15
Joined: Wed Oct 19, 2016 6:30 am
Thank you sir. Problem is solved...

vinaykumarn
Posts: 15
Joined: Wed Oct 19, 2016 6:30 am
Sir,
How to remove the huge space before the following sections
1. Chapter heading of each chapter
2. Contents
3. List of Figures
4. List of Tables
5. Abbreviations
Please do the needful. Find the minimal code below for your reference.

Thanking you

Last edited by Stefan Kottwitz on Sun Jun 11, 2017 1:27 pm, edited 1 time in total.
Reason: code marked

Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm
Please stop posting (and hence distributing) completely unrelated stuff from a class file.

Without a minimal working example, the following works for the default template: \renewcommand{\abovechapterskip}{\vspace{0pt}}

Since you don't seem to understand what a minimal working example is, find a useful link here: How to create a minimal working example?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Stefan Kottwitz
Posts: 9416
Joined: Mon Mar 10, 2008 9:44 pm
With a pretty new TeX installation and KOMA-Script:

\RedeclareSectionCommand[beforeskip=0pt]{chapter}

With an older one:

\renewcommand{\chapterheadstartvskip}{\vspace{0pt}}`

You can insert something for the distance instead of 0pt.

As Johannes said, a minimal working example is quite important and often a guarantee for a solution. I understand, that it may be difficult in case of your template or document structure. Anyway take a look at the minimal working example link and Johannes' link above, to better understand. Or this one. It can really help next time.

Stefan