Questions tagged [sections-paragraphs]

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

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

LaTeX custom class section padding and paragraph padding

I am writing a cls-file for a conference template. I like to control the padding before and after the section, subsection, subsubsection etc and I do this by the following definition: \renewcommand{\...
1
vote
2answers
955 views

Numbering Paragraphs

How would one go about formatting paragraphs like the one above? Where the number (1) and (a) is to the side of the paragraph, without causing an indent? Any help is appreciated!
0
votes
1answer
1k views

Make section a “sub-chapter” (at lyx)

I'm writing my thesis in lyx, with using this basis. I want to set the big headlines as "chapter" (like Overview for example), and I wad the section below numbered as "sub-chapters". Means: the first ...
1
vote
0answers
788 views

Computer lagging when writting in section or subsection

I'm writting a long document. Each time, in a LaTeX document, I had a new section, subsection or subsubsection, the computer is lagging for each modification I do. It could be just adding a section or ...
9
votes
3answers
1k views

Prevent widowing/orphaning of sections that can fit on one page

In my LaTeX document, I want to make it so that sections that can fit entirely on one page are automatically forced to start on the next page so that the section does not get widowed/orphaned. The ...
1
vote
1answer
449 views

How to show section number shown in \paragraph?

\usepackage{titlesec} \setcounter{secnumdepth}{5} \setcounter{tocdepth}{5} \titleformat{\paragraph} [hang] {\normalfont\normalsize\bfseries {\theparagraph} {1em} {} %% When I use \paragraph ...
0
votes
1answer
129 views

heading issue in latex [duplicate]

I used following command \paragraph to number the heading. Then the next test immediately start after the heading. that I do not want. Situation(I do not want this): 1.1.1.1 Heading: bla bla bla I ...
0
votes
1answer
280 views

Add a space between the title and the text when using the \paragraph command

How to add a space between the title and the text when using the \paragraph command?. PS. I'm using the \elsarticle for \documentclass. Here is an example: \documentclass[final,1p,times,authoryear]{...
2
votes
1answer
4k views

referencing Subsubsection is not working as intended

I am having an issue with referencing a sub-subsection. Problem: The problem is that SubSubSection (2) is numbered as 1.1.1. LaTeX seems to treat each sub-subsection as independent. The latex code ...
1
vote
1answer
60 views

Titlepage messing up the section numbers

I'm trying to edit the title page but now everytime I do the section numbers get messed up (for example the section Obectives is numbered 0.1 when normally it should be just 1). In the example below I'...
2
votes
1answer
2k views

How to change the font size on a section with titlesec in latex preamble?

I'm using LyX version 2.1.5 I want to change the font size such as: Chapter 14pt, bold, align center Section 12pt, bold LaTeX Preamble: \usepackage{titlesec} \usepackage{graphicx} \titleformat{\...
3
votes
1answer
814 views

How do I change the chapter capitalization?

I'm using LyX version 2.1.5 For example true ... CHAPTER I INTRODUCTION 1.1 A title lorem epsum lorem epsum lorem epsum lorem epsum lorem epsum lorem epsum LaTeX Preamble: \...
2
votes
1answer
81 views

empty subsubparagraph doesn't show up

Here is a MWE: \documentclass[12pt,letterpaper]{article} \makeatletter \newcounter{subsubparagraph}[subparagraph] \renewcommand\thesubsubparagraph{% \thesubparagraph.\@arabic\c@subsubparagraph} \...
1
vote
1answer
10k views

Figure is placed in a wrong position [duplicate]

I have read many threads regarding misplaced floats in LaTex, however, I haven't found a satisfactory answer yet. As shown by the code segment, Fig 1 is supposed to be after the "In order to test ..." ...
3
votes
2answers
2k views

How to insert the section name in the footer, without keeping the section name formatting?

The code that I use for the header and footer in the article format is as follows: \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \rhead{} \lhead{Project tile} \renewcommand{\headrulewidth}{2....
2
votes
2answers
4k views

Referring to multiple sections (cref?)

I have recently found "cref". Very practical for equations, figures, and tables. But for referring to multiple sections it does not work. A concrete example: (Sorry for the long lables by the way) ...
1
vote
2answers
70 views

How to add a number beside a paragraph?

How to add a number like the "2:", besides the paragraph, so that the paragraph is still at the center of the page?
1
vote
1answer
730 views

Using Two-column CV Section formatting

I want to use section formatting of Two-column CV (given here) with red color titlerule. I would highly appreciate if someone guide to accomplish this task. Thanks in advance. \documentclass{article} ...
6
votes
2answers
144 views

Can I give predefined values to section numbers?

I want to include three sections in my document, but I want the section numbers to be 3, 5 and 6. Can I somehow give predefined values to sections? \documentclass[11pt]{article} \begin{document} \...
0
votes
1answer
3k views

Add bullets to subsections

I want to add bullets or diamonds in front of subsections. I know the method of adding items, i.e. \begin{itemize} \item First bullet point \item Another bullet point \item Add as many ...
0
votes
1answer
2k views

How to underline header paragraph section in Latex

I've read a lot of questions that are quite similar to mine, but I couldn't make any of them work properly. What I'd like is to have below the "subsubsection" the paragraph (not numbered and not ...
0
votes
0answers
38 views

How is sectioning information from the next page being pulled into this one?

I'm getting some behavior I can't yet explain on page 5 of the MWE: it seems to be grabbing the breadcrumbs of the section that begins page 6. Why is this happening and how could I prevent it? See ...
0
votes
1answer
258 views

How do I restart paragraph indentation like the start of a new section?

I want to have BIG TITLE Property: Value Property: Value Property: Value First paragraph is flush left. Second paragraph has the paragraph indent. Instead I have BIG TITLE Property: Value ...
2
votes
1answer
618 views

Custom \theparagraph if \subsubsection no exists

Trying to redefine \theparagraph to output number according to existence or not of \subsubsection. \renewcommand{\theparagraph}{ \ifthenelse {\equal{\value{subsubsection}}{0}} {\...
1
vote
1answer
208 views

Mix numbered/unnumbered sections/subsections

\documentclass{amsart} \begin{document} \title{Title 1} \maketitle \section{Section 1} \subsection{Sub-section 1} Text 1 \section{Section 2} \subsection{Sub-section 2} Text 2 \section*{Unnumbered ...
1
vote
1answer
1k views

Section numbers disappear [closed]

I don't have enough reputation to write a comment, so I have to ask a separate question instead. I tried Gonzalo Medina's answer to this question: How to add an extra level of sections with headings ...
3
votes
2answers
789 views

Include Subsection Number in Section Number

I would like Sections to display the subsection number, but I feel that redefining \thesection will recursively affect \thesubsection. Basically, we're looking to add a zero to the section number in ...
1
vote
0answers
97 views

How to avoid page break after section titles in parallel columns

I am using parcolumns to write some parallel columns documents. Everything works fine but some section titles show at the end of the page. I want them to be in the next page or at least some content ...
1
vote
1answer
506 views

Change headsep only for \section titles

Problem I would like to increase the headsep on pages that start with a section\subsection or paragraph title. I redefined the chapter spacing settings (before and afterskip) according to my wishes ...
1
vote
1answer
101 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 ...
3
votes
2answers
306 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....
1
vote
0answers
152 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 ...
1
vote
2answers
725 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
1k 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 the ...
1
vote
1answer
137 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 this,...
2
votes
1answer
97 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
435 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 ...
4
votes
4answers
1k 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 ...
1
vote
1answer
535 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
4k views

Center just one \section*{}

This is my document format: \documentclass[12pt,a4paper]{article} \usepackage[table]{xcolor} \usepackage{times} \usepackage{amsmath} \usepackage{pdfpages} \usepackage[utf8]{inputenc} \usepackage{tikz}...
1
vote
1answer
179 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 ...
2
votes
1answer
95 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: ...
3
votes
2answers
956 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 ...
3
votes
1answer
90 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
1k 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
3k 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
2k 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, ...
1
vote
2answers
208 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
720 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
637 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 2 3
4
5
9