{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)

3
votes
4answers
207 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 ...
5
votes
1answer
39 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 ...
3
votes
1answer
103 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
70 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
22 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: ...
2
votes
1answer
30 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 ...
3
votes
2answers
264 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} ...
1
vote
2answers
56 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
73 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
1answer
16 views

Section numbering conflicts in latex

I am using the following code in latex (llncs template) to write a paper. I am using xpretocmd to avoid conflicts between arabtex and algorithmic but the problem is that once I solved this conflict by ...
0
votes
0answers
43 views

Unwanted chapter titles with fancyhdr package in twosided book class [closed]

I am using a two-sided book document class. I want to include the title of my book at the inside margin and the page number at the outside margin of the header. For that reason, I use the package ...
1
vote
0answers
39 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
113 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
26 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 ...
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
158 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 ...
2
votes
1answer
102 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} ...
9
votes
1answer
169 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} ...
3
votes
1answer
77 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 ...
1
vote
3answers
78 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
2answers
115 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 ...
3
votes
1answer
51 views

How do you add a newline between section number and section title?

Basically I want something to look like: 1 Section title I'm using the titlesec package. Also on another note, I managed to get my subsubsections to not show without any numbering as 1.1.2 (as is ...
3
votes
1answer
42 views

Section headings in classicthesis and mathbf gives wrong capitalization

Consider the following TeX (which I compile with XeLaTeX). \documentclass[a4paper,12pt]{scrbook} \usepackage[beramono,eulermath]{classicthesis} \title{On Something} \author{Someone} ...
0
votes
0answers
27 views

Add a space before a section but not before the first one

I'm trying to define my own subsection-like command by using this: \newcounter{oef} \setcounter{oef}{1} \newcommand{\oef}{{\medskip\large\bf Oefening \theoef\par\medskip}} So, when I use this: ...
0
votes
1answer
44 views

How to use subsubsection in “moderncv” class?

How to put subsubsection in "moderncv" class? Only upto subsection is working in my script.
1
vote
1answer
27 views

Getting the \currentsection and \currentsubsection in memoir

As you know in memoir there's no easy way to get the current section and/or subsection, you can only get the \currenttitle, which tells you the header of the last sectioning command. That's a ...
3
votes
1answer
51 views

section head two environment with different size boxes

I have two arguments in section and how to print the second optional argument in the same boxes. How do increase the box width should be upto paperwidth. My MWE is: \documentclass{book} ...
2
votes
1answer
50 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 ...
5
votes
2answers
226 views

Capitalizing only the first word of the sentence in Section,Subsection

I am using the book class and I wrote all the parts, sections, subsections as \section{My Section Is Like This} that I produce something like this My Section Is Like This My editor asked to ...
1
vote
1answer
29 views

I need centered, unnumbered section titles [duplicate]

Every business book I have seen have section and subsection titles centered and without numbers. If you just browse business books on Amazon and look at the preview you will see what I mean. ...
3
votes
1answer
70 views

Remove indent from 1st paragraph after chapter, section, subsection in memoir class

i have 2 issues with my document A. First of all i never thought it would be so difficult to have 0 indent in 1st paragraph following chapter, section an subsection headings. I've read that it's 0 by ...
0
votes
0answers
31 views

Help with putting footnote in the Section

I am trying put footnote in the section for the document with documentclass res.cls. I am using the following tex file but I am not getting the desired result. Basically I am not seeing any footnote. ...
1
vote
3answers
47 views

Customize single \part sectioning command with correct TOC links in PDF?

I want to use one \part (so, not all) as numbered sectioning command (so, no \part*), but I want to have a separate entry for the actual part title, separate one for the TOC typeset in PDF, and ...
0
votes
1answer
54 views

Controlling properties of sections and subsections

\documentclass[12pt, a4paper]{article} \usepackage[ top=3.5cm, bottom=2cm, left=3.5cm, right=2cm, headsep=1.5cm, ]{geometry} \usepackage{fancyhdr} \usepackage{sectsty} \pagestyle{fancy} ...
2
votes
0answers
52 views

How to not indent the section title

I have a document with article class. And the header for section and subsection is indented. I would like to make it so that the header lines up with paragraph that is not indented. For example ...
3
votes
2answers
27 views

How to use `\leftmark` as a word in my text?

I have this code: \documentclass[12pt,letterpaper]{article} \usepackage{fancyhdr} \begin{document} \section{random} This section is called \leftmark. \end{document} But only appears the following ...
3
votes
1answer
46 views

Removing indent for second subsection

I'm having an issue where the I have the a section followed by two subsections. The first of the subsections is not indented while the second one is- I would like to remove the second indentation. ...
2
votes
2answers
98 views

Formatting Section in KOMA-Script

I am using KOMA-Script (scrartcl). I am trying to figure out how can I achieve the section formatting similar to this figure. I found a CV example using "res" class (CV using "res" class), but I ...
3
votes
3answers
96 views

how to make unnumbered sections aligned in table of contents?

I have the following code to create table of contents: \documentclass{article} \begin{document} \tableofcontents \section{section A} ...
3
votes
1answer
50 views

Additional sectioning levels above book

I am using memoir which currently supports book, part, chapter, section, subsection, etc... I would like an additional layer above this (say "volume") which behaves well (numbered and appears in a ...
7
votes
1answer
124 views

New command to number paragraphs (related counter)

I use KOMA class (scrbook). My goal : I try to create a command (let's say \verset) that will display a number, each time indented. A title should be put as argument An example : \verset \lipsum ...
2
votes
1answer
34 views

Line break between \partname\thepart and \part in formatted header

How can I get the formatted \part to show Part I in one line and the Name of the Part One in the other line (line break) as it shows in the \chapter without formatting? \documentclass{report} ...
0
votes
0answers
17 views

Hide section number but keep in table of contents [duplicate]

I want to hide a section number in the headings of section like this: \section*{Abstract} Turns out if I put an asterisk in the section command like this, the number is not present in the heading ...
2
votes
2answers
44 views

Number paragraphs according to containing entity

Is there a way to have paragraphs at different depths in the sectioning hierarchy? For example, in my dissertation background chapter, I don't need five levels ...
0
votes
0answers
22 views

Change spacing above and below chapter [duplicate]

I have following document: \documentclass[final]{book} \usepackage{lipsum} \usepackage{titlesec} \titlespacing{\chapter}{0pt}{0pt}{0pt} \begin{document} \chapter*{Chapter One} \lipsum{1-5} ...
0
votes
0answers
33 views

Section title appearing only in table of contents

I want to create some "phantom" section, so this means that I dont want the section title to appear in te page but I still want it to appear in the table of contents and also use it with hyperref. In ...
2
votes
1answer
62 views

\newcommand doesn't work with \section and \chapter

I have a newcommand defined as follows: \newcommand{\met}{\cancel{\it{E}}_{T}} When I try to place it into a \section like this: \chapter{\met} I get error messages like this: ! Undefined ...
1
vote
1answer
40 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 ...
1
vote
0answers
28 views

Reduce the vertical spacing just before the chapter start [duplicate]

Please help me out to reduce the vertical space at chapter start. The link for the .tex, .cls file along with the problem snapshot - ...
2
votes
2answers
42 views

Multisection bibliography item [closed]

I have a bibliography in my book article as follow : \documentclass[11pt,a4paper]{book} \usepackage[pdftex]{hyperref} \hypersetup{ bookmarks=true, colorlinks=true, pdftitle={Title}, ...