Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sectioning]

{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}.

0
votes
0answers
10 views

Why does it cause errors in subsubsubsections

I want another level of subsections (i.e. subsubsubsections). For that I am using; \setcounter{secnumdepth}{5} \paragraph{This is my subsubsubsection} However, this gives me an error saying that ...
0
votes
0answers
20 views

Move text to the very end of the Chapter

I am writing my thesis in Chapter form. Each chapter has sections. I want to move my final section titled 'discussion' at the very end of the chapter. However, it is coming either before or between ...
0
votes
1answer
25 views

Table of Contents Spacing/Indentation

I need help formatting my Table of Contents. All my sections have a roman numeral numbering system that I would like to keep but it does not space it right in the Table of Contents. I also prefer the ...
0
votes
0answers
19 views

reledmac: skip newline in eledsection

I am trying to skip the newline in a \eledsection but both \usepackage{titlesec} \titleformat{\section}[runin]{}{}{}{}[] and \RedeclareSectionCommand[beforeskip=-.5\baselineskip,afterskip=-1em]{...
1
vote
0answers
26 views

How to Create Section Tags in TexMaker from Another Command?

This is more for convenience on my part. I'm writing up my homeworks in latex using Texmaker and that involves sectioning parts of the homework as different problems. The document class I'm using, ...
1
vote
1answer
32 views

Change font for the \paragraph command

If I add something like \paragraph{Title} Paragraph text to my LaTeX document, "Title" will have a bold font. I want to change it to \textit. How can I do it for \paragraph{} and \paragraph*{} ...
2
votes
1answer
36 views

Differentiated TOC/body section names in reledpar

In a reledpar project I'd like for some sections to appear in the TOC with different names than how they appear in the body. Normally this is straightforward: \section[name in TOC]{name in body}. ...
3
votes
2answers
66 views

Independently style head in TOC and in document

I'm using a custom typescript (after help in this question) which includes (among other things) two additional weights, medium and semibold, and their size modifiers (like \tfa, \tfb and so on). ...
2
votes
1answer
98 views

How to change the spacing between numbering and text in subsection

I am a Master student and currently I am writing the thesis. My University did provide a template but it is in Microsoft Office Word but I am using latex. The attached figure is the example of the ...
0
votes
2answers
55 views

RedeclareSectionCommand, beforeskip not working

I am trying to have sections have space before them using \RedeclareSectionCommand. beforeskip will work for this, but I also want the section to start on a new page and when I put it onto a new page,...
0
votes
1answer
26 views

Titlesec package removes indents from section headers

For my text document with the book class I start each new chapter with an abstract. The format of this abstract section is designed such that the abstract header is indented with respect to the ...
0
votes
0answers
16 views

Structure paragraphs a bit more

I often try to group paragraphs together with \\[0.5cm]. For example I have a section with 5 paragraphs and I think the first two and the last three are more connected with each other I would group it ...
0
votes
0answers
31 views

Change paragraph TOC style

i'm modifying my LaTeX template, and I used the code from this answer to modify a few things in my TOC. Currently i have this code [Modified in order to make it compilable, using the same libraries my ...
2
votes
2answers
18 views

Question about ecv class

The class is available here and here I want to add a section named Objective. But I want the entry text to appear next to section and not below. Here is an example %% %% Copyright 2006-2011 ...
0
votes
1answer
62 views

Add a summary of sections in chapters

I would like to add a summary of sections in chapters at the beginning. Is there a nice way to get good looking headings with information (numbering, heading text) replicating those of the chapters ...
1
vote
0answers
18 views

Convert all sectioning of a document (or part of it) to the corresponding hierarchically higher one (in TexStudio)

I wrote a document which has now around 120 pages. As I'm new to Latex, I started writing the document without using the sectioning \part (as I didn't know it existed). So the higher hierarchical ...
0
votes
0answers
26 views

\section using characters instead of numbers? [duplicate]

