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

1
vote
0answers
13 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
44 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 ...
3
votes
1answer
43 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 ...
3
votes
1answer
34 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
44 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
45 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 ...
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} ...
5
votes
1answer
120 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 ...
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} ... ...
-2
votes
0answers
105 views

create graph with 3 Y axis in latex - please help me [closed]

Please help me Thank yousasasasa hjhjh d s'd s'd s'ds I have some questions: I want to creat graph with three Y axis: one left and two right axis Explain: First Y1 must be with three row, that ...
3
votes
4answers
194 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
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 ...
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
55 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: ...
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 ...
3
votes
2answers
135 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
30 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
35 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 ...
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
124 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
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} ...
9
votes
1answer
124 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
75 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
52 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
68 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

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
28 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
23 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
24 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
23 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
44 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
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 ...
5
votes
2answers
193 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
20 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
59 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
26 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
31 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
46 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
47 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
25 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
42 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
78 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
81 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} ...