{sections-paragraphs} is about the lower-level sectioning commands from \section to \subparagraph that help to form the logical structure of documents. This tag should only be used *in addition* to the more general {sectioning}.

learn more… | top users | synonyms

2
votes
2answers
54 views

LaTeX cuts my line in the middle. Why?

I am writing my CV in LaTeX and I dont know why but the following code cuts my first paragraph in the middle. It should be simple to know why but I have been looking for the last hours and I didn't ...
3
votes
2answers
42 views

hline length under title in section

In my Latex document, I decided to draw a line under each section as follows: \titleformat{\section}{\large\scshape\raggedright}{}{0em}{}[{\color{coolblack}\titlerule[0.8pt]}] Moreover, at the ...
1
vote
1answer
35 views

Beamer miniframes: horizontal space between dots when using the compress option

I'm using the beamer miniframes theme (with subsection=false) and the compress option. Currently the navigation shows the dots for each subsection side-by-side. I would prefer if there would be a ...
1
vote
1answer
13 views

Address from `amsart` changes last empty `\paragraph{}`

Using amsart class I noticed today a strange output if we end the file with a \paragraph{}. In this case this last paragraph became part of the address since it is inserted just in front of it and ...
2
votes
1answer
34 views

Overview in Subsection or Before Subsection

I am writing a technical document with a large chapter describing work completed. Before describing each task I would like to have a brief summary of the tasks. Is it considered more proper to have a ...
3
votes
1answer
36 views

Smaller macron use in \section

I achived generating smaller macrons thanks to Tobi's code from Question 263549, but Latex throws "Undefined control sequence" if I try to use it in \section, \subsection and so on. How can I make the ...
4
votes
1answer
53 views

Section titles: single, centered roman numerals

As the title suggests, I want my section titles to be single, centered roman numerals. That's it, no actual section names. Is that possible? If so, how might I do it?
0
votes
1answer
25 views

Replace the dot after a paragraph title with a colon in ACM template

How can I replace the dot after a paragraph title in the ACM template? Currently, the template automatically adds a dot to paragraphs: I would rather need a colon, like this Switching the ...
4
votes
1answer
48 views

Put section on the left of text instead of above

How can I get section headers on the left of the text, so I get something like My Section Header Some text More test [...] Another Section ...
0
votes
1answer
60 views

LaTeX vertical spacing after numbered paragraphs

I'm relatively new to this forum and LaTeX in general, so please excuse me if I'm duplicating a question, but I can't find a satisfying solution to my problem. I have introduced numbered paragraphs by ...
0
votes
0answers
31 views

How to exclude paragraph titles in a table of contest? [duplicate]

I'm using the BOOK class, where \tableofcontents command seems that include always the subsubsection and paragraph titles too How can I exclude the latter? thanks in advance Dom
1
vote
1answer
42 views

How can I enumerate only certain subsections?

I want to show serial number 1. 2. or 1) 2) only before BB like the figure shows. I don't want to use ways like this \subsection{1.BB}, \subsection{2.BB}. Is there a smart way? ...
2
votes
1answer
28 views

How to: print paragraph title centered, and on a shaded line across the page? - Continued

This question is a continuation of: this question Consider the following document \documentclass[landscape]{article} \usepackage[a3paper, textwidth=5cm, margin=1cm,landscape]{geometry} ...
1
vote
1answer
50 views

Correct hierarchy levels of PDF bookmarks for custom section \subsubsubsection

I had to to define a \subsubsubsection for a technical document (I know it is highly criticised). I believe I inspired myself from this alternative answer to How to add an extra level of sections with ...
4
votes
2answers
62 views

How to: print paragraph title centered, and on a shaded line across the page?

For a cheat sheet I am making I would like that \paragraph{title} does the following: Centre the text 'title', on a shaded (gray) line across the entire page ( column in my case ), start the actual ...
5
votes
1answer
58 views

Create floating subsection

I am writing a summary mostly including equations but also some pictures. Now I would like to place the subsections including these pictures floating, such that the arrange themselves nicely. I ...
2
votes
1answer
40 views

