Generalnew header

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

new header

Post by fhrttn »

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 232 times
7.pdf
(30.94 KiB) Downloaded 257 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

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

new header

Post by fhrttn »

any comments ? :arrow:
fhrttn
Posts: 20
Joined: Thu Nov 16, 2017 2:43 pm

new header

Post by fhrttn »

I have removed the dot from

Code: Select all

\addcontentsline{toc}{mistix}{\protect\chapternameToC\quad\Roman{chapter} #1}
maybe someone needs it
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

new header

Post by Johannes_B »

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: 10345
Joined: Mon Mar 10, 2008 9:44 pm

new header

Post by Stefan Kottwitz »

It could be as easy as

\markboth{KAYNAKLAR}{KAYNAKLAR}

Stefan
LaTeX.org admin
fhrttn
Posts: 20
Joined: Thu Nov 16, 2017 2:43 pm

new header

Post by fhrttn »

Thanks for your suggestion

I have used

Code: Select all

\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

Code: Select all

\section*{.....}
and

Code: Select all

\markboth{...}{...}
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

new header

Post by Stefan Kottwitz »

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
LaTeX.org admin
Post Reply