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
4
votes
2answers
2k views

Bold Greek letters in latex section name

I'm having small trouble with "pi" in section name \section{ $\pi$ } in LaTeX. I need to bold \pi but I do not know how to do it. I was try to use $\mbox{\boldmath${\pi}$}$, $\mbox{\mathbf{\pi}}$, ...
4
votes
1answer
535 views

Small caps in section but not in ToC

With LaTeX, I would like to set all my section titles in small capitals but I need the \textsc to be 'cancelled' in my table of content. Is that possible somehow ? I currently do this : \section[...
4
votes
1answer
2k views

Difference between \paragraph and \subparagraph in scrreprt?

I'm using scrreprt for writing and (at least for me without any typographic education) I don't see any difference between a section typed as \paragraph or \subparagraph. My questions: Is there a ...
4
votes
1answer
446 views

Fix spacing from sections in toc, and part title

I've got to fix a friend's work that was done with latex. I've got almost all done, but there are a couple of issues that I couldn't fix, so I would like if you can help me please (an article document)...
4
votes
2answers
171 views

multido variable in \paragraph prematurely incremented by one

The compilation of the following MCE: \documentclass{report} \usepackage{fixltx2e} \usepackage{multido} \begin{document} \multido{\i=1+1}{4}{% \chapter{I am the chapter \i} \section{I am a ...
4
votes
1answer
312 views

How to create a paragraph header centered and with '(a)' label

For my \documentclass[11pt, a4paper, oneside]{Thesis} in subsection 2.3.4 I created code for paragraphs: \documentclass[11pt, a4paper, oneside]{Thesis} \subsection{The reasons of wide values} \...
4
votes
1answer
541 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?
4
votes
1answer
1k views

Line break in modern beamer theme impossible?

I use the new LaTeX beamer theme mtheme by Matthias Vogelgesang (see http://bloerg.net/2014/09/20/a-modern-beamer-theme.html). As some section titles are a little longer I tried to break the titles ...
4
votes
1answer
196 views

Figure as superscript in section title

I would like to have a section title of special type: I need it to be a letter with a figure in superscript. My code (that does not work) would be: \documentclass[12pt,a4paper]{article} \usepackage[...
4
votes
1answer
615 views

pdflatex raise error when \paragraph inside quote environment

Why I get a error when there is a \paragraph{} (or \subparagraph{}) inside a quote environment? For the example below \documentclass[]{article} \begin{document} \begin{quote} \paragraph{My header} ...
4
votes
2answers
1k views

Indentation after section title on a first item of “easylist” item

The code: % XeLaTeX \documentclass[12pt]{article} \usepackage{geometry} \geometry{letterpaper} \usepackage{graphicx} \usepackage{amssymb} \usepackage[50, sharp]{easylist} \usepackage{titlesec} \...
4
votes
1answer
813 views

change position of Subsubsections and paragraphs and enumerate them

I am new to TeX. I have a document with subsubsections and paragraphs. I don't wand the paragraphs inside the block, they should be bevor the block, like the subsubsection header bevor. The other ...
4
votes
1answer
1k views

Space before and after section [no need for it]

I have additional space inside a text [see picture] between paraghraps. Beside of that it is diffrent size [this space]. What's more before Section, and after section title there is additonal space ...
4
votes
2answers
868 views

Rename sections with ngerman

I am searching for a possibility to rename sections. I am using the ngerman package. I have tried something similar to https://stackoverflow.com/questions/3125231/how-to-rename-sections-in-latex, ...
4
votes
2answers
274 views

How to insert an image on line to all \section and \subsection?

I have to insert an image a begin of every \section and \subsection using those LaTeX commands. I have tried this: \renewcommand{\@seccntformat}[1]{\mbox{\includegraphics{FigureFISSE/IconaT1.eps}\...
4
votes
1answer
173 views

New level of section, interaction with hyperref

I would like to create a new command \exsec that behaves like \section with the properties below. I am using the book class. It produces a heading with the same formatting as \section, except it is ...
4
votes
1answer
150 views

Removing section separation line just if on top of page

I have horizontal lines separating my subsections and I would like to remove them only if they are on top of the page. Anybody can help me? Thanks! Here is the code snippet of the header of the ...
4
votes
1answer
1k views

Add \paragraph type entries to beamer table of contents

I want a beamer TOC slide like this: SECTION 1 ..Subsection 1 ......Slide Title 1 ..Subsection 2 ......Slide Title 2 ......Slide Title 2 NEXT SECTION ......Another Slide Title In documents I use \...
4
votes
1answer
772 views

Automatic \newpage for sections at the end of a page [duplicate]

Possible Duplicate: Avoiding page breaks shortly after section/subsection headings Imagine that I've got a \section (or \subsection, \subsubsecion, \paragraph) at the end of the page X: in this ...
3
votes
1answer
5k views

Line of dots in a Section with Text at the end

I'm having a section in which i need to append dotted line till the line end. At the end i need some text. Exactly like the below Healthcare Management.............................................
3
votes
1answer
681 views

How to create subsubparagraph and subsubsubparagraph?

I am trying to create a subsubparagraph and subsubsubparagraph. Subsubsubparagraph is working fine, but subsubparagraph is giving me strange results in my Table of Contents. Here is my Code: \...
3
votes
1answer
2k views

Vertical Spacing After Paragraph Heading

I can't manage to control vertical spacing after (and before) paragraph which I've customized. \paragraph{Çatışma} Birden fazla düşman birimin karşılıklı yok etme .... And here is what i used to ...
3
votes
2answers
131 views

How to remove space in section title at KOMA-Script

Here is MWE: \documentclass{scrartcl} \usepackage{adforn} \renewcommand{\sectionlinesformat}[4]{% \ifstr{#1}{section}{% {\adforn{30} {#3}. {#4} \adforn{58}} } {{\...
3
votes
2answers
950 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....
3
votes
1answer
987 views

Empty line after \paragraph?

In order to have a subsubsubsection I have used \paragraph. The problem is that I get text immediately after the tittle. How do I make to get a empty line after \paragraph?
3
votes
2answers
688 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
409 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 ...
3
votes
2answers
442 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 ...
3
votes
2answers
971 views

No indentation after \paragraph command not working

I'm trying to create a new command called \domanda{}, that makes use of the \paragraph{} to create a series of questions with Q: in-built, together with their answers on a new line, WITHOUT ...
3
votes
2answers
298 views

How can set \rule after \section if \section is renew?

How can I set \rule after \section if \section is renewed? This doesn't work: \let\oldsection\section \renewcommand{\section}{% \newpage% \oldsection% \rule{\...
3
votes
2answers
183 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 ...
3
votes
1answer
221 views

Can I use patchcmd to modify definitions in book.cls?

Below are the commands for \paragraph and \subparagraph in book.cls. \newcommand\paragraph{\@startsection{paragraph}{4}{\z@}% {3.25ex \@plus1ex \@minus.2ex}...
3
votes
1answer
132 views

How to remove a specific section from bookmarks

I'm trying to find a way to remove a specific section from the bookmarks. Suppose I have the following code \documentclass[a4paper,11pt]{article} \usepackage{titlesec} \usepackage[colorlinks]{...
3
votes
2answers
258 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....
3
votes
2answers
168 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 ...
3
votes
1answer
201 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/...
3
votes
1answer
667 views

How to underline a section's title without using the sectsty package (memoir class)?

Can anyone tell me how to underline a section's title without using the sectsty package please? Indeed I am using the memoir class which prohibits this package. Thank You.
3
votes
1answer
304 views

Make \vspace appear below empty \subparagraph

I was doing some homework in LaTeX, and I wanted to put some blank space below a subparagraph heading so that I could draw a diagram in after printing it out. For the subparagraphs where I had content ...
3
votes
2answers
721 views

How to use an hyperlink as a paragraph title?

I want to use the hyperref package to create hyperlinks in my pdf output. I have a global table and I would like to link each line to a more detailed table further down the document. And for each ...
3
votes
1answer
359 views

Paragraph and subparagraph titles inherit color settings from TeX group *after* them

I'm getting some strange behaviour when using the color package at paragraph and subparagraph level. See the code snippet below: \usepackage[usenames,dvips]{color} \section{A} {\color{Green} \...
3
votes
1answer
1k views

Is italic + less-space formatting of \subparagraph typographically sensible?

As discussed in Difference between \paragraph and \subparagraph in scrreprt?, my formatting does not make a difference between \paragraph, as the proposed workaround does have no effect, if the option ...
3
votes
1answer
558 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: \...
3
votes
2answers
529 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 ...
3
votes
1answer
364 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 ...
3
votes
1answer
505 views

\section with empty title. Show number next to first paragraph

I am working on a document in which the numbers of headers are displayed in a left margin, e.g. 1 Main header some text within the given section. 1.1 A Subheader Some text within ...
3
votes
1answer
3k views

Adjusting spacing before and after subparagraph with sectsty

I am helping a friend that is using sectsty to format the titles in his document. How can I adjust the spacing before and after the titles, in particular the subparagraph one? (I know that titlesec ...
3
votes
1answer
103 views

Change the spacing around select paragraphs

How would I make only specified paragraphs have a little extra space above and/or below them compared to the default setting (which seems to be no--or very little--extra space between paragraphs)? An ...
3
votes
1answer
252 views

Is it possible to have section titles inside paragraphs?

Is there a way to have section titles that are inside paragraphs, especially when using titlesec package? The runin style and others cause a paragraph break after the input line. What I am aiming for ...
3
votes
1answer
3k views

End a paragraph and continue normal section

Inside a section, I have plain text and a paragraph. The section starts with normal text, then there is a short paragraph, and finally the normal section text continues. The last part of the text ...
3
votes
1answer
229 views

How can I set single line spacing for \enumerate amd \section?

I want to set \enumerate and \section to use single line spacing and small font like the table of content in this document. How can I do that? Thank you.