Tagged Questions

{sectioning} is about commands like \chapter or \section forming the logical structure of documents. For questions specifically about {parts}, {chapters} or lower-level commands ({sections-paragraphs}), add the respective tag to the more general {sectioning}. A popular package is {titlesec}.

learn more… | top users | synonyms (2)

2
votes
1answer
81 views

Customize Bibliography layout with biblatex

I'm in the final stages of formatting my dissertation, and I'm having some trouble meeting the picky formatting requirements with biblatex. I'm required to have a cover page before the bib, with the ...
3
votes
3answers
107 views

Latex, how to “avoid” syllabify or hyphenation

I've a problem with latex (I'm new with it): it hyphenates :) :) I'm writing my thesis and I don't want the hyphenation. The strange thing is the fact that when I write the \chapter there is no ...
3
votes
1answer
115 views

LaTeX tufte-book how to wrap around chapter, section, subsection heading

I am writing a book using the package tufte-book. Some of my chapter titles and section titles are too long. But I don't know how to get it to wrap around instead of going into the margins and off the ...
0
votes
2answers
50 views

Margins of Section Title is Out of Bounds

I want my section titles to be same as the margins of the text. Here is an example of the problem (see title in section 1.1). I want a similar behavior as title (1.2). Any suggestions? What am I ...
3
votes
3answers
137 views

No space before first section in framed box

I am looking for the correct way to lay out content in a framed box. In my opinion the space before the first section in a box looks odd in comparison to the same content at the start of a page. How ...
2
votes
1answer
85 views

How to use fncychap's style for \section?

I have a complex document which requires the use of many levels of document structures. In particular, the first two levels, \part and \chapter are reserved for meta-information while \section plays ...
2
votes
1answer
26 views

Start text on second page (without \chapter) at same position as on first page (with \chapter)

This MWE shows what I am trying: % arara: pdflatex \documentclass[oneside]{book} \usepackage{color} \begin{document}% \chapter*{A}% Some text% \clearpage% \vspace*{-1pt}% ...
5
votes
1answer
63 views

Using \renewcommand to define sections

I'm trying to define my sections for my research paper using APA guidelines : Section : Centered, Boldface, Uppercase and Lowercase Headings Subsection : Left-aligned, Boldface, Uppercase and ...
4
votes
1answer
53 views

\subsubsection not appearing on document

My subsection titles are not appearing on the PDF rendering of my TEX document. Please help. Thank you \usepackage{setspace} \doublespacing \usepackage{titlesec} ...
3
votes
2answers
64 views

Appendix section numbering that mimicks theorem numbers?

I have a document with several theorems ("\begin{restatable} \label{thmA}..."). After each theorem I have the statement "see proof in section \ref{sec:thmA:proof}". So my appendix is now a long ...
4
votes
1answer
49 views

maxsecnumdepth causes tikz titlebar to disappear

I am usingtikz package to produce a grey section-header bar (rounded at one end), thus: \documentclass[a5paper]{memoir} \setsecnumdepth{chapter} % set numbering level ...
3
votes
1answer
127 views

chapter style: how to put a box on the egde like veelo style?

I would like to modify the BlueBox chapter style of the memoir documentation (below) in such a way that the bluebox is at the edge of the page, like the veelo style. \documentclass{memoir} ...
1
vote
0answers
13 views

How does one reference theorem names in a section title in the amsbook class? [duplicate]

I would like to reference the name of a theorem in a section title. Everything about this works fine, but on the page headers, one sees (??) instead of the Theorem number in the displayed section ...
2
votes
1answer
30 views

\flushbottom vs. fixing position of chapter heading in book class

Consider this MWE: \documentclass[12pt%,oneside% ]{book} \usepackage{setspace} \setstretch{1.2} \usepackage{lipsum} \begin{document} %\raggedbottom \chapter{ABC} See how this chapter heading is not ...
4
votes
2answers
106 views

Change numbering level for one chapter only

Apologies if this is duplicate but couldn't find it. I have a document using amsmath for chapter, section & subsection numbering, & everything (theorems, lemmas etc) uses the same numbering ...
1
vote
0answers
70 views

