{sectioning} is about commands like \chapter or \section forming the logical structure of documents. For questions specifically about {parts}, {chapters} or lower-level commands ({sections-paragraphs}), add the respective tag to the more general {sectioning}. A popular package is {titlesec}.

learn more… | top users | synonyms (2)

0
votes
1answer
17 views

\section* doesn't work with \renewcommand{\section}

I'd like to modify the \section command and I'd like to sometimes use \section*, but this doesn't work. with an unmodified \subsection like this: \renewcommand{\subsection}{ \@startsection{...
0
votes
1answer
28 views

Set heading in the margin to the left of text

I would like to style the \paragraph heading so that it is set in the margin to the left of the text. I experimented with the titlesec package, and I get the heading wrapped to the left of the text, ...
0
votes
1answer
59 views

Document Layout

I have used TeX for almost 2 years now, so I am fairly confident with it. I have, however, never given any concern to the layout of the document, but now I face the problem. I want a file with less ...
0
votes
2answers
30 views

Prevent page break between section and subsection with \hrule and \hfill between

I'm among many it seems that is trying to prevent an inappropriate pagebreak. In this case, I'm getting a pagebreak between my section and subsequent subsection. I know if I remove the \hrule and \...
2
votes
0answers
23 views

Changing \leftmark number to \oldstylenums in memoir

Referring to the image below, I am trying to change the number 1 on the \leftmark header to \oldstylenums number format. Can anyone help? These are the codes: \documentclass[12pt,twoside,openright]...
1
vote
1answer
38 views

Question Answer and Problem Answer document

In the code below, there are two parts in the document. The first part contains a Question then Answer, and the second part contains a Problem then Answer. For Part 1, I wanted to format the ...
3
votes
1answer
20 views

How to use \book section title in heading using memoir class

I'm trying to define a pagestyle with the document title in the even-heading and the title of the current book section in the odd-heading, but have been unable to get it to work. The even-heading is ...
0
votes
0answers
29 views

Where are the numberes of the headings in

everything seems to be OK. Compiling works correct but the headings, exept chapter, have no heading-number. In TOC the numbering exists, pdfbookmarks are also numbered. Is there a command line for ...
2
votes
1answer
44 views

How to make list of sections automatically?

Good afternoon I have got pages and on every page I have got \section*{...text...}. I would like to make list of these sections with name and number of page. Can I do it automatically? Just one ...
3
votes
1answer
31 views

Theorem and chapter with Dot at the end

I'd like to have dot at end of the number of chapter and at the end of the number of theorem. I tried to use something like that: \documentclass{report} \usepackage{amsthm} \newtheorem{definition}{...
0
votes
1answer
25 views

Counter problem for individualised appendix sectioning (Destination with same identifier)

I tried to individualise the sectioning of my appendix. I would love to have it sectioned like this: Appendix A.1 First A.2 Second A.3 Third B.1 Fourth B.2 Fifth B....
3
votes
2answers
47 views

Get title of current section of a specific level (similar to \thesection)

Similar to thesection, thesubsection, ... I want to obtain the title of a section (as it is in the body of the document), via for example (pseudo-code) \thesectiontitle, \thesubsectiontitle, ... The ...
0
votes
0answers
25 views

how to automatically include the contents as I write the document [duplicate]

I write a document without writing myself the Contents. I just put the command: \tableofcontents and what I write after the command: \begin document is automatically added in the Contents. ...
4
votes
1answer
50 views

Refer to title of direct superior section in an inferior section

General I know there are question about "how to refer to a specific title" however I need a way to generally refer to the superior section's title or to the title of the current section of a specific ...
0
votes
1answer
28 views

I want to remove one chapter title from the beginning of the chapter, but keep all the others

I want to remove "Chapter 5" from the beginning of the chapter. But I just want to do that for one chapter, while I keep all the others. Do you know how to do that?
1
vote
0answers
31 views

Converting number to author-year citations using natbib in book with chapters?

