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
477 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}} {\...
2
votes
1answer
94 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: ...
2
votes
2answers
230 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 ...
2
votes
1answer
83 views

Keeping section heading with body paragraph & image (context)

How can you get Context MkIV to automatically put in page breaks to keep \section, etc. headings with the paragraph when accompanied with a floating image, instead of putting the heading at the end of ...
2
votes
0answers
55 views

Extremely weird formatting of text in section

\documentclass[a4paper, 11pt]{book} % Packages \usepackage[utf8]{inputenc} \usepackage{graphicx} % For images \usepackage{titling} % For adjusting white space above headers \usepackage{titlesec} % ...
2
votes
0answers
67 views

Automatic paragraph numbering within subsections

I'm attempting to create a similar format to a word document (example attached) within LaTeX but I'm having a lot of issues with achieving. The document is an article and every single single paragraph ...
2
votes
0answers
337 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 ...
2
votes
0answers
85 views

Changing text below \section to be indented [duplicate]

Possible Duplicate: How can I indent the paragraphs which follow a heading? I'm using the report class in LaTeX and when I use, say \section{Foo} This is a section about Foo. I get (arrows ...
2
votes
0answers
83 views

TikZ in (sub)section title [duplicate]

Possible Duplicate: How to add a tikz/pgf command to section command I would like to add a tikzpicture to a section title using: \newcommand*\circled[1]{\tikz[baseline=(char.base)]{ \node[shape=...
1
vote
1answer
173 views

Should the sectioning command \paragraph be used to delimit blocks of text of more than one paragraph?

1 An example section I've read that \paragraph is a sectioning command one level lower than \subsubsection. However, it seems to work a little differently. For one thing, it is unnumbered (unless ...
1
vote
2answers
592 views

Misaligned paragraph (after subsubsection)

I'm new to LaTeX & LyX. I find that in LyX, when I have a "subsubsection" then "standard" block of text, it looks like where the immediate line after the subsubsection is aligned with the header ...
1
vote
1answer
149 views

KOMA-Script scrbook: How to remove period after sections and subsections?

I am a total TEX noob, so please forgive me :D I am trying to prepare a template in LATEX, that I can potentially use for all papers I will have to write, in accordance with my faculty's regulations. ...
1
vote
2answers
4k views

How to change spacing before and after \paragraph command?

I tried to control the spacing before \paragraph{} using a command such as \setlength{\parskip}{3pt plus 1pt minus 1pt} but that doesn't influence it. (It influences spacing between regular ...
1
vote
1answer
96 views

There is a problem with \section alignment

MWE \documentclass[a4paper,12pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{enumitem} \usepackage{showframe} \begin{document} \thispagestyle{...
1
vote
1answer
212 views

What is the best way to approach creating a document with many subsections?

I'm trying to make a document that needs to be structured with 5 sublevels, where every single sentence in the document needs to have a label in front of it such as 1.2.4 or 1.4.5.6.4. What is the ...
1
vote
1answer
398 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
453 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....
1
vote
1answer
700 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
1answer
399 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
1answer
467 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
1answer
2k views

Section numbers have a zero in front with report document class [duplicate]

I wrote my tex file first in article mode. Now that I switched the document class to report, unfortunately I am getting a zero before my sections and subsections which I want to be removed. Changing ...
1
vote
1answer
2k views

How to change the default ':' in subsection to paren ')'?

In latex, when I write , \subsubsection*{a} it produces a: but I want to write a) How should I do this.
1
vote
1answer
121 views

Placing a figure with subfigures immediately below paragraph title

I would like to have some paragraphs including a sequence of figures (no text at all). However I am not succeeding in placing the figures right below the paragraph title. What happens is that the ...
1
vote
1answer
271 views

Change font for the \paragraph command

If I add something like \paragraph{Title} Paragraph text to my LaTeX document, "Title" will have a bold font. I want to change it to \textit. How can I do it for \paragraph{} and \paragraph*{} ...
1
vote
1answer
406 views

Section and text left indentation

My MWE: \documentclass[a4paper,12pt]{article} \usepackage{showframe} \usepackage{lipsum} \usepackage{geometry} \geometry{paper=a4paper} \geometry{bindingoffset=1.5cm,hmargin={1.5cm,1....
1
vote
2answers
184 views

How to define a name for paragraphs referenced by \autoref

I have defined the following command: \newcommand*{\namerefLabeled}[1]{\nameref{#1} (\autoref{#1})} It largely does what it's supposed to, i.e. turning something like: For further details, see \...
1
vote
1answer
551 views

How to obtain mini frames without navigation bullets and subsection titles in beamer?

I would like to use the miniframes theme exactly like the MWE below, except without navigation bullets and subsection titles. The only solutions I've found modify the section titles as well (e.g. by ...
1
vote
1answer
100 views

How do I place a colored box in front of a \section*

I'm using the MWE that Jesper Ipsen provided in the following question. I intend to use colored boxes instead of section numbers. My idea was to implement it as shown in the following question. Now ...
1
vote
1answer
183 views

How to restore the parskip skips between list items?

On the question How to stop the package \usepackage{parskip} disabling the paragraph indentation?, I learned how to restore the \parindent value zeroed by parskip: \edef\restoreparindent{\parindent=\...
1
vote
3answers
7k views

How to change the numbers on a section?

I would like to relabel the numbering on the \section{} to match the lecture number. Issue is don't I start the document at lecture 1, hence the discrepancies. Any help would be most appreciated.
1
vote
2answers
809 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!
1
vote
1answer
57 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'...
1
vote
2answers
67 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
70 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,...
1
vote
1answer
496 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
154 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[...
1
vote
1answer
102 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{...
1
vote
1answer
144 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" ...
1
vote
2answers
65 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} --- ...
1
vote
1answer
65 views

Inclusion of a small image in a heading

I am trying, if possible, to include a small graphic at the beginning of a section or subsection heading. Something like: \includegraphics[width=0.1\columnwidth]{skull.jpg}\section{Immersions, ...
1
vote
2answers
3k views

Standard paragraph following subparagraph

I'm a newbie using LyX and was wondering why when I put a standard paragraph after a *subparagraph it always renders the first standard paragraph after the *subparagraph on the same line?
1
vote
1answer
4k views

Mysterious empty page + subsequent “Overfull \vbox has occurred while \output is active” during a long string of sectioning commands

Document in question: http://pastebin.tlhiv.org/nJhaYvfN Page 3 is typeset as a blank page, while page 4 has the overfull (by almost 160pts!) \vbox during a long string of sectioning commands.
1
vote
1answer
29 views

Command for switching exercise styles

I am trying to create a command that allows me (or the user) to switch between two different styles for typesetting problems. One is the runin in the margin, while the other one is defined by ...
1
vote
1answer
33 views

How to change the color in ' \section{.} '

\documentclass[12]{article} \usepackage{lmodern} \usepackage{amsmath} \usepackage{amssymb} \usepackage{mathrsfs} \usepackage{amsthm} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[...
1
vote
1answer
27 views

How to assign titles to paragraphs, followed by a line break?

If I want to give a title to a paragraph I can just use \paragraph{Respective Title} *Text* However, I cannot put a line break between the title and the text, since it would give a compilation error. ...
1
vote
1answer
47 views

Prevent line break after SOME (sub)section declarations

I am trying to prevent the automatic line break that happens after a (sub)section declaration, but only for some subsections. I know that I could use: \titleformat{\subsection}[runin] but this ...
1
vote
1answer
243 views

Why does it cause errors in subsubsubsections

I want another level of subsections (i.e. subsubsubsections). For that I am using; \setcounter{secnumdepth}{5} \paragraph{This is my subsubsubsection} However, this gives me an error saying that ...
1
vote
1answer
64 views

spacing before and after titles

I am making a custom sty file in which I intend to change the spacing before and after sections, subsections and subsubsections. I use the command \titlespacing{<command>}{<left>}{<...
1
vote
1answer
801 views

Create new \subsubsubsection in custom class file

I've copied the default article.cls file and made some very minor alterations mainly to the \listoftables and \listoffigures titles, which is not connected to my question. I'd like to add 1 extra ...
1
vote
1answer
128 views

Alternatingly show chapter-section and section-subsection titles in header using titlesec

I need two different header formats for two chapters. In chapter one, the header should show the chapter (number and title) on even pages, and the section (number and title) on odd pages. In chapter ...