LaTeX forum ⇒ Generalnew 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

new header

Postby fhrttn » Tue May 15, 2018 3:12 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İŞ.

2) I want to remove the "dot" after chapter in the table of contents.
e.g. BÖLÜM IV. BULGULAR should be BÖLÜM IV BULGULAR

thanks in advance
Attachments
ni.cls
(37.39 KiB) Downloaded 14 times
7.pdf
(30.94 KiB) Downloaded 10 times

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

Postby fhrttn » Wed May 16, 2018 1:41 pm

any comments ? :arrow:

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

Postby fhrttn » Wed May 16, 2018 1:57 pm

I have removed the dot from
  1. \addcontentsline{toc}{mistix}{\protect\chapternameToC\quad\Roman{chapter} #1}

maybe someone needs it

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

Postby Johannes_B » Wed May 16, 2018 3:36 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.

User avatar
Stefan Kottwitz
Site Admin
Posts: 9106
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Wed May 16, 2018 4:03 pm

It could be as easy as

\markboth{KAYNAKLAR}{KAYNAKLAR}

Stefan
Site admin

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

Postby fhrttn » Thu May 17, 2018 12:42 pm

Thanks for your suggestion

I have used
  1. \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
  1. \section*{.....}
and
  1. \markboth{...}{...}

User avatar
Stefan Kottwitz
Site Admin
Posts: 9106
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Thu May 17, 2018 10:50 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
Site admin


Return to “General”

Who is online

Users browsing this forum: No registered users and 10 guests