0
votes
1answer
35 views

Titlesec command blocked by frontmatter

\frontmatter blocks the propagation of the \titleformat from the preface to the first chapter. Is there a way to avoid that ? \documentclass[11pt,A4]{book} \usepackage{titlesec} ...
8
votes
1answer
195 views

How to make this chapter heading style?

As fncychap has no such chapter style, and using the memoir class will cause a lot conflicts with my current settings (book class), how to make this style (perhaps using the titlesec package)? title ...
5
votes
1answer
59 views

Spacing problem with customized chapter style

I customized the chapter style like (book class): More space between the Chapter title (1 row) and the Lines Less space between the Chapter title (2 or more rows) and the Lines How to solve ...
6
votes
1answer
52 views

Making section headers look like chapter headers

I would like to make my section headers look like this with the titlesec package. Is there a good way to do that? EDIT - I am using the scratcl document class.
11
votes
2answers
322 views

How to achieve this chapter style without using the memoir class?

As fncychap has no such chapter style, and using the memoir class will cause a lot conflicts with my current settings (book class), how to make this style (perhaps using the titlesec package)? Table ...
3
votes
1answer
38 views

\chaptertitle from titleps ignored after redefinition of \chapter macro

The following MWE shows that, if the \chapter macro is redefined as in a previous question of mine: Prepend different stuffs to starred and unstarred \chapter commands, the \chaptertitle macro from ...
3
votes
1answer
79 views

How to have chapter heading style different in chapters with number and chapter without numbers?

I use the following code to change the chapter heading style \usepackage{titlesec} \definecolor{RoyalRed}{RGB}{157,16,45} \titleformat{\chapter}[display] {\centering\normalfont\bfseries\LARGE} ...
4
votes
2answers
112 views

Chapter title format back to default

I messed with various chapter title formats and now that I want to go back to default i.e Chapter 1 Title I only get 1.Title which misses "Chapter 1" appearing before the chapter title. I ...
4
votes
2answers
289 views

Customizing chapter style with tikz

How can I customize chapter style like below picture? Thank you in advance.
2
votes
1answer
59 views

Chapter Name not appearing

I wanted to style the chapter name. I referred the following link : how-to-create-specific-chapter-style-in-book-documentclass Here is my code: %Template for Technical Document \documentclass{book} ...
0
votes
1answer
64 views

Get chapter numbers as text in the report class

im trying to get my chapter numbers printed as text, but on the way there i messed up my section numbers with text "ONE" and "TWO" an such, here is what i was doing, This code centers, pull up and ...
5
votes
1answer
105 views

Alignment of Part and Chapter headings text

