{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

1
vote
1answer
15 views

How to change sections numbering in starred chapter without changing document class?

My report starts with a starred chapter "Introduction". My problem is with sections' numbers. They all start with 0, so I get 0.1, 0.2 and 0.3 as shown below. I need to delete zeros and keep only 1,2 ...
4
votes
2answers
78 views

Dynamically create document chapters based on directory tree

For creating document structure I usually use something like this: \section{1} Text for chapter 1 \section{2} Text for chapter 2 \subsection{2.1} Text for chapter 2.1 \subsubsection{2....
2
votes
0answers
90 views

Page formatting when using images [duplicate]

New Lyx user, not very good in page formatting. whenever i insert an image, the whole page formatting get messed up. like in the below figure. In my code the above paragraph was after the pic. but in ...
2
votes
2answers
34 views

How to achieve custom paragraph (or in general section) numbering and allow references?

I used the command getcurrentref from this question/answer to achieve a custom numbering when \paragraph is used. I wrapped it into the macro: \newcommand\mybook[1]{\paragraph{B \getcurrentref{...
0
votes
1answer
53 views

How eliminate a blank page after Table of Contents

I have a problem for making the table of contents in latex. Latex is making a blank page after the table of contents how to eliminate it? I want to reduce the font of the word Contents by setting ...
1
vote
1answer
26 views

Theorem Numbering problem - Lettered subsections

I am trying to write theorems that will number based on section and subsection. I know this is the default when you enter, for example: \newtheorem{defn}{Definition}[subsection] but when I do ...
3
votes
1answer
60 views

How to customize the “sections” representations with graphical shapes?

I want to have "sections" in which not to have numbers, instead to have some custom graphical artworks next to them. I want them to appear the same in the table of contents. Like the following figure: ...
0
votes
1answer
29 views

How to automatically fill the space in a line in IEEE trans?

I am trying to insert a figure inside a subsubsection. Now after successfully inserting the figure i saw that my texts are not formatting quite nicely. . As shown in the figure the line As they ...
3
votes
4answers
78 views

Customise my own subsubsection numbers

I am trying to write a thesis and would like to number the subsubsection titles within a section easily so I can refer to them nicely and easily later on in the document. Here is what I have at the ...
2
votes
1answer
62 views

Class scrbook can't get \RedeclareSectionCommands[… to not skip after chapter

helping my wife with her master's thesis. Her faculty wants no more skip after headings than between normal lines and headings can be bold but not larger than 12pt. I am using Redeclaresectioncommands....
2
votes
1answer
29 views

Section Title indents too much at the start of a new page

I have an issue where my consecutive sections when added are being alternatively indented in or out. \documentclass[12pt, a4paper, twoside, titlepage]{article} \title{Bla \\ Bla\\ Bla } \author{Bla ...
0
votes
0answers
52 views

Table section in article

Good morning everyone, it was about a year I wasn't using latex, and now that i'm writing an article I'm really struggling a lot for basic stuff. I would simply need to add a section for tables in a ...
3
votes
1answer
66 views

Own Chapter and section

I know there are probably tons of question like this but I cant figure the whole out for myself. I'm searching for an way of defining own chapters or sections in an only slightly bigger font like: ...
1
vote
2answers
56 views

section to tableofcontents update

I'm using the following structure: \section[short chapter]{my long long long long section} I would like to use the long section name in my table of contents, because the short chapter is now used ...
0
votes
0answers
22 views

Squeezing inter-paragraph space with the ACM proceedings document class

I'm using the ACM proceedings SP document class for a conference submission. I'm noticing that the inter-paragraphs vertical space is quite large (I don't mean \paragraph's, just paragraphs). Now, in ...
3
votes
1answer
43 views

TeX \@for loop within a section title

I am creating a macro for turning a list of files into a comma-separated list of monospaced file names, and using it as a heading. I have written a short script for doing so: MWE: \documentclass[...
1
vote
1answer
63 views

Remove automatic page break after paragraph

i'm using the report class and have set the section depth to 5 using the following command: \setcounter{secnumdepth}{5} However, when I use the \paragraph{} section, the compiled pdf adds a page ...
1
vote
2answers
59 views

End subsubsection or section

Good morning, my new problem is very simple, but i don't understand exactly how to fix it. I have a \section{Name of my section} After, I added \subsection{name of my new subsection} Finally, I ...
2
votes
3answers
177 views

Vertical spacing in KOMA-script

How can I change vertical spacing (and indents) of \paragraph, list and list item elements in KOMA-script article class? Is there some canonical way to do this? I've tried to use titlesec package, ...
2
votes
2answers
64 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
61 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
78 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
20 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
38 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
45 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
70 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
62 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
52 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 ...
1
vote
2answers
103 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
49 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? \documentclass[...
2
votes
1answer
30 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} \usepackage{...
1
vote
1answer
77 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
69 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
60 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 know ...
2
votes
1answer
43 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} \usepackage{...
5
votes
3answers
830 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
63 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
79 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
29 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} \titleformat{\...
1
vote
1answer
103 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. \documentclass[11pt,a4paper]{...
8
votes
3answers
256 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
65 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: http://texblog.org/2012/07/03/...
0
votes
0answers
29 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} \usepackage[...
1
vote
1answer
47 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} \usepackage{alphalph}...
2
votes
1answer
47 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 not ...
4
votes
1answer
73 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?
6
votes
2answers
338 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
54 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
99 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. ...