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)

0
votes
1answer
5 views

titlesec: \paragraph don't displays with explicit option

I need to use the explicit option of titlesec package. However, the paragraph is not displays with follow code: \titleformat{\paragraph}[hang]{\bfseries}{}{}{}[] Maybe I dont' know the explicit ...
3
votes
1answer
44 views

How do i add a blue box around the section number?

I vant to make the section design like shown on the picture below. So far i have managed to get the section numbering in the margin, but I have no idea how to make the box (or change the fonts in ...
0
votes
0answers
27 views

Fancy part title page with titleformat and centering problem

I would like to create a fancy part title page but I have some issues with titleformat. Currently, I use : \titleformat{\part}[display] {\normalfont\filcenter\thispagestyle{empty}} {}{0pt}{ ...
1
vote
1answer
45 views

Remove newline *before* \section

I have searched a lot to find an answer to this question, but I could only find how to remove a newline after \section (or \chapter). How can one remove the newline before \section, as defined by ...
1
vote
2answers
73 views

Why does LaTeX move my section to a new page?

I'm using LaTeX to create a CV, however, parts of my table move to another page. The following 'experience' bit of the tabular thing goes to a new page. How do I stop this?! ...
1
vote
1answer
44 views

Text titles in table

I'm trying to universally adjust my text titles via titlesec package. Though I cannot use those titles (subparagraph in my case) in a table - there are excessive vertical gaps I'm not able to get rid ...
3
votes
1answer
40 views

Change wording used in sectioning such as \part

I am busy writing an article that is not in English. It is divided into various parts so it makes sense for me to use the \part{} command. However, using \part{} adds the word "Part XX" to the ...
2
votes
1answer
42 views

Hierarchical Paragraph numbering with leading text

I'm new to Tex and LaTeX and I don't know where to even look for an answer. I would like to use LaTeX to produce a document (requirements document) where the requirements paragraphs/subparagraphs are ...
4
votes
1answer
24 views

Reduce gap between section and subsection heading

With the code below, I have a very large space between the section 1 heading and subsection 1.1 heading. I've tried to change the \titlespacing options but I still can't reduce this large space. What ...
2
votes
2answers
58 views

Margin adjustment for section text

I've been messing with my margins, section dimensions, geometry package dimensions, and titlesec settings to get this layout (and have, so far, failed): (left margin set at 0.75in) ...
0
votes
1answer
34 views

Starred chapter number and name in header

I have created custom chapter headings: \documentclass[final]{book} \usepackage{lipsum} % Custom macros \def \mychapter#1{% \chapter*{\centering{\LARGE #1}\thispagestyle{empty}}% ...
1
vote
1answer
20 views

Starting text right after section in -res- class

Is it possible to start your text right after the section in the res class? As an alternative, one could also fake a section title's look (font) etc. However, how would you fully indent it to the left ...
2
votes
1answer
37 views

How to force only one chapter to start on even page

I have quite a long book in which chapters SHOULD start on odd pages. But there is final, About author, chapter which I want to be printed on reverse side of previous chapter page. In other words, I ...
0
votes
0answers
27 views

Two column bible style headers

I found this nice(see last code on the page ) example I'd like to have two column text and when i use \documentclass[paper=a4,twocolumn,pagesize=pdftex]{scrbook} section (leading paragraph) ...
4
votes
1answer
34 views

New character in section title

With a lot of help from this site I have made some code for a new character ʾ (transcribed Arabic Hamza) consisting of a raised, small rotated c. This character needed special kerning for italic font ...
0
votes
0answers
13 views

Inconsistent AUX and OUT files create section not in TEX

I'm working on a document that has little content yet however I'm getting a section "2 Literatur" which is not in my TEX document currently. I can't figure out how to delete the section "2 Literatur". ...
0
votes
0answers
24 views

Run-in heading on condensed bibliography

I am writing a grant with a rather strict page limit and have used run-in headings as implemented in titlesec. included in preamble: \usepackage{titlesec} \titleformat{\section}[runin] ...
1
vote
2answers
60 views

Disable indentation within a section [closed]

I want the text inside a \section{} tag to be unindented, how do I accomplish this? I have tried \noindent and \parindent0pt{text} and neither one seems to affect the text inside a section.
2
votes
1answer
22 views

Numbering sections independent of chapters numbering [duplicate]

Is it a way to create a document in such a way that the numbering of the sections is independent of that of the chapters? e.g.: Chapter 1 section 1 section 2 Chapter 2 section 3 ...
3
votes
1answer
32 views

Changing the word “Subsubsection” to something else

I am using babel (spanish) and want to change the name provided by \subsubsection (e.g. "Subsubsección" in Spanish) to something shorter (e.g. "Sección") To that end, I tried to follow the post: ...
1
vote
2answers
34 views

Change Font Size in Chapter Title without affecting Running Headers (Book Class)

Actually, I'm using the bookest class but it inherits book class commands. The documentation is sparse, unfortunately, and CTAN's book class manual seems to be misfiled (downloading the documentation ...
2
votes
2answers
45 views

How to change predefined section name?

I have looked at many answers (and tried them) for this particular question but nothing has worked for me. I've tried with the titlesec package but it gave me an error, and afterwards I noticed that ...
3
votes
1answer
42 views

Change the default headers of the book class

I am writing a thesis and my university requirements are to use 14pt fontsize for the body text with 1.5 line spacing. They require the chapter headings and the word CHAPTER #N to be in ALL CAPS, ...
1
vote
1answer
23 views

Undesired heading and footer in TOC (only) in memoir

I want a certain layout for the heading and footer for a document I'm writing using Memoir documentclass. The problem is that the entire document follows the defined heading and footer, except the ...
1
vote
1answer
36 views

Changing the design of the first page of a new chapter

I have a chapter located in the back-matter part of a book-class document which I want to change the style for. More precisely, I do not want to have the same big amount of space empty before the ...
4
votes
2answers
116 views

Rotate section headings

I'm trying to create a document according some brand guidelines which require the use of angled and coloured section headings. I have the colours working using the xcolor and sectsty packages, but ...
0
votes
0answers
24 views

LaTeX keeps placing floats above section headlines

I followed the accepted answer to the question on how to Start new page with each section but LaTeX still puts a float object on the top of a page, above the section headline. Instead, I want this ...
1
vote
1answer
63 views

How can I access short section content to avoid repetition?

I'm making frequent use of short section names for styling. I want the short names to appear in page headers and the longer name only in the document itself. I have that worked out, but it requires a ...
0
votes
1answer
41 views

How to use hyphen in section title

So my problem is that I need to use hyphen in the title of some of the section of the report that I am preparing. However, LaTeX would not allow me to use hyphen. Amazingly, by playing with LaTeX at ...
2
votes
1answer
26 views

titlesec-package prevents TOC from showing full subsection number

I'm using titlesec for customizing section titles. The problem is, that it prevents TOC from showing full (sub)subsection numbers. This applies to referring to section labels as well: ...
3
votes
1answer
26 views

How do I avoid `sectsty` removing a line break when using `paragraph` as a subsubsubsection

I am trying to use the first bit of code in this answer to use paragraph like a subsubsubsection. The problem is that there is a conflict with sectsty - without this the output is exactly as in ...
0
votes
0answers
15 views

Chapter section doesn't appear in the table of contents with a book

I'm using book style, but it happens with a report style, too. I'm using chapter* style and I want that the chapter section appears in the table of contents, but it doesn't appear. This is the code: ...
2
votes
0answers
14 views

Space after Proof Environment to next Section

I am using a modified definition of a proof environment: \makeatletter \renewenvironment{proof}[1][\proofname]{\par \pushQED{\qed}% \normalfont \topsep1\p@\@plus3\p@\relax \trivlist ...
7
votes
1answer
42 views

Two footnotes in a heading, only one is displayed at the end of the page

I'm adding two footnotes to a section heading: \documentclass{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lipsum} ...
1
vote
0answers
32 views

Incorrect page number counter in beamer using sections

I am trying to put together a beamer document put together using multiple sections where frame numbers restart at each section and I can leave certain frames at the beginning of the document and at ...
2
votes
1answer
42 views

How to redefine \section{…} to include \textsc{…}? [duplicate]

I'm writing a rather extensive report in LaTeX in which I have some specific preferences for my section titles. For example, I want the titles to be in upper-case using the \textsc{..} command. If I ...
0
votes
0answers
27 views

How to add a newline after subsection

I was using this template for my tex document. However, it removes the new line after the subsection. I want to have a new line after the subsection elements For eg \subsection{My subsection} Text ...
3
votes
1answer
70 views

Conditionally print subsection in Beamer

I've ported from PowerPoint my university's template in Beamer, and added some code to display sections (and subsections when they exists) in the header. This is the code snippet I've put in the ...
3
votes
1answer
39 views

How do I change the format of one section heading without affecting how it appears in the table of contents?

In one instance in my document I have the following: \section{\large Multi-worded section heading } Currently in the table of contents, it appears larger than all of the other titles (no doubt ...
6
votes
2answers
78 views

Insert matrix into \subsection{}?

I was trying to insert matrix into a \subsection{}: \subsection{Suppose $X= \begin{array}{cc} 1 & 2 \\ 3 & 4 \end{array}$} This gives me an error: ! TeX capacity exceeded, sorry [input ...
7
votes
1answer
88 views

Start a specific chapter on the left page?

Using the book class with the twoside option, I get chapters that start on right/odd pages, which is the expected behavior. Still, I would like to have some specific chapters starting on a left/even ...
2
votes
0answers
36 views

How to set bookmark anchor so \section- and \section*-bookmark behaves the same

If I make a \section and \section* bookmark, the anchor points to the two sections in a different place. A small vertical space is added to \section* (see png-files). How can I make sure the anchor is ...
0
votes
0answers
33 views

How do I add feature status labels to a software design document?

I'm writing a design document for a piece of software, and during the development this document will be referred to when looking at what features to develop next. How can I add labels in my document ...
2
votes
1answer
43 views

Font sizes for different header levels

What are the font sizes for \chapter \section \subsection \subsubsection and paragraphs when using the report,11pt document class? Also, what is the padding before and after each header level. I ...
0
votes
1answer
23 views

Organizing floats in a multi-file project

I find it convenient to manage my papers on a one-section-one-file basis. However, I also find it convenient to have my figures defined in the corresponding section. Unfortunately, these two ...
0
votes
0answers
42 views

Prevent titles at bottom of page—sometimes

I have a book that contains both prose and poetry. I don't want a poem to start too close to the bottom of the page. That's what the nobottomtitles option of titlesec is for. I don't want this to ...
0
votes
0answers
24 views

\titlesec mesh up with bookmark anchor in star-section

When \titlesec is enable, the bookmark anchor to \section*{text} is shifted one line. How can I redifine \titlesec so it does not add a line in *-mode? \documentclass{book} \usepackage{titlesec} ...
1
vote
1answer
50 views

Is it possible to use both long name and short name of the section in headers?

I'm using fancyhdr, and following this answer I have redefined \sectionmark as: \renewcommand{\sectionmark}[1]{\markboth{#1}{}} so that \fancyhead[RO,LE]{\leftmark} gives the name of the ...
1
vote
1answer
46 views

Centering sections without centering subsections

This question is about how to center all the sections (including chapters) without centering subsections. I have browsed all the related questions asked here but I found no one to which my question ...
3
votes
1answer
38 views

Turn off \appendices switch and resume normal section lables

Background: I am appending several IEEE style papers using the solution here. Most of the papers include appendices using the \appendices switch to redefine \thesection to create Appendix A, B, C, ...