LaTeX forum ⇒ General ⇒ new header

LaTeX specific issues not fitting into one of the other forums of this category.
fhrttn
Posts: 12
Joined: Thu Nov 16, 2017 2:43 pm

I have attached a pdf file and cls file. I have 2 questions

1) Is it possible to generate a new header after page 94 ? It should not be chapter, it should be like KAYNAKLAR or ÖZ GEÇMİŞ.

e.g. BÖLÜM IV. BULGULAR should be BÖLÜM IV BULGULAR

Attachments
ni.cls
7.pdf

fhrttn
Posts: 12
Joined: Thu Nov 16, 2017 2:43 pm

fhrttn
Posts: 12
Joined: Thu Nov 16, 2017 2:43 pm
I have removed the dot from
\addcontentsline{toc}{mistix}{\protect\chapternameToC\quad\Roman{chapter} #1}

maybe someone needs it

Johannes_B
Site Moderator
Posts: 3854
Joined: Thu Nov 01, 2012 4:08 pm
Welcome, it would have been best to upload a tex file that generates a document showing your two issues. I can understand the dot issue, but i cannot understand why you would want to need a different header from page 94 onwards, or how that header would have been generated.
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: 9105
Joined: Mon Mar 10, 2008 9:44 pm
It could be as easy as

\markboth{KAYNAKLAR}{KAYNAKLAR}

Stefan

fhrttn
Posts: 12
Joined: Thu Nov 16, 2017 2:43 pm

I have used
\section*{.....}

but it gives 2 headers one comes from the cls file and other comes from \section and I removed the header in the cls file.

What is the difference
\section*{.....}
and
\markboth{...}{...}

Stefan Kottwitz
Posts: 9105
Joined: Mon Mar 10, 2008 9:44 pm
Without seeing a code example from you, I cannot tell you what happens.

Regarding the difference: \section* starts a section but only with a header in the document, not in the page header, and not numbered and not in the table of contents. It's for "unimportant" sections, such as an introduction. \markboth{...}{...} adds a header on left and right hand page, anything you want. Such as for a \chapter* or \section* command when you don't have a header. \markright{...} does the same just for a right hand side (\section*) in a twoside document.

Stefan