Tagged Questions
4
votes
1answer
52 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
94 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
138 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
131 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
66 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
123 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
94 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
169 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
187 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
111 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
165 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
148 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
300 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
308 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 ...
10
votes
1answer
898 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
295 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
448 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
699 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
2k 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
334 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
283 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
2k 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
626 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
2k 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
807 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?
3
votes
2answers
5k 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
...