I've been struggling with this problem a lot. I want to change the number like citations to author-year (something like apalike, e.g. from [1] to Sims (2000)). The problem is that I have a book with ...
1
vote
0answers
22 views

! Undefined control sequence .\@svsechs …ax\@svsec\if@unchead\Makeuppercase{Metadata}

In Latex I am creating a text with different sections at different files as follows: \documentclass{acmtog} % V1.2 \begin{document} \markboth{xxxxxxxo}{xxxxxxxxxxxxxxxxxxxxxx} \title{...
1
vote
0answers
11 views

Image not appearing in the correct section [duplicate]

im new in the latex program and im having a problem thats puzzling me... I introduced 2 figures inside a section, but these images appears outside that section. Thanks guys
0
votes
1answer
37 views

How to make a section heading indented using value of parindent?

While trying to use the titlesec package to format subsection headings, I have run into some trouble. I need subsection headings formatted so that they are indented using the value that is set with ...
1
vote
1answer
50 views

How to format Chapter Heading appearance on pages

I want to have only the chapter heading showing on top of each page without the the section headings. Below is a MWE. How do I modify it to get rid of the section heading appearing so as to avoid the ...
1
vote
0answers
43 views

Want \section* to change the page header?

I have several numbered sections followed by an unnumbered section. However, the page headers for the unnumbered section are continued from the last numbered section. I am using fancyhdr with the ...
0
votes
1answer
45 views

Boxed section heading style

I'd like the section title to look just as it does by default, except the following changes: No spacing (before/after) Text is inside black filled box Text color is white I've tried to use the ...
1
vote
1answer
19 views

KOMA-Script: Adding “linebreak” after paragraph and subparagraph

I have the following example code: \documentclass[parskip]{scrbook} \setcounter{secnumdepth}{5} \begin{document} \chapter{Chapter} Test \section{Section} Test \subsection{SubSection} Test \...
0
votes
0answers
21 views

latex structure window some sections unseen

Recently I undate the Textstudio, then some sections or subsections can not be shown in the structure window anymore; but after complation, it shows normally in the PDF. The problem is it cost time ...
0
votes
0answers
32 views

Chapter Titles in the Left Margin

I was wondering would it be difficult to get section titles in LaTeX to show up in the left margin space in a way similar to this: http://practicaltypography.com/straight-and-curly-quotes.html I ...
0
votes
0answers
40 views

Section without number in header

I have a problem regarding headers. In my Latex document I have a bunch of sections that are unnumbered, in the style of: \section*{Syfte} \addcontentsline{toc}{section}{Syfte} The problem occurs ...
2
votes
1answer
36 views

Referencing equations and sections without enumerate

The question is ... I would like several things: First I want not enumerated sections (because I'll use them as themes). Second I would like enumerate subsubsections with letters. Third I would like ...
1
vote
2answers
38 views

Reset equation counters with unnumbered sections

I would like use: \counterwithin*{equation}{section} \counterwithin*{equation}{subsection} with \section*{} because if the section is not numbered \counterwithin*{equation}{section} doesn't work ...
1
vote
1answer
38 views

KOMA-Script have parskip=full- but no spacing between section title and content

When using KOMA-Script, one has \RedeclareSectionCommand available to adjust the spacing before/after section titles, as described in this question. I want the content of the section to appear on the ...
2
votes
2answers
68 views

Section name appearing twice

Why the section name is showing twice? \documentclass[12pt]{report} \usepackage{enumitem} \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\sectionmark}{} \renewcommand{\chaptermark}[1]{\...
1
vote
1answer
43 views

Dagger footnote [duplicate]

I would like to add a dagger symbol to one of my section headings that is actually a footnote, so that I can write a comment in the footer. Does anyone know how to change the footnote number to a ...
1
vote
1answer
64 views

Need advice on \chapter

I'm writing a collection of short stories. It works fine with Texmaker, but the chapters comes on top of the title of each story. The start page of a story starts with chapter no and then the name of ...
1
vote
1answer
34 views

References/Links to reset sections

I have the following MWE: \documentclass{article} \usepackage{listings} \usepackage{hyperref} \begin{document} \tableofcontents \section{test} \clearpage \section{test} \clearpage \renewcommand\...
0
votes
1answer
37 views

Suppress numbering for newcommand and contional mesh up of text

I have two questions. First I would like to add subsection to the tableofcontent of my document to structure a little bit the toc without repeating the subsection in the docoment. And I already found ...
1
vote
2answers
42 views

Making Bibliography as a Subsection in TOC, but chapter in document

I have seen a few related questions, but I cannot get the answer to work for my situation. Maybe it's because it is the memoir documentclass, maybe it's the bibliography manager (natbib is embedded in ...
3
votes
1answer
32 views

Number, toc & heading tree glossary subentries

I use some glossaries, one in the main matter of my text, other in the back matter of my document. I applied to the first a homemade style with hierarchical entries & subentries (cf. MWE). I would ...
1
vote
0answers
42 views

How to make nice indents at the beginning of each chapter? [duplicate]

I'm using this template to write my thesis. My chapters look like that: How can I make latex add the indent in the first paragraph of each section? I could manually add a hspace, but I'd like to ...
3
votes
1answer
72 views

How to stop new subsubparagraph entry appearing in TOC

I added a new subsubparagraph section level using the titlesec package, with help from How to add an extra level of sections with headings below \subsubsection and http://tex.stackexchange.com/a/94404/...
2
votes
1answer
28 views

I want only the section name in my header, not the section number

I have a problem regading fancy headers. I want to have the section name only in my header, but when I am using the following code I get the section number as well: \pagestyle{fancy} \fancyhf{} \...
3
votes
1answer
27 views

Place text tightly above section header

For a requirement specification I need to put some text right next to a requirement (a sentence or paragraph) for identification purposes. I would like to place such identifier right next to a section ...
0
votes
0answers
18 views

How to use \citet in section title? [duplicate]

I am trying to use the \citet command in a section title, but the space after the reference and the first letter of the following word are cut off if I use the \texorpdfstring comand around the \citet ...
2
votes
2answers
54 views

Section Number without name in header

I am using the fancyhdr package to customize my header and would like to display it with the section number, but without the section name, i.e. : ______________________________________________ | ...
1
vote
0answers
15 views

Section-Headline of a new paragraph under a list

My TeXstudio doesn't show a section or a paragraph headline in the structure view if an \begin{...} ... \end{...} construct is above this headline. For example: \section{test1} \begin{itemize} \...
1
vote
0answers
43 views

Header gets messed up [duplicate]

I've had a problem with my header on an assignment I've been working on. The headers of some chapter and or sections, when long begin to overlap over each other and sometimes go beyond the page. ...
0
votes
0answers
39 views

LaTeX: Top margin for References heading in PhD thesis

I have a layout issue with my PhD thesis. I need to have a 2 inche top margin for the References heading, but the rest of the pages of the references section should have a 1 inch top margin. The ...
1
vote
1answer
26 views

Formatting a \section* like a normal \section

I'm having trouble understanding how to format a \section* to make it look like a \section (without the section number, of course). Here is the code which the package I have to use uses for ...
6
votes
1answer
73 views

Conditional print depending of chapter number

I have made a custom chapter head style and I would like to use it even with table of content. so for this I have: \documentclass{memoir} \usepackage[utf8]{inputenc} \usepackage[svgnames]{xcolor} \...
9
votes
2answers
444 views

How can I make a “fake” subsection number?

I'm writing a LaTeX document which includes examples of how to structure another LaTeX document. However, I can't figure out a way to make it so that there's a subsection in the example that is a) not ...
2
votes
1answer
67 views

Section title centering

I am writing my PhD thesis in LaTeX. When I tried to center the section titles, awkwardly, it compiles without table of contents but whenever I write \tableofcontents an error occurs. For centering, ...
3
votes
2answers
82 views

Use \nameref to refer to unnumbered section but allow short titles

I'd like to refer to an unnumbered \section* which in general just makes sense in combination with \nameref. However I'd like to define a short title for the section I can refer to, but \section[...