{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)

6
votes
0answers
193 views

Display beamer headline in frames conditional on section and subsection environments

I'm trying to create a beamer presentation (in LyX) where frames conditionally display a headline containing section and subsection navigation depending on (a) whether a frame is in a section ...
5
votes
0answers
131 views

Maintaining structure Workbook style

--Revised-- I am looking at a math workbook for teenagers. This one has the following structure: 1.Main Chapter 1.1 Subchapter 1.11 Task 1 a) problem 1 b) problem 2 c) problem ...
4
votes
0answers
70 views

Using the long form of a section title in the TOC

I would like to use a full section title for: the section title itself (of course) the table of contents the running heads But, I would like a short name to be used with \nameref{}, because ...
4
votes
0answers
87 views

ConTeXt: How to prevent new paragraph after \hrule in section heading?

I'm using ConTeXt, and trying to setup my document's subsection headings to start with a colored rule. However, any way I've tried doing this results in a rule placed a line higher than the heading ...
4
votes
0answers
67 views

How can I 'uniquify' RefTeX label defaults?

When you create a new section within AUCTeX (using C-c C-s) and give the section a name, RefTeX will prompt you for a title, insert the section, and then prompt you for a label. This label is ...
4
votes
0answers
44 views

Reference non-included chapters in large document

I have a large document that contains many different chapters which reference each other. The body of the main latex file looks something like: \maketitle \tableofcontents \include{chapter1} ...
4
votes
0answers
147 views

Follow up to underline subsections - incompatibility between lineno, sectsty, and ulem