The \section{something} enumerates from 1 to N-1. I was wondering if instead the \section{something} could print letters like A. Section B. Section ...etc.
-1
votes
1answer
53 views

Title of a chapter without the word “chapter”

At the end of my dissertation, I have a plan for future work. My question is How can I make the title "Future work" appear as a chapter heading without the word "Chapter" and also number as well as I ...
3
votes
1answer
83 views

Problem on position of bookmarks in PDF

I am writing a book that has 3 parts and each part has many sections. After compiling the .tex file, some of the bookmarks of the .pdf file are misplaced as shown in below: and its MWE \...
2
votes
1answer
30 views

New command for multiple subsection

I am writing an university report and I have to answer to a series of topics divided in points. I'd like to obtain a header like this 1.1.a,b,c. I have written this command to generate a single ...
1
vote
1answer
21 views

Subsection not showing inside header beamer

I want that the subsections of the current section appear at the top right of the page (where it's gray) inside my beamer document. I thought that it was like that with the default options using the ...
1
vote
0answers
35 views

Fancy chapter heading format under tufte-book class

I want to write chapter heading for a tufte-book document. Here is what I want to use: https://tex.stackexchange.com/a/339892/159116 \documentclass[openany,letter]{tufte-book}% \usepackage[T1]{...
2
votes
2answers
131 views

Have “enumerate” continue the numbering of Sections, Subsections, Subsubsections, etc

I'm using MikTex and I'm attempting to create a government statute-type document that has nested levels such as: I. Section A. Subsection 1. Subsubsection etc. Additionally, I would like "...
3
votes
1answer
59 views

Duodecimal chapters, sections etc

Thanks to duodecimal page number I don't have to ask how to get duodecimal page numbers and I managed to get duodecimal chapter numbers with that method too. But how do I change the sections, ...
2
votes
2answers
76 views

Create a new environment with the same numbering as \newtheorem

The setup \theoremstyle{definition} \newtheorem{definition}{Definition}[section] \theoremstyle{plain} \newtheorem{theorem}[definition]{Theorem} \newcounter{nremarkctr} \newcommand*{\nremarkname}{...
0
votes
0answers
16 views

Specifying horizontal spacing for section title from the margin instead of after numbering

I am modifying the available class file for my requirement using renewcommand in the preamble. \renewcommand\section{\@startsection {section}{1}{0mm}%spacing before numbering ...
1
vote
1answer
49 views

How to number sections in LaTeX?

Hello I'm new to latex so don't know much. I'm writing my lab report (prl,aps,revtex4-1 etc) and I want the sections to be numbered in Roman numerals but I can't seem to figure it out. For example my ...
1
vote
1answer
22 views

How to change the color of a section in ACM template?

I am trying to change the color of the name of a section in ACM template. \section{\color{red} My Section} I have found this solution but it did not work. It gives the error of Undefined color RED ...
4
votes
2answers
21 views

Section formatting: text/ornament after and before within the title

I would like to do redefine the section title command by enclosing it with ornaments like the following: ~ornament~ SectionTitle ~ornament~ I had looked up the titlesec documentation and many more ...
0
votes
1answer
31 views

Subsection Appears Twice

I'm writing a report including images and pdf files, and I just realized there was a bug with the last subsections: they appear twice when I create the pdf It only happens with the two last ...
0
votes
1answer
25 views

How to prevent pagebreak between section/subsection title

How to prevent pagebreaks between section/subsection titles and the multicolumn content of the document when using the paracol environment like this... \begin{paracol}{2}[{\section[shorttitle]{title}...
1
vote
1answer
10 views

Beamer: subsections all in one line, with dashes in-between and proper highlighting

How can I list the subsections in the table of contents with dashes in between? I found a partial solution (thanks to samcarter, in a previous question), however when the table of contents is ...
1
vote
1answer
16 views

Beamer: subsections all in one line, with dashes in-between

How can I list the subsections in the table of contents with dashes in between? I managed to get dashes in-between but also behind the last subsection in the code below. The extra dash does not seem ...
1
vote
1answer
35 views

Referencing parent(s) of labels

I'm trying to reference a label's parent so it outputs something like "Section, Subsection" or "Section, Subsection, Subsubsection". I've come close with smartref by doing the following: \usepackage{...
2
votes
1answer
44 views

“Jump” between columns

I am trying to create a two-column document where I can create sections such that the title of the section is in column 1 and the text of the section is in column 2. Like in the image but obviously ...
2
votes
1answer
37 views

Prepend “chapter” and “appendix” only for non-starred commands

I am using a KOMA Script class, and I want to prepend the words "Chapter" and "Appendix" to chapter headings, but only if the chapter was created using a non-starred command (i.e., it has no number/...
0
votes
1answer
43 views

How to move section,subsection, etc. title entirely to page margin?

How to move section's, subsection's, etc. titles entirely to page margin? I want to have section's titles at margin and section text should start at the same height as section title. I'm working with ...
1
vote
1answer
29 views

Is it possible to change the color of the section heading and the number associated with it for just one section?

Currently, I have \section{{\color{red} Conclusion}} \label{sec:conclusion} This results in the word "Conclusion" to turn into red. But, the section number VI still appears in black. Is there a way ...
5
votes
2answers
82 views

TikZ in section heading

I am trying to include a first circled and then boxed word in a section heading. Currently, I am only able to create this highlighted word within a normal paragraph, but not inside of a heading. My ...
3
votes
1answer
72 views

Include tikz image in other text files of each chapter

I am working on a book which each chapter has an image .jpg or .png. The code that accomplishes this is: \newcommand{\thechapterimage}{} \newcommand{\chapterimage}[1]{\renewcommand{\thechapterimage}{#...
1
vote
1answer
37 views

How to update the header and TOC for star marked the sections

I am using the following MWE. I want to define a chapter, with different sections (Prologue, paper 1, paper 2). I want the star marked sections to show up in TOC, for which I am using a user defined ...
0
votes
1answer
25 views

Subsection numbering inconsistent between table of contents and actual subsections

I am experiencing a strange behavior where, in the table of contents, my subsections and subsubsections are in arabic, which is what I want. However, in the actual subsections the labelling is ...
0
votes
1answer
35 views

Hide Subsection In tabel of content

I want the two subsections with low opacity i want that just the section title visible
1
vote
0answers
52 views

Coloring chapter and section and relative numbers [closed]

I tried to color che chapter and the section after their restiling. I re-used two code and mixes them, but i had no positive results. How solve this problem?? \documentclass[a4paper,12pt,oneside]{...
2
votes
1answer
28 views

Have section numbering use specific strings

I am trying to create a document outlining a work breakdown structure. I would like the first section to be numbered "R3" instead of with the number one, the second section to be numbered "R1" ...
1
vote
2answers
59 views

How do I bold the 'title' of a paragraph?

I would like to describe several points in several paragraphs. I want to give 'title' for each point at the beginning of the paragraph like this:
0
votes
1answer
25 views

Removing section numbering still generates numbers in toc

I use the report-class. To remove the section numberings, I use this in the preamble: \makeatletter \renewcommand{\@seccntformat}[1]{} \makeatother This works as I want; sections are shows only ...
1
vote
1answer
22 views

How to remove the Table of Content's title

I want the \tableofcontents to produce only the list of the elements in form of a "true list", which mean I can type text on the same page before and after the list, and the list can be moved to ...
0
votes
0answers
8 views

Irregular spacing between section titles and text using llncs class, algorithmic and minipages [duplicate]

Following is a MWE of my problem. I am using llncs class file for a conference paper and if I write the paper without the use of algorithmic environment and minipages, the space between section title ...
0
votes
1answer
22 views

Inconsistent vertical spacing in section header

My question relates to the following code due to Heiko Oberdiek: \documentclass[11pt,a4paper]{article} \usepackage{xcolor} \usepackage[calcwidth]{titlesec} %Underlining ruler for subsections \...