{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
0answers
5 views

Issue with page breaks before section and toc hyperlinks

I need page breaks before each \section{...} of my document. According to this thread: Start new page with each section I am supposed to add following command: \newcommand{\sectionbreak}{\clearpage} ...
1
vote
1answer
40 views

How to indent section and subsection differently

I want to set parindent to 2mm in all my sections and parindent 0mm in all my subsections. Is there a way to do this ? Thanks Ráď \documentclass{article} \begin{document} \section{Section1} Lorem ...
4
votes
1answer
59 views

How to limit the width of a subheading?

The thesis formatting manual has the following requirement: Subheading width: A long subheading title should be divided into two or more lines. No single line may be wider than 4 inches. ...
5
votes
1answer
57 views

Long form of acronyms capitalized in section headings

I use the glossaries package and defined headers often in section titles. In general I keep the first letter of each word in the headings in capital case, but if an acronym occurs the first time, it ...
2
votes
2answers
66 views

latex dynamic subsection nesting

I need to find a command/environment that allows me to nest a [sub]section one level deeper than the level of the parent [sub]section. For example, given this syntax, \section{Foo} ...
2
votes
2answers
43 views

Remove section number from Table of Contents

How can I remove section numbers from the Table of Contents? My document class is article: \documentclass[a4paper]{article} \begin {document} \tableofcontents \section{one} test text number one ...
0
votes
0answers
21 views

Format Latex report Chapter, Section, Subsection header styles

I'm writing my thesis and instructions for chapter, section and subsection are as following. - Chapter heading :All Capital—14 Font size, Bold - Section heading :Title case-12 Font size, Bold - ...
4
votes
2answers
39 views

IEEE tran: How to left justify Single column headings in Lyx

I'm using LyX and have created an IEEE tran document. It says in the documentation that in order to make the document single column all one has to do is add the following to the class option: ...
2
votes
1answer
46 views

Aligning header to the right in ConTeXt

I am typesetting a novel in ConTeXt and one of the things I was in need was a way of typesetting headers for scenes. A scene as I understand it, is simply a couple of lines which separate paragraphs, ...
1
vote
0answers
50 views

How to prevent new sections from going to next page or paragraphs in LaTeX

I am working on my two-column article. I notice that often when I use the \section{} command in LATEX, the new section appears in the next column (or even next page), even if the first column or page ...
0
votes
0answers
25 views

I don't know why I'm getting these white spaces in my PDF [duplicate]

I was just doing a project in sharelatex and from one time to another the white spaces shown in the figure appeared, the white spaces are the ones between subsections. I've spent 20 minutes trying ...
7
votes
2answers
1k views

Sectioning in letter-type documents

I want to use sectioning in letters (section, subsection, etc), but here I read that basically all of these sectioning commands do not apply to letters. What is the proper way to create sections in ...
3
votes
1answer
44 views

TOC section symbol/numbering

So I've come to the following problems while writing something in LaTeX, first, I want to have the numbering of a section of the output to be just a number not depending of the chapter. (not like ...
1
vote
1answer
33 views

Appending “Chapter #:” to numbered chapters but not unnumbered ones in a bibliography by section

I use the following code to general a bibliography-by-section in a 'book' document, but this appends "Chapter #:" to all chapters, including unnumbered ones. How can I modify the code to only append ...
3
votes
1answer
35 views

Aligning a parbox inside titlesec

I'm trying to produce a document with section numbers in the page margin. I found a pseudo-solution which llaps the section numbering to mimic the result. I'm not happy with the way the number and ...
3
votes
1answer
46 views

Problem with moderntimeline after customizing \section in moderncv

I customized the \section command in moderncv to get a color fade in the section headings. But now this messes up my moderntimeline and moves the lables of it around. I figured already out that this ...
4
votes
1answer
38 views

Customizing \section in moderncv

I'd like to customize my moderncv a bit. For my sections I want a color fade in the headings. For this purpose I got this code in Latex: \documentclass{article} \usepackage{tikz} ...
4
votes
2answers
48 views

Header in fancyhdr

Alright, so I'm using fancyhdr with the default options. I have some sections, where I'd like it to appear different in the TOC. This is accomplished like so: \section[test (in the TOC)]{test} In ...
5
votes
1answer
122 views

Problem with defining own sectioning with color gradient

I want to define a special sectioning type for my CV. But I have problem which I can't figure out myself. I got the following code which produces the section heading with a color gradient how I would ...
2
votes
1answer
62 views

Glossary-like list of subsection headings

I have a document, that has same subsection headings on multiple pages. I would like to create something like a glossary, that prints the list of headings and references to the pages where the ...
2
votes
0answers
13 views

Article document class make subsection headings italic and remove boldface [duplicate]

How can I make only the subsection headings italic and remove boldface in article document class ?
1
vote
1answer
27 views

linebreaking when using raisebox in section

How to break the line when using raisebox command in \section. My MWE is : \documentclass{book} \usepackage[explicit]{titlesec} \usepackage{lmodern} \usepackage{graphicx} ...
3
votes
1answer
56 views

Section heading in moderncv with color gradient

I'm creating a new CV using moderncv at the moment. But I'm modifying the package to get a (at least in my opinion) better fitting result. I'm looking for a way to make the section heading with a ...
4
votes
1answer
31 views

Appendix title on a new line

I am trying to modify the appearance of the Appendices in my thesis work. I am using: \documentclass[a4paper,10pt]{article} \usepackage[titletoc,title]{appendix} \begin{document} ... ...
3
votes
4answers
195 views

How to get the special capitalized headings

I apologize if this has been asked before, but I did some searching and could not find an answer as it is hard to word the question without providing a picture. I was wondering how the author got ...
2
votes
1answer
287 views

Output to PDF doesn't print out everything

I have the following text in a file: 1 A2: 1.1 General Information 1.1.1 About This Manual 1.1.2 Typographical and Syntax Conventions 1.1.3 Overview of the MySQL Database Management System 1.1.4 ...
5
votes
1answer
37 views

How to have Run-in Section in a separate command?

In the question asked here How to have the same solution but in a different command without affecting the \section command? I mean I would like to create another command e.g. \runinsection that would ...
4
votes
1answer
57 views

Help on adding color option to chapter title

I'm trying to create an option to easily change a color bar in a chapter title. This code works on changing the color of the bar, but ruins the formatting. All of the chapter text is to be aligned ...
0
votes
0answers
18 views

Insert soft \newpage before sections

Normally, sections encourage Latex to \pagebreak so that if e.g. a section is close to the end of a page, it will get pushed onto the next page. I am happy with this behavior, except for one point: ...
3
votes
0answers
92 views

How to reduce the gap at the begining of chapter 1? [closed]

\documentclass[a4paper,12pt]{mnnit} \usepackage{graphicx,times,epsfig,amsmath} \usepackage[Sonny]{myfancy} \usepackage{fancyhdr} \setcounter{secnumdepth}{5} \usepackage{float} \usepackage{subfig} ...
5
votes
1answer
106 views

ConTeXt: How to prevent new paragraph after \hrule in section heading?

I'm using ConTeXt, and trying to setup my document's subsection headings to start with a colored rule. However, any way I've tried doing this results in a rule placed a line higher than the heading ...
5
votes
1answer
151 views

Add box to labeled sections

I want to add a box to a repeated section of a textbook, which provides question discussions. Is it possible to do it by adding "tex style setting" command(s) to the preamble? I am using the memoir ...
3
votes
2answers
144 views

Change the font of number in section

I need to change the font of the number of the sections without changing the font of the name of section. \documentclass[12pt,onecolumn]{article} ...
2
votes
1answer
28 views

Continuous numbering of the sections without external packages

I would like a numbering of the sections as below. I have previously asked this question in Numbering sections independent of chapters numbering. An excellent answer was provided ...
1
vote
2answers
32 views

Pandoc, Section Spacing

By default the vertical spacing on sections is quite large with the pandoc default.latex template. Is there a way to pass an argument to reduce the size of the spacing? I see that there is a titlesec ...
4
votes
1answer
37 views

Line spacing of chapter headings when using titlesec and setspace packages

I have defined my own chapter heading with modified font size and spacing above and below. \documentclass[final]{book} \usepackage{titlesec} ...
1
vote
0answers
34 views

Change of chapter appearance

I got the following code for making the chapter appearance in [report] mode, which I would like to keep: \renewcommand{\thechapter}{\arabic{chapter}} \titleformat{\chapter}[display] {\bfseries\Large} ...
5
votes
2answers
103 views

How do I get my subsection to not appear bold and with no period at the end?

This is what I have for my codes: \section{MAIN RESULTS} \subsection{Graphical Analysis} I am getting this in the pdf: Instead I want the subsection in Italic non-bold form with no period at the ...
2
votes
0answers
23 views

Auto fold sections on startup

I am working on a large document in TeXstudio and always become a bit daunted when i see the wall of text in the document. The first thing I do then is to fold all sections in the document to get a ...
6
votes
1answer
181 views

Maintaining structure Workbook style

--Revised-- I am looking at a math workbook for teenagers. This one has the following structure: 1.Main Chapter 1.1 Subchapter 1.11 Task 1 a) problem 1 b) problem 2 c) problem ...
0
votes
0answers
28 views