newcommand, section

I just received a new task in LaTex with a predefined structure and predefined commands. There was also the command \mysection. I think it shouldn't show the text of the section in the document, but ...
0
votes
1answer
67 views

display figure before new subsection, bot not on an own page

I have multiple subsections, one with 3 subsequent figures \subsection{Sometitle 1} words words words... 3x \begin{figure}[h!] \centering \includegraphics[width=\linewidth]{pics/img} ...
5
votes
2answers
270 views

How to have titlesec like behaviour for a Koma Script

I am using \documentclass{scrartcl} which I believe is a Koma-Script type. I now wish to have each \section{} start in a new page, similar to what \usepackage{titlesec} offers, as shown on this ...
2
votes
1answer
45 views

Changing subsection numbering within a chapter

I have chapters and I want the subsection numbering to correspond to the chapter numbering.. for example: Chapter 1 1.1 blah blah 1.2 hello At the moment, I have: Chapter 1 1 blah blah 2 hello ...
4
votes
1answer
107 views

Thesis chapter headings, any suggestions?

I've found a thesis with really beautiful chapter headings that I would like to use. What package am I going to need and how would I go about creating a heading that looks like the one below. Also, if ...
0
votes
2answers
74 views

How to reduce spacing between titles of chapters?

I want to reduce spacing between titles of chapters. What changing should I do in the following example? \documentclass[12pt]{report} \usepackage[dvipdfm]{graphicx} \usepackage{amsfonts} ...
8
votes
1answer
69 views

Headline adjustment

How can I adjust the chapter headline, so that the last line ends with the red box? And is there a way to move the whole chapter heading so that the word "chapter" is adjusted with the main text, i.e. ...
2
votes
1answer
65 views

Change Section Label in Table of Contents and Section Title

I need help with how sections created in the appendix are labeled in the table of contents and the section title itself. As it sits now, I have each appendix as a section with a capitalized alpha ...
0
votes
0answers
66 views

Section titles without numbers in non-starred version

I am trying to format the section title in the memoir class, so there is no section numbers in it, and I don't want to use the \section*command because it makes it more cumbersome to make it show up ...
3
votes
0answers
87 views

\makechapterstyle{} for scrreprt (change chapter title format) [closed]