Remove spacing within text block

In my MWE below, I am using \parskip = \baselineskip but wanted to remove the following spacings: Here is my code: \documentclass[11pt]{book} \usepackage{enumitem} \setlist{nolistsep} ...
5
votes
3answers
677 views

How to suppress the final period (“.”) in paragraph titles?

When I run the following code, I get the paragraph title "Some title.". How do I get the compiler to suppress the period (".") in the paragraph title? \documentclass[3p,12pt,authoryear]{elsarticle} ...
3
votes
2answers
60 views

How to keep section titles in small caps (in the main body) but in the default font in table of contents?

I want to make a book in LaTeX where the section titles are written using \textsc in the main body but when it is shown in the table of contents it should be in the default font. Other titles would ...
2
votes
0answers
67 views

Unwanted vertical space at top of page before subsection heading

I have been using LaTeX for a while now, but I am very new to defining my own commands in the preamble. I am working on my thesis, and I'm using a custom .cls file which has been passed down by other ...
0
votes
0answers
25 views

How to make titlesec show greater number depth?

\setcounter{secnumdepth}{5} \titleformat{\paragraph}[hang]{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{} \titlespacing*{\paragraph}{0pt}{3.25ex plus 1ex minus .2ex}{0.5em} ...
1
vote
1answer
54 views

Display section and subsection headers on same page with large table or figure

I am struggling to put the table (or figure) on the same page where I have specified my section (subsection). Does anyone of you know how to do this? Here is my MWE. ...
8
votes
3answers
177 views

How to reverse section numbering for right-to-left languages?

I use XePersian to typeset Persian, but I don't want my section number mirrored! For example, section 3-1 is written as section 1-3, which is embaressing! So, I want my numbers back :-) This issue is ...
4
votes
1answer
45 views

Relative spacing in titlesec

I am trying to create a custom section and subsection format that consists of the index, followed by a vertical line, followed by the title. An example can be found here: ...
0
votes
0answers
26 views

Using greek symbols in a paragraph title modified by titleformat and titlespacing

Hi so currently my paragraph titles are being modified via the following code: \LoadClass [letterpaper]{scrartcl} \usepackage{titling} \usepackage{sectsty} \usepackage{stringstrings} ...
1
vote
1answer
41 views

Why does package `silence` have a conflict with `alphalph`?

Note: This question is related to an issue shown in another question: Does subsections have limit in the IEEEtran document class?. MWE \documentclass[journal,twoside]{IEEEtran} ...
2
votes
1answer
32 views

Does subsections have limit in the IEEEtran document class?

Note: I've asked a similar question to this one before: Does subfigure package have a limit of subfigures within a figure?. To be honest, it is pretty much the same situation, but the solution can ...
4
votes
1answer
55 views

How do the letters/numbers appear bigger?

Can we change something at the command \titleformat{\section}{\bf}{\thesection}{1em}{} so that the letters of a section and its number appear a little bigger?
5
votes
2answers
208 views

How to make a rule under each section title with KOMA-script?

This question is more or less a duplicate of this similarly named question, but is not exactly the same. I also want to place a horizontal rule below each section title (exactly like in the linked ...
0
votes
1answer
52 views

First appearance of \begin{enumerate} conflicts with \section{…}

I have observed that a \begin{enumerate} before the first appearance of an e.g. \section{...} environment causes problems. Why do I need to move \begin{enumerate} right before the first \item? ...
4
votes
1answer
80 views

Define different style for \section & \subsection command

I am trying to customize my \section and \subsection command in such a way that they have two different styles. With the following code I am able to draw squared shades around the section numbering. ...
2
votes
1answer
86 views

Left Justified Fancy Section Headings

With a slight modification to the code found here developed by Gonzalo Medina, how to keep the section and subsectioning numbering justified to the left and still have the colored boxes and line? ...
3
votes
1answer
94 views

How to write the “subtitle” like this?

I want to write some subtitle like the bold sentence inside the box, could anyone give me some guide on how to do it? Basically this subtitle is inside a section environment. I have no idea how to ...
0
votes
0answers
22 views

How to change reference hierarchy from section to subsection in latex article

I am writing a report using article class where I have to put bibliography in as a separate subsection in every section. But in general reference are coming as separate section. Can we make hierarchy ...
2
votes
1answer
50 views

Switching Chapter and Section titles

I am somewhat new to TEX and I am writing a book using a publishing framework which uses Xelatex and polyglossia. My book is divided into three major sections or sub-books and each sub-book is ...
1
vote
1answer
44 views

Blank page generated when using `\subsection{Results}` inside landscape

I have a problem when using the landscape feature in LaTex. Specifically, if I include the \subsection{Results} inside the landscape a blank page is generated in landscape before the page of interest. ...
8
votes
0answers
55 views

How can protrusion in the headings of document divisions be fixed when using pdfLaTeX and titlesec?

How can protrusion in the headings of document divisions be fixed when using pdfLaTeX and titlesec? In this answer I provide a tentative patch which allows character protrusion to work normally in ...
2
votes
1answer
58 views

How would you demarcate a “Prayer” and “Practical Reflections” section which ends every chapter?

I'm using memoir with the \book, \chapter, and \section sectioning macros. Each book contains several chapters, each chapter contains several sections, followed by a single "Practical Reflections" ...
2
votes
1answer
62 views

Why does subsection counter not reset in appendix?

So when I put subsections in the appendix, the counter does not reset after starting new chapters. I'm about to change the subsections to unnamed sections, but still wondering why the counter does not ...
1
vote
2answers
39 views

Re-formatting (appending text to) \paragraph{}

I would like to change the appearance of \paragraph{} (particularly the space between the end of the heading and the beginning of the text) to look more like \noindent\textbf{Paragraph heading} --- ...
0
votes
2answers
144 views

Minipages and spacing between \paragraph

I am using \paragraph inside a minipage. Don't know why, but the usual space above \paragraph does not appear. Then I have a small minipage in the \paragraph. Now spacing between \paragraph is ...
1
vote
2answers
59 views

How to change \subsection such that text follows immediately?

Consider this example: \documentclass[10pt,a4paper,oneside]{article} \begin{document} \section{Xavier functions} \subsection{} %% \textbf{1.1} We define the \textit{Xavier functions} for a complex ...
3
votes
2answers
120 views

Delete chapter and section titles from body of pdf but not from toc?

How to add header (containing chapter, section titles) to toc-entry and delete any headings in body? The purpose of doing this is I have lot of chapters, sections, subsection and paragraphs with lots ...
4
votes
1answer
412 views

Redefining commands in Latex (\section in particular)

A few days ago I asked a question about how to redefine the \section command to be able to write content just after the head of the section with no line breaking: Redefining \section command (I ...
1
vote
1answer
89 views

chapter and section headings at the center without packages

I would like to have my chapter and section headings at the center of page.Currently they are at left.Please give me some suggestion without using any packages please.
1
vote
2answers
152 views

Redefining \section command

I'm writing a draft of my notes with Latex. They are basically definitions related to a particular concept from different sources. Therefore I have used the command \section to highlight the concept ...
6
votes
2answers
142 views

Small symbol next to section headers

I am writing a school report which has to be evaluated by two different teachers. I need to mark which sections each teacher should read. I guess I can make a small symbol next to the header to mark ...
1
vote
0answers
76 views

when using latex lstlistoflistings how can i have sections and subsections [closed]

currently one of my latex template file uses Listing Package then \begin{document} \listoffigures \lstlistoflistings [%- FOREACH item = items -%] [%- IF item.type == 'business' -%] % [% ...
0
votes
0answers
25 views

Centering a section [duplicate]

When creating a table of contents, by using the book style, how do you center a section? I tried: \begin{center} \section{name of section} \end{center} but it gave me an error.
0
votes
1answer
67 views

What's a convenient/appropriate way to override my document class' \paragraph style?

The document class I'm using (ieeetran) typesets paragraphs as in the following: ------- [space here] a) The Paragraph Title In Italics:[space here]The quick brown fox jumped over the lazy dog. The ...