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

Filter by
Sorted by
Tagged with
2
votes
1answer
37 views

sectioning wider than text area

I stumbled across the type specimen of the beautifull Tierra Nueva and I'm wondering how is it possible to achieve a sectioning in LaTeX similar as shown in the picture (centered and wider than the ...
0
votes
1answer
34 views

Change chapter caption style to section caption style

\documentclass[12pt,a4paper]{report} is the format of my document. Writing \chapter{Chapter one} will create a new chapter on a new page with a lot of white space above the caption. Writing \section{...
0
votes
0answers
19 views

Referencing earlier passages: Cross reference or “as discussed earlier” (stylistic)

I am looking for stylistic advice regarding the (over) use of cross-references. I hope this is not off-topic. Using cross-references through \ref{...} for major structural blocks like chapters and ...
0
votes
0answers
28 views

How do you change the font style of a part or section without changing its size and spacing?

I'm trying to make all of my parts, sections, and subsections in article class \scshape. First, being the naïve LaTeX user I am, I tried \renewcommand{\part}[1]{\part{\scshape #1}} and \renewcommand{\...
0
votes
1answer
30 views

Section headings not vertically aligned on different pages (font dependent)

Consider the following MWE where the first section heading contains letters with ascender and the second does not: \documentclass{article} \usepackage{fontspec} % https://github.com/adobe-fonts/...
-1
votes
1answer
29 views

Add the chapter word in 90 degree rotation with fanchdr

I apologize if my question may seem inconceivable. I want to replace the blue rectangle that contains the chapter number in this post, with this one in this post by keeping the chapter word with ...
0
votes
1answer
29 views

Attach \rhead to \section

I worked a bit with commands the last few weeks, but only to format little things or to format certain passages in my document uniformly. Now i wanted to know if there is the option to include the \...
0
votes
1answer
30 views

Left-aligned table of contents with section headings centered

I was trying to center my section headings by using the command \centering, but I found that once the section headings are centered, the section names in the table of contents are also centered. Is ...
3
votes
0answers
50 views

two double spaces above heading iff text is above

My dissertation style guide specifies double spacing throughout, and two double spaces above section or subsection headings if there is text above the heading but a normal double space if there is ...
0
votes
1answer
36 views

Subsection numbering not working

I have a problem that all the subsections numbers in my report. How can I solve this problem please? I search for a solution and I try it but it also not working. this is my code: \documentclass[12pt]...
0
votes
0answers
37 views

As per the thesis format, i want chapter heading at center and also want to define font size for the chapter, sections, subsections

\documentclass[a4paper,12pt, twoside]{report} \usepackage[margin=1in]{geometry} \usepackage{setspace} \onehalfspacing \usepackage{graphicx} \renewcommand{\baselinestretch}{1.5} \begin{document} % ...
1
vote
2answers
48 views

Independent sectioning commands for minipage

My document has several minipage-environments that need an inner sectioning with numeration independent of the "normal" sectioning of the document. Until now I have used a work-around and simply hard-...
0
votes
1answer
30 views

Print document portions in specific order

I'm using knit within R to create my Latex document. The document is a report that involves data analysis. My problem is that I want to report the outcomes of the calculations (which I only know ...
1
vote
1answer
50 views

Resume template section modification

Link to my tex on Overleaf my current code: % This is a modified ONE COLUMN version of % Deedy - One Page Two Column Resume % LaTeX Template % Version 1.1 (30/4/2014) % Debarghya Das (http://...
3
votes
2answers
55 views

Reduce height of sections box in beamer?

So essentially I would like to do this: Is it possible to reduce the height of the frame title box in beamer? ... but for the sections box in a beamer presentation. In different words: How do you ...
1
vote
2answers
42 views

How to add unnumbered sub and subsubsections to toc and headers?

I'd like to add unnumbered subsections and subsubsections to my toc and my headers using addsec. How could I do that ? This is my MWE: \documentclass[fontsize=11pt,% twoside=semi,% ...
0
votes
0answers
44 views

How to remove extra space between sectioning and text in TEX

I'm currently writing my final project report, while inputting all chapters in one main file only the second chapter adds some extra spacing between the section, subsection... and the text and ...
1
vote
0answers
52 views

How to reproduce this layout?

I'd like to reproduce this layout (especially the sections + the bottom and the top parts of the paper). My code: \documentclass[a4paper, french, 12pt]{article} \usepackage{amsfonts} \usepackage{...
0
votes
1answer
46 views

Custom commands with optional arguments in section title

There are many instances where I need to create my own commands and a lot of the time I also need them to have an optional argument. No problems there. However, I needed to have one of my commands ...
2
votes
1answer
46 views

How to set all titles levels of a document following strict rules?

I'm writing a document with very specific rules: Section: 14 pt, bold, uppercase Subsection: 12 pt, bold, uppercase Subsubsection: 12 pt, bold Paragraph: 12 pt Document spacing: 1.5 Space between ...
0
votes
0answers
27 views

Unwanted vertical space between \paragraph objects

I have the following LaTeX code: \section{Related Work} \paragraph{Paragraph 1.} This is a very nice paragraph, it contains some words. \paragraph{Paragraph 2.} This is a very nice paragraph as well, ...
1
vote
1answer
25 views

How to justify section headings left in APA6 document class?

I am using the apa6 document class for an article, but need the section headings to be justified left instead of centered. Is there a way to override this formatting so that section titles are left ...
3
votes
1answer
33 views

How to count how many times a heading appears in a ConTeXt document?

I have a book containing hundreds of activities for teachers. Each activity is designated with \section{Activity title}. \section is never used for anything else. I need some way to count how many ...
3
votes
1answer
51 views

ConTeXt: Heading text surrounded by lines

I'd like to replicate this heading style in ConTeXt: The closest I've come is surrounding a centered text with \thinrules but those are at the baseline of the text instead of horizontally centered ...
0
votes
1answer
44 views

How to add a space following a paragraph but not before a new section header?

I want to skip a line after my paragraph ends. Currently I am using \setlength{\parskip}{1em} to achieve that. But an unwanted side effect is that there is also too much space between a paragraph ...
0
votes
0answers
21 views

Underline small-capped section with titleformat?

With the MWE in place, i got the smallcaps into the section formatting (hopefully right), but cannot use \titleformat to uline the section, despite the doc saying: "The very last command can take an ...
2
votes
1answer
65 views

Last Section appearing on top with usage of pagestyle fancy

I am having trouble including page numbers in my resume. I earlier used \pagestyle{empty} for non-numbered page but thought to have page numbers. So I decided to use following packages which works ...
3
votes
1answer
39 views

How to center particular sections?

I am a very new in LaTex. Can anybody help me with this: I need that some my sections will be centred and without a number, but other will be with the number and be aligned to the begining of text. ...
4
votes
2answers
74 views

Stepcounter after paragraph

Code: \documentclass{article} \newcounter{mycounter} \setcounter{mycounter}{1} \begin{document} \paragraph{\arabic{mycounter}}% \stepcounter{mycounter}% \paragraph{\arabic{mycounter}}% \...
1
vote
0answers
22 views

Change bullet color in TOC for current section only

In my TOC I would like to highlight the current section using a different color. Following the answers to this question, I have managed to change the text color of the current section using \...
1
vote
2answers
36 views

Section roman and section cross-reference arabic

I want to change just the section cross-reference from roman to Arabic numbers in a paper using the IEEE template. An MWE of my problem is \documentclass[journal]{IEEEtran} \begin{document} Section~...
2
votes
1answer
38 views

Adding a dot in chapter's name without cross-referencing problems

I would like to add a dot after the number of each section (including chapters) in a report class document. I'd prefer not to have to resort to Koma-script solutions. There are a lot of other good ...
0
votes
0answers
24 views

Making a document a section of another document?

I'm working on a thesis now, and like many theses, it's largely just a bunch of past papers stapled together. I find you have to do a lot of tedious reformatting when you want to turn a paper into ...
0
votes
0answers
36 views

Chapter and section numbers missing [duplicate]

The chapter and section numbers are missing when I generate the output pdf. The problem goes away if I comment out the \usepackage{titlesec} line. However, I need the package for my document and ...
0
votes
0answers
25 views

Latex doesn't create new page when using section? [duplicate]

I'm trying to create my document with lots of section. However, after the document is compiled by pdfLaTeX, the document showed like this: \documentclass{article} \begin{document} \section{aaa} % * ...
0
votes
1answer
44 views

How can i create 4 levels of sections

I'm trying to recreate the level system in these 2 images in my document I can't seem to create the one above because I don't know the command that created "Chapter 1" I can't seem to create the ...
1
vote
2answers
40 views

Custom section style like this one

i see this cool section style in this question: Question I would like to reproduce it but i don't understand how to pass section number and name to a custom tikz function. Any suggestion?
2
votes
1answer
40 views

Referencing to Subsection

I have document with sections and subsections. Problem is this one. When I use Sec. \ref{x} to reference subsection 1.1, of \label{x}, I get result Sec 1 1.1 Ho to get correct Sec 1.1 ? Coding ...
0
votes
1answer
44 views

Numbering of Sections

I'm using chapters in my thesis. Within chapters I'm using sections for structuring. Most sections are rather short however, so I don't want them to have/display a number. Basically what I want ...
2
votes
2answers
34 views

Avoid pagebreak with custom sectioning style command

I have in my document a custom sectioning command defined like this: \newcommand{\newtitle}[4]{% \newtitle{<Title>}{<Author>}{<Date>}{<miscellaneous indications>} \vspace{...
0
votes
1answer
19 views

Exporting indefinitely deep org trees

I would like to export to LaTeX from EMACS's Org mode but with indefinitely many levels. Is this possible? By default there are only 5 levels '("article" "\\documentclass[11pt]{article}" ("\\...
5
votes
2answers
326 views

Section numbering in binary

Is it possible to number sections by binary numbers, starting at 0? So \section{First Section} would render as "0. First Section", and the next instance would render "1. Second Section" and the third,...
0
votes
1answer
31 views

Negate the effect of parskip on headings

The tex file to produce the image on the right is given below. The image on the left is produced by uncommenting \usepackage{parskip}. My aim is to set distance between headings and also distance ...
2
votes
2answers
109 views

How to make a booklike page using article class?

I'm writing some class notes in TeX and I would like to customize the page to make it look more like a book page, with those upper bars in the chapter, as shown in the template below. \documentclass[...
2
votes
2answers
57 views

Can I make section headers automatically break multicols?

I have a whole document written up, and I would now like to format it in two columns. However, I rely heavily on headers like \section, and would like these headers to not be in the columns. In other ...
1
vote
2answers
48 views

Overleaf and Section Fonts

Oveleaf say that it's possible to use a set of pre-installed fonts here. One of these is "CMU Classical Serif" I want to change the section title in my document to be "CMU Classical Serif" I try ...
0
votes
1answer
29 views

Title too long separated in two lines

I have a long sentence in my chapter title, which I separated into two lines like this (I reduced the extra space between the two lines). \chapter{Rare Earth doped materials \\ [-1.5ex] for ...
0
votes
1answer
20 views

Modify section (adding a vertical line to the left)

\documentclass{article} \usepackage{microtype} \usepackage[x11names]{xcolor} % \usepackage[explicit]{titlesec} \usepackage{fullpage} \titleformat{\section}[hang]{\sffamily\color{IndianRed3}\bfseries\...
1
vote
1answer
35 views

Starred version of macro causes hyperref error if used in section command

In the following MWE \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[utf8]{inputenc} \usepackage[pdftex,unicode,final]{hyperref} \input{glyphtounicode} \...
0
votes
0answers
31 views

How to “break” sectioning/nesting? [duplicate]

With the code below, baz is nested in bar. What I'd like to do is break this nesting, in other word make it look like a section as if there were no preceding chapters. \documentclass{scrreprt} \...