Following this question of mine, I try to make the start of part and chapter title headings "vertically parallel" (right term?). Example of what I get: ("." not visible only to show space ...
4
votes
1answer
216 views

How to align the chapter number to the right?

Is there any way to align the chapter number to the right (without the CHAPTER word!) and the chapter title itself to the left? The chapter title must be on the line below the chapter number Here is ...
5
votes
4answers
502 views

Color background of chapter headings

I'm trying to change the background color of the chapter headings. I'd like the full top part of the page, including top and right margins to turn gray until the titlerule. Currently they look like ...
8
votes
1answer
664 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: ...
3
votes
1answer
162 views

Moving the chapter name in a titlesec frame?

I'm messing around with titlesec to make a frame with the chapter name in it. I can't figure out how to move the chapter name ("Chapter Foo" in the example). Here's the MWE: ...
3
votes
1answer
112 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 ...
0
votes
2answers
127 views

Avoid chapter pagebreak in twocolumn document

It took me a while to locate the error, but here's a MWE. I am using my own class, provided below: \documentclass[fleqn,10pt,twocolumn]{MWEclass} \usepackage{lipsum} % Required to insert dummy text ...
8
votes
1answer
347 views

Positioning of the chapter number in the margin note space

How can I fix the position of my chapter number? I would like to put it right in the middle of the space for the notes, and aligned with the first line of text of the chapter. I am undecided for the ...
4
votes
1answer
164 views

Same vertical spacing for chapter and chapter*

I use \chapter*{} in the \frontmatter and \chapter{} in the \mainmatter. I use titlesec and the styling of the chapter headings is this: \documentclass[10pt,a4paper,openany,oneside]{book} ... ...
5
votes
1answer
295 views

chapter style with lateral bar

Is is possible to have a different text/layout for the chapter page, and a vertical bar? What I want to achieve is something like this:
3
votes
1answer
351 views

Custom chapter title protruding in left margin

Based on this answer, I tried my hand at defining my own chapter title formatting. The idea is to align the chapter title to the right (a chapter always opening on an odd page) and underline it with a ...
5
votes
1answer
390 views

Emulating book-class-sectioning using titlesec and modifiying it

In short: Prerequisite: Need to emulate book-class for \part and \chapter using titlesec Change both to hang, start on same page Add titlerule to \chapter I want to optimize my rather hacked ...
1
vote
1answer
141 views

How do I hide “Chapter 0” in this custom style when using a numberless chapter?

Everything works perfect when I use \chapter{chaptername}, but I noticed that my table of contents and other similar non-numbered chapters have a "Chapter 0" in my header. \titleformat{\chapter} ...
3
votes
1answer
288 views

Two-line spanning number in chapter title

I try to have the chapter's number in my document twice as big as the title on the left and the two-line chapter title on the right. The number should span two lines, so the two lines of the title are ...
1
vote
2answers
137 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
477 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 ...
2
votes
1answer
561 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 ...
2
votes
1answer
194 views

Getting chapter title bigger

I would get bigger only the chapter title. I heard I should use titlesec package but I didn't understand how I should use it to achieve what I mean. I'm using book class
3
votes
2answers
268 views

Chapter format redefinition

I have change the \chapter section definition but in some chapters of the book I don't want to apply it. For example, in the code below I don't want to apply in \EjerPro. How can I do it? ...
3
votes
1answer
289 views

Distance between chapter title and the baseline of the following text

Consider the code below. The distance between the chapter title and the baseline of the following text is font dependent. I assume that there is a glue between the chapter title and the top of the ...
7
votes
1answer
785 views

Space above chapter with titlesec

The following code gives me some space above the chapter title, that I'd like to avoid: \documentclass{book} \usepackage[showframe]{geometry} \usepackage{titlesec} \titleformat{\chapter}[frame] {} ...
2
votes
1answer
480 views

Customizing \chapter command

Here is the picture: The code is from this post. \documentclass[a4paper,12pt]{book} \usepackage{graphicx} \usepackage{lipsum} \usepackage{fontspec} \usepackage{titlesec} \setmainfont{EB Garamond ...
12
votes
1answer
5k views

How to decrease spacing before chapter title?

I want to decrease the vertical space between the top of the page and the chapter heading. I have tried to follow the instructions for titlesec but I am not successful. I have tried the following two ...
5
votes
2answers
882 views

Error while trying to start chapters on the same page

This is my first post here. I have tried the solution proposed in this site to start chapters in the same page as the previous one ended but I always get an error. I am a TeX newbie and I feel that ...
4
votes
1answer
767 views

Setting the upper margin of chapter titles in scrbook

In a scrbook document I need to set the chapter titles close to the upper page margin, without leading number and with a \hrule afterwards. Redefining \chapterheadstartvskip does the trick with the ...
2
votes
2answers
1k views

Can't shift/position \chapter with titlesec?

Somehow I my attempt to change the placement of \chapter seems not to work. I would like to that my chaptertitle begins right at the top of the page. Do I need to change the plain pagestyle? ...
5
votes
2answers
3k views

How can I hide the chapter headings number on LaTeX and change the spacing?

I'm writing my Thesis but I have run into some layout troubles, I'm using the standard book document class, which results in my Chapters headings in the form of: Chapter # Name of my chapter ...
4
votes
2answers
526 views

insert code before chapter title

I would like to insert some code before the chapter title appears. I have defined: \newcommand{\toptitle}[2]{\itshape #1 \hfill #2 \par} Then, if I am writing for example: \begin{document} ...
4
votes
2answers
376 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 ...
4
votes
2answers
3k views

Removing vertical space before chapter headings.

I have a problem that I can't seem to solve. Basically, I want my chapter headings to be at the same position relative to top of the page as the rest of the text. I've looked at numerous resources ...
1
vote
1answer
770 views

Hiding chapter headings and including chapter name in section headings

I would like chapter names to not be printed but to appear in each section heading. For example: \chapter{Mychapter} \section{} \blinddocument \section{} Would print something like Mychapter 1 ...
5
votes
1answer
3k views

Center aligning chapters

I'm using the following to center align chapters. Heres the code \newcommand{\cchapter}[1]{\chapter[#1]{\centering #1}} And using \cchapter to format chapters. But the chapter heading for eg. ...
4
votes
2answers
1k views

Vertical space after title of unnumbered chapters (bibliography/ToC)

The title pretty much says it all: It is possible to add arbitrary vertical space after the title of the ToC or bibliography page within the report document class?
6
votes
2answers
7k views

How to set the chapter style in report class?

I want to set chapters to look like 'bigger' sections. Now in the report class I have a style like: Chapter 1 Introduction 1.1. Section What I want to achieve is: Introduction ...