5
votes
1answer
208 views

Flexible rule length in titlesec

I'm trying to get a rule just after the label of a chapter. (i.e., between "chapter 1" and "This is the chapter 1 title"). So far, I've managed to do this: \titleformat{\chapter}[display]% ...
8
votes
1answer
698 views

chapter style latex horizontal line

I want a chapter style like this: 1 ------chapter name------------- text text text text tex t text text text text t I have come this far: ...
1
vote
2answers
146 views

Add a hrule to only chapter not numbered

I am thinking of adding a hrule to only chapters that are not numbered, in other words the chapters created using chapter*{}. I thought of using the titlesec package- My problem is that I cannot find ...
6
votes
1answer
600 views

Title between lines

So I want to have one line above and one under the title of a chapter in scrreprt, like: _________________________________________________ 1. Introduction ...
4
votes
1answer
2k views

Add a rule after chapter title using titlesec

I've been experimenting with chapter title formatting using titlesec but I can't seem to find the proper way to add a rule just below the chapter title. After reading the doc, I found that \titleline ...
10
votes
1answer
423 views

Specific section format

I'd like to use titlesec to typeset a section header that would look like this: --------- Name of Section ------------ (the ---- would be a rule, and the entire section header would be centered) ...
7
votes
2answers
1k views

How to make horizontal lines thicker?

I am customizing the section module following the tutorial here http://blog.scribtex.com/how-to-write-a-latex-class-file-and-design-yo How do I make the [\titlerule] % Inserts a ...
7
votes
1answer
666 views

How to prevent a page break between section title and colored rule?

I use \usepackage[explicit]{titlesec} to customize the design of my sections, subsections... In particular, i have : \titleformat{\section}% {\large\sffamily\bfseries}% {My Section \arabic{section} ...