How to remove numbering in article

I'm newbie in LaTeX so my question may seem a bit obvious. The issue is I want to remove the number before a section's title. For instance \section{Section name} produces the output, say, 3 ...
6
votes
2answers
128 views

How to get Section without numbers in Title and TOC, but subsections with them

First of all, I have been searching on the web and I have found similar cases but nothing useful for my problem, and more over, I'm pretty new in LaTeX. The Problem If I take off the numbers from ...
5
votes
2answers
115 views

Using the long form of a section title in the TOC

I would like to use a full section title for: the section title itself (of course) the table of contents the running heads But, I would like a short name to be used with \nameref{}, because ...
9
votes
1answer
126 views

How to center chapter, section an subsection using memoir?

I am trying to centre chapter, section and subsection using memoir, with the following code: \renewcommand{\chapnamefont}{\centering\normalfont} \renewcommand{\chapnumfont}{\centering\normalfont} ...
2
votes
1answer
93 views

Why the \section*{Past History} and \section*{Present problem} are compiling differently?

Why the \section*{Past History} and \section*{Present problem} are compiling differently in a following code? The present problem is getting indented on compiling. \documentclass[a4paper]{exam} ...
3
votes
1answer
76 views

How can i set the fontsize of different document elements?

I am using \documentclass{article} to write an article but I should change its default font size to other standards. How can I change the font size of each title or body underneath of each title? How ...
2
votes
2answers
70 views

How to customize chapter heading in thesis?

I need help in formatting my thesis. I m using isuthesis class. My university guidelines doesnt match with isuthesis CHAPTER HEADING STYLE AND SECTION HEADING STYLE. aCCORDING TO UNIVERSITY, The ...
2
votes
1answer
44 views

section head box different font-size and two arguments in a level section

I'm expecting the below section heading is different box and section number is different box. After A level section default 4 icons need to print below (please refer screenshot). ![enter image ...
1
vote
3answers
53 views

alternative to \paragraph in amsart

I have a mathematical proof which is long so I have split it up into different sections using \paragraph (eg. \paragraph{The first step}...) In article mode, the text in the paragraph command is ...
2
votes
1answer
116 views

Formatting chapter style in REPORT document class [closed]

I am trying to write my Thesis using LaTeX. I am using the report document class. I have created multiple TeX files (one each for abstract, acknowledgment, and chapters) using 'chapters'. When I use ...