The memoir-class offers the command \makechapterstyle{} to define the look of all chapter titles (e.g. https://www.writelatex.com/1312879nbdvry#/3224717/) Is there a way to create something similar ...
1
vote
0answers
45 views

New class prevent XeLaTeX to compile the section title

I created a new class, called capitulo to prevent a page break with every chapter. But when I activate those code lines, the section number won't print. Here's a MWE: ...
4
votes
1answer
64 views

Empty line after \paragraph?

In order to have a subsubsubsection I have used \paragraph. The problem is that I get text immediately after the tittle. How do I make to get a empty line after \paragraph?
2
votes
1answer
62 views

Too much vertical space after long section title using titlesec

I'm using titlesec to change the style of my section titles. Sometimes, when the title is long, but just short enough to fit on one line, some extra vertical spaces is add. The following MWE ...
0
votes
0answers
41 views

How to make the line spacing of different sections in one chapter?

I have a chapter in my report that has many sections. For some reason, I would like to make the line spacing for some section equal 1 and 1.5 for some others. So for example I have a chapter called ...
2
votes
1answer
82 views

Remove additional space before section in tcolorbox

When I set the parbox option of a tcolorbox to false, every section, even the first one, is preceded with additional whitespace. Is there any way to tell tcolorbox to handle the first section ...
5
votes
1answer
64 views

Small indentation appears when adding custom header

A small indentation appears on the first line of the paragraph when I add \pagestyle{myheader} to the MWE. I don't want it there. Thanks to Gonzalo Medina's answer I did the part described in Section ...
4
votes
2answers
136 views

\renewcommand not working for subsection

I wanted to number sections with alphabets and subsections with roman numbers I have added these two lines above \begin{document}: \renewcommand \thesection {\Alph{section}} \renewcommand ...
0
votes
0answers
22 views

Customize sections' numbering [duplicate]

I want to customize my sections to look like the following but I don't know how to do it. Can somebody help ?
5
votes
2answers
139 views

How to center an unnumbered section name?

I have a chapter chap1.tex in latex project project.tex which has the following sections: \chapter{Overview} \section*{Introduction} \section{Model} \section{Discussion} When I run my ...
6
votes
1answer
59 views

Spacing after first line with titlesec using runin option in titleformat

I'm using the titlesec package to format my (sub)section titles. I'd like to use the runin option in \titleformat to place my subsections titles within the first paragraph of each subsection. However, ...
3
votes
1answer
92 views

How can I redefine the chapter command to display additional text below the title?

I'm relatively inexperienced with Latex. I'm using the Memoir class and I've been trying to develop a custom chapter style based on Danie Els' BlueBox style (the source for this is given on page 46 of ...
3
votes
1answer
61 views

How to get the chapter title in a single page - titlesec

Because of my thesis report style, I want to have the chapter title in a single page. I'm working with titlesec package. I used \clearpage and \newpage to solve this, but doesn't work. I also used ...
1
vote
1answer
75 views

How to create custom section titles with a “<title> <number>” format in LaTeX?

I have the same problem like here: How to create custom section titles with a "<title> <number>" format in ConTeXt? But I would like to solve it in LaTeX. Is there a simple way ...
1
vote
1answer
38 views

How to make \chapter and \part align right and get a quote under them?

Consider this example: http://jmvdveer.home.xs4all.nl/algol68g.pdf Section and chapter titles are set so they align with the right margin, how do I do that? and more importantly, how do I make them ...
1
vote
1answer
277 views

How to get Arial Narrow typeface in section header in pdflatex

I am new to LaTeX, so I hope this is not obvious, but have searched for straightforward documentation on how to do this and can't find it. I am creating a chapter for a book that has very specific ...
2
votes
1answer
30 views

Problem with color in \part heading

Below is my code, where the myBox definition interferes with the color of the heading I define for my part style. Any ideas why the horizontal line in the \part heading becomes blue? I want it to be ...
2
votes
1answer
91 views

KOMA-Script: How to colour just the section numbers

I have added a splash of colour to my thesis and found it looked quite nice. The theme is: Chapter and Section headings are a dark blue, and the numbering is a brighter blue. I managed to do this for ...
3
votes
1answer
82 views

Redefine \part style

I'm using \documentclass{book}. I want to modify my \part style so that I can get a page that for instance illustrates the following content (basically Part title + a quote at the bottom): ...
5
votes
2answers
187 views

\part Heading style

I'm using \documentclass{book}. I like to redefine my \part style to sth similar to the one in the picture below. So, I like when I use part I get sth similiar to pic below with "Part" instead of ...
0
votes
0answers
28 views

How to bold the chapter number

I have removed the "Chapter" text. Now I want to make the number of chapter bold. How can I do this \titleformat{\chapter}{\rmfamily\huge}{\thechapter.}{25pt}{\huge\textbf}
2
votes
0answers
45 views

Using Lua in listed elements (List of Figures, List of Tables, List of Content)

I am not sure if I use the wrong approach or if this is an issue in LuaLaTex in general. I tried to integrate some internationalization (I18n) to our documentation framework using Lua. Long story, ...
2
votes
1answer
36 views

Modifying Section Style modifies the style of Contents in ToC

In the article class, if the style of the section heading is changed, the style of the contents heading in the Table of Contents is also changed. How to prevent this? ...
11
votes
2answers
264 views

How can I put section between 2 horizontal lines

Could anyone tell me how can I put section between 2 horizontal lines. I tried something similar to the following code but it did not work. \makeatletter \renewcommand\section{‎ \hrule ...
5
votes
1answer
148 views

Reducing chapter and section spacing for scrbook

I'm using scrbook document class and using chapters and sections. The spacing between chapters and sections is quite large, too large for my taste (before and after the chapter and section). So my ...
3
votes
1answer
95 views

My Own CV Template - Help!

I wanted to develop a hybrid of moderncv and article class, another CV template. I am facing difficulties. Here is my code till now: \documentclass[12pt]{article} \usepackage{libertine} ...