In answering the question Underline subsections, I provided an answer which relied on the sectsty package (as compared to @GonzaloMedina's answer, which used the titlesec package). Ultimately, ...
3
votes
0answers
81 views

How to reduce the gap at the begining of chapter 1?

\documentclass[a4paper,12pt]{mnnit} \usepackage{graphicx,times,epsfig,amsmath} \usepackage[Sonny]{myfancy} \usepackage{fancyhdr} \setcounter{secnumdepth}{5} \usepackage{float} \usepackage{subfig} ...
3
votes
0answers
39 views

Long form of acronyms capitalized in section headings

I use the glossaries package and defined headers often in section titles. In general I keep the first letter of each word in the headings in capital case, but if an acronym occurs the first time, it ...
3
votes
0answers
34 views

Cross references to “false” sections (see “subsections as an enumerate”)

This question on Subsections as an enumerate was exactly what I wanted to ask yesterday, and StevenB.Segletes' answer almost does what I want, but it doesn't seem to quite work. I can't really post ...
3
votes
0answers
46 views

How to limit the width of a subheading?

The thesis formatting manual has the following requirement: Subheading width: A long subheading title should be divided into two or more lines. No single line may be wider than 4 inches. ...
2
votes
0answers
42 views

How to not indent the section title

I have a document with article class. And the header for section and subsection is indented. I would like to make it so that the header lines up with paragraph that is not indented. For example ...
2
votes
0answers
14 views

Space after Proof Environment to next Section

I am using a modified definition of a proof environment: \makeatletter \renewenvironment{proof}[1][\proofname]{\par \pushQED{\qed}% \normalfont \topsep1\p@\@plus3\p@\relax \trivlist ...
2
votes
0answers
39 views

How to set bookmark anchor so \section- and \section*-bookmark behaves the same

If I make a \section and \section* bookmark, the anchor points to the two sections in a different place. A small vertical space is added to \section* (see png-files). How can I make sure the anchor is ...
2
votes
0answers
37 views

polyglossia error when \section is used

When I use \section{abcd} in this document, I get a polyglossia error. The document without \section{} compiles normally. Kindly help. \documentclass[letterpaper, 10pts]{scrartcl} ...
2
votes
0answers
45 views

Using Lua in listed elements (List of Figures, List of Tables, List of Content)

I am not sure if I use the wrong approach or if this is an issue in LuaLaTex in general. I tried to integrate some internationalization (I18n) to our documentation framework using Lua. Long story, ...
2
votes
0answers
54 views

using section types inside of blockquote

I'm still new to latex, but can someone explain to me why this one works: \begin{document} \begin{quote} \subsubsection{Just some Text} \end{quote} \end{document} but this one does not: ...
2
votes
0answers
116 views

\cref does not work for Section in emulateapj.cls

While \cref works quite well for me, it doesn't seem to recognise section labels when used in emulateapj.cls framework. Here's an example: ...
2
votes
0answers
51 views

To visualise Schematic Intersections of Sections over Parts

Assume you have Parts Exotoxins A-B Non-spore-forming Gr+ Some of exotoxins A-B bacteria belong too to non-spore-forming Gr+. I can visualise this by a venn diagram, however I would like show this ...
2
votes
0answers
132 views

How to display partial TOC (only one section at a time)?

I already know how to print an Outline with only the current section. What I'd like to do is to have an Outline slide with some extra info (for instance, a publication) below each section of TOC. I ...
2
votes
0answers
82 views

put one page completely landscape

I have a document that is mostly in normal layout, but two sections need to be in landscape. The contents of the page turn without problem, including table and section. What doesn't turn on those ...
2
votes
0answers
174 views

Remove space below section in memoir

I'm growing tired of the extra space below \section and \subsection in the memoir class - it's way too big. How can I remove it - like one use \vspace{-20pt}$. This must be done for all \section and ...
2
votes
0answers
47 views

Manually deleting \chapter ruins all hyperlinks in the document

I'm a tex noob and I'm using doxygen to generate a pdf documentation. I had doxygen generate a refman.tex file which contains something like \chapter{Program Reference} ...
2
votes
0answers
103 views

\MakeTextLowercase not working with \cref

I'm using cleveref and classicthesis. classicthesis defines section headings to use small caps and uses \MakeTextLowercase to achieve this. However, when using the capitalize option for cleveref, the ...
2
votes
0answers
168 views

Is there an alternative for \usepackage[nobottomtitles*]{titlesec}?

Is there an alternative for \usepackage[nobottomtitles*]{titlesec} as it messes up my automatic clearing of floatingfingure? \documentclass{article} \usepackage{mwe} \makeatletter ...
1
vote
0answers
43 views

Incorrect page number counter in beamer using sections

I am trying to put together a beamer document put together using multiple sections where frame numbers restart at each section and I can leave certain frames at the beginning of the document and at ...
1
vote
0answers
67 views

Conditional spacing based on length of chapter title

In LaTeX, (or possibly XeLaTeX), how can one achieve the following: A double spacing a 1- or 2-line chapter title, and single spacing under a 3- or more-line chapter title. A triple space ...
1
vote
0answers
71 views

newcommand, section

I just received a new task in LaTex with a predefined structure and predefined commands. There was also the command \mysection. I think it shouldn't show the text of the section in the document, but ...
1
vote
0answers
45 views

New class prevent XeLaTeX to compile the section title

I created a new class, called capitulo to prevent a page break with every chapter. But when I activate those code lines, the section number won't print. Here's a MWE: ...
1
vote
0answers
59 views

Make paperheight (page length) same as section length

I'd like a document where each section is followed by a page-break but otherwise is one page. The sections have varying lengths, mainly due to the size of the picture(s) in each one. So far what I ...
1
vote
0answers
78 views

How to get just ONE space between the number of a section's title and its title in the TOC (memoir class)?

In my Toc Iam trying to get just one space from the escape key between the number of the section and its title. Example (TOC): 1. My section For the moment, I am using this many time: ...
1
vote
0answers
72 views

How to prevent \section from starting on a new page in the scrartcl class?

I browsed through the question history for a while but could not find something helpful for my problem. Sorry, in case I missed a fitting case. I use document class scrartcl for writing my PhD ...
1
vote
0answers
175 views

LaTeX Appendices: \chapter to \section, Appendix-numbers & Reset page-numbers

I found in the following question&solution the solution for using \chapter for appendices: Keep "Appendix #" in the appendix title, but remove the appendix from the table of contents ...
1
vote
0answers
76 views

Arabic chapter numbers in ToC, Words in chapter headings in ConTeXt

My first post on tex.sx, so bear with me... The Goal: Arabic chapter numbers in the Table of Contents, and Words in the chapter headings (i.e. Chapter One) Seems simple enough, but I'm having the ...
1
vote
0answers
63 views

Representation of subsubsection numbers simpler

I have \documentclass{article} \usepackage[framemethod=tikz]{mdframed} %%%%%%%%%%%%%%%%%%%%%%%% Counter Section %%%%%%%%%%%%%%%%%%%%%% \makeatletter \def\@part[#1]#2{% \ifnum \c@secnumdepth ...
1
vote
0answers
39 views

overriding \section{} and stripping decorations out of LaTeX source string

I am trying to solve a problem that I have with Pandoc's LaTeX output ([1]; I have implemented a patch to Pandoc itself but I am also looking for a LaTeX only solution, in case the patch is not ...
1
vote
0answers
74 views

Too much space in the section

My problem is the next, I have too much space to finish a \section and start the other section the code is: ...ropagaci\'on, as\'i solamente la luz que sea paralela al eje de polarizaci\'on ...
1
vote
0answers
52 views

titleformat deviation from specified vertical space

I have specified using titleformat (titlesec) the distances around different headings. This works fine, however sometimes, LaTeX deviates from the specified spaces, presumably to better fill up the ...
1
vote
0answers
80 views

Niceframe problem - what to do?

Building on the code from Gonzalo Medina, I managed to make a nice chapterstyle with niceframe. The problem is that it sometimes renders poorly, at least in Acrobat Reader: Needles to say, I don't ...
1
vote
0answers
59 views

How to have a wrapfigure not always be below section heading

I have noticed that wrapfigs always place themselves under a section heading, with quite a bit of white space. This often leads to my wrapfig captions being below the bottom margin and the white space ...
1
vote
0answers
67 views

toc- sections and subsections printing out of order

I have a large presentation for a series of lectures - I have split it up into separate lecture files which I have then included in the main document e.g. \section{ Algebra } ...
1
vote
0answers
308 views

Remove “Appendix” title from Cover Page

I'm writing a report in latex and I included an appendix in my document. When I typeset, the title "Appendix" appears on a page by itself. I want this "Appendix" title to be on the same page as my ...
0
votes
0answers
22 views

Add a space before a section but not before the first one

I'm trying to define my own subsection-like command by using this: \newcounter{oef} \setcounter{oef}{1} \newcommand{\oef}{{\medskip\large\bf Oefening \theoef\par\medskip}} So, when I use this: ...
0
votes
0answers
25 views

Help with putting footnote in the Section

I am trying put footnote in the section for the document with documentclass res.cls. I am using the following tex file but I am not getting the desired result. Basically I am not seeing any footnote. ...
0
votes
0answers
24 views

Section title appearing only in table of contents

I want to create some "phantom" section, so this means that I dont want the section title to appear in te page but I still want it to appear in the table of contents and also use it with hyperref. In ...
0
votes
0answers
23 views

Appending “Chapter #:” to numbered chapters but not unnumbered ones in a bibliography by section

I use the following code to general a bibliography-by-section in a 'book' document, but this appends "Chapter #:" to all chapters, including unnumbered ones. How can I modify the code to only append ...
0
votes
0answers
28 views

Headline merges with chapter title in top text

I am facing an issue where the subsection headline crashes with the chapter title in the top page text in my document. Is there a way to solve this, and by not changing the subsection title and the ...
0
votes
0answers
36 views

Fancy part title page with titleformat and centering problem

I would like to create a fancy part title page but I have some issues with titleformat. Currently, I use : \titleformat{\part}[display] {\normalfont\filcenter\thispagestyle{empty}} {}{0pt}{ ...
0
votes
0answers
38 views

Two column bible style headers

I found this nice(see last code on the page ) example I'd like to have two column text and when i use \documentclass[paper=a4,twocolumn,pagesize=pdftex]{scrbook} section (leading paragraph) ...
0
votes
0answers
15 views

Inconsistent AUX and OUT files create section not in TEX

I'm working on a document that has little content yet however I'm getting a section "2 Literatur" which is not in my TEX document currently. I can't figure out how to delete the section "2 Literatur". ...