1
vote
1answer
34 views

Using titlesec to have \chaptertitle and \sectiontitle in twosided report

I would like to customize the headers of my report. These should contain chaptertitle and sectiontitle. From here: Header not displaying correctly on chapter page due to subsection I have made an ...
2
votes
2answers
137 views

Parts with titlesec parts: \thepart wrong on last page of part

When using the titlesec package to customize part headers, the counter \thepart is somehow incremented before its value is used in, for example, running headers: \documentclass[oneside]{book} ...
3
votes
2answers
160 views

Page styles with Koma instead of titlesec

I usually set up my page style titlesec along the lines of \documentclass{scrartcl} \usepackage[pagestyles]{titlesec} \newpagestyle{mypagestyle}{ \headrule \sethead{Document ...
2
votes
1answer
57 views

Separate sectioning titles for main text, headings, and toc for line breaking purposes

I am using the titlesec package with the toctitles option, which modifies the optional argument of sectioning commands so that this optional argument is used only in headings; the non-optional ...
1
vote
1answer
217 views

How do I put a short title in the header but a long title in the toc (clashing of titlesec package with sectionmark)?

The format of my thesis is as follows: \documentclass[oneside,11pt,english]{book} \usepackage{lipsum} \usepackage{fancyhdr} \usepackage{titlesec} \setlength{\headheight}{26pt} ...
3
votes
1answer
141 views

titleps' page styles inserted just before chapters start too early

The following MCE and image show that titleps' page styles inserted just before chapters start too early: the head rule begins with the 'test' page style which should be applied only after the end of ...
1
vote
1answer
132 views

titlesec: \assignpagestyle problem with part

According to the titlesec documentation (section 3.5): You can assign a page style to levels of class top and page, as well as the default chapter with the following command: ...
1
vote
1answer
175 views

Titlesec: \ifthesection command issue with biblatex refsegment

I'm using titlesec to set my page style and biblatex to print a cumulative bibliography subdivided by chapter. There seems to be some problem with the \ifthesection command because in the following ...
5
votes
2answers
158 views

Issue with titlesec page styles and appendix in book class

I'm using titlesec to set my page style in a book class. If I include an appendix, the header corresponding to the first chapter is "Appendix 1" instead of "Chapter 1". \documentclass{book} ...
4
votes
1answer
72 views

Using \toptitlemarks and \bottitlemarks with any counters

\toptitlemarks and \bottitlemarks don't seem to work with random counters: \documentclass[paper=a4,pagesize=pdftex]{scrbook} \usepackage[pagestyles]{titlesec} \usepackage{lipsum} ...
8
votes
2answers
213 views

Page number in the margin and separator

I want to produce this kind of header. My first attempt includes the use of fancyhdr package but still I can't figure out how it is possible to move the page number in the margin and put the | bold ...
2
votes
1answer
605 views

how to color the header's bottom line or footer's upper line?

The title is self-explanatory. In my document's current state, I get this rendering result after compiling with XeLaTeX : Here's a MWE of which packages and commands I use to obtain my current ...
4
votes
0answers
413 views

Trouble with titlesec

I've been using titlesec for quite some time now and want to "pimp up my style" ;) I've read How to change header to list first section on page and not last section and tried to adapt the code for ...
4
votes
2answers
231 views

Custom titlemarks

My title marks are not working as I want them to. I had to move away from using the native section and subsectionand therefore my title marks does not work. I had a look at the extramarks feature of ...
2
votes
1answer
668 views

Reducing/removing gap between header and custom chapter title

I'm writing a portfolio/report with pdflatex and while trying to get a header and footer I have got a situation where there's now a significant gap between the header and the chapter title, whereas ...
6
votes
2answers
656 views

How to apply a custom pagestyle (with titlesec package) to a part of a document

I have defined a personal page style using the package titlesec. The style defined is: \newpagestyle{myStylePage}[\large\sffamily]{\headrule \sethead{\thechapter . \chaptertitle}{}{\thesection . ...
6
votes
2answers
441 views

titlesec: \sectionmark breaking \ifthesection?

In the titlesec package, one may use the \ifthesection (or \ifthechapter,...) command to apply some customization commands only when a \section has been defined. However, it seems that using ...
6
votes
2answers
386 views

Suppress headers when page contains a section title using titlesec

I'm writing a book with titlesec and try to suppress headers containing the section name, when the section starts at the top of the respective page. Given that all my sections start on a new page I ...
10
votes
1answer
253 views

Strange behaviour of \renewpagestyle from the titlesec package

The following code uses the pagestyles option and \renewpagestyle from the titlesec package to redefine the plain style: \documentclass{book} \usepackage[paperheight=12cm]{geometry} ...
2
votes
1answer
200 views

Firsttitlemarks does not appear consistently in header

I am using this code for my header marks, but as you can see it misses the very first mark for the subsection which should be the first verse. % definition of the page style with required headers ...
2
votes
1answer
188 views

titlesec: toptitlemarks and bottitlemarks broken when \section not called explicitly

This question is linked to my previous chapter-and-verse-in-header question I am trying to produce a Bible text where the Chapter and Verse references appear in the header of each page. As can be ...
4
votes
2answers
399 views

Chapters and verses of current page in header

This question is linked to my other titlesec question Does any one know how to add the current segment location at the top of any particular page. What I need is the reference at the top of a ...
3
votes
1answer
1k views

Suppress page number from Chapter side titlesec

I'm struggling with removing/suppressing the page number from pages with chapter headings. When using \usepackage[pagestyles]{titlesec} and \newpagestyle{mystylep}{ \setfoot{}{}{}} the page ...
10
votes
3answers
1k views

Customize headers without fancyhdr

I have strange, old book chapter to rewrite in LaTeX. The most iritating thing is the header. On odd pages the header should consist of the section name etc. But the problem is that if the page starts ...
4
votes
2answers
1k views

titlesec versus titling; mangling \thetitle

I want to have the chapter name and title of the document appear in the header; I know how to do that with fancyhdr and titling, one of the miscellaneous functions of the latter is to preserve the ...