{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
22 views

Why doesn't my \csname-based glossary macro work inside \section and \caption?

I'm a LaTeX newbie. I have a custom macro called \gloss that decorates its argument in a certain way - let's say that it adds a star symbol for the purpouse of the MWE. I have wrapped it around a ...
1
vote
0answers
19 views

problem with table of contents and chapters heading

I got a document that I want to have the following structure Table of content Introduction Chapter 1 Chapter 2 ...... my code looks like \begin{document} \include{chapters/titlepage} \frontmatter ...
1
vote
1answer
21 views

How to hide partial portion of subsection heading in table of contents [duplicate]

Let us consider the following scenario. If I write like the following, it will appear in table of contents as "Hai Hello". \subsection{Hai Hello} But I want to hide "Hello" in table of ...
2
votes
1answer
16 views

How to remove section both from header and outline in beamer?

In the beamer presentation I am using \section*{section name} to remove the section from the outline. How can I also remove the section from the header (I am using Singapore theme)? I tried the ...
6
votes
2answers
76 views

Appendixify: Move selected slides to appendix in Beamer

When working with Beamer I often have slides that I initially write in the body of the presentation, then decide they should be consigned to an appendix. This is also useful when reapplying slides ...
6
votes
2answers
144 views

Section numbers colored

I want to color the section and subsection numbers in my document. I tried the solution here http://tex.stackexchange.com/a/193186/80972 but it doesn't work for me. Here's an example using that ...
2
votes
2answers
95 views

What is the proper way to change the section title font in LaTeX?

Suppose I wanted to use a different font for a title then the body text in LaTeX (pdflatex). (For example, if I wanted to use a slightly fancier font for titles, or a sans-serif one.) How would I do ...
5
votes
1answer
117 views

How to make headers uppercase without breaking references in latex?

I am trying to make section headers uppercase. I tried different packages (titlesec and sectsty) but always get broken references. \documentclass[english]{article} \usepackage[T1]{fontenc} ...
2
votes
1answer
32 views

Include paragraph number in enumerate numbering

Similar to this question, Include section number in list number, I would like to prepend the paragraph number to the list item labels in a enumerate environment, e.g. Paragraph 1. Some text 1.1. ...
3
votes
1answer
41 views

Redefining commands in Latex (\section in particular)

A few days ago I asked a question about how to redefine the \section command to be able to write content just after the head of the section with no line breaking: Redefining \section command (I ...
3
votes
1answer
41 views

Hyperlinks from chapter and section headings back to the table of contents

What I'd finally like to have are clickable backlinks from the headings to the table of contents. The goal is to click on a heading and land on that exact heading in the toc. As far as my search ...
4
votes
1answer
21 views

Tweaking of Section style in amsbook class

I wanted to have less spacing before and after the section title in the amsbook class. Therefore, I changed the definition of the macro \@startsection as indicated in the documentation. Unfortunately, ...
1
vote
1answer
64 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.
2
votes
1answer
26 views

Glossaries header has more above space than other section headings

I'm using the glossaries package to manage the acronyms in my thesis. Everything works fine except that there is some extra space between the glossaries heading and other section headings. I ...
2
votes
1answer
29 views

\hrule underlining of subsection titles

I want an underlining of my subsection titles - a horizontal line that extends the whole page width like a \hrule. I tried the answer from this question which is to add these lines: ...
1
vote
1answer
17 views

Page-distance between labels

I'd like to instrument my sections with the length of the section (in pages, lines, ect). Section Title --> Section Title (12 pages) Instead of statically generating this information and adding it; ...
1
vote
2answers
98 views

Redefining \section command

I'm writing a draft of my notes with Latex. They are basically definitions related to a particular concept from different sources. Therefore I have used the command \section to highlight the concept ...
2
votes
2answers
60 views

“Invisible label” to add to tree

Is there a way to create a subsection, without caption but add a reference to it in the WinEdt Tree? I am talking about WinEdt 9.
0
votes
1answer
49 views

Redefining \chapter*, \section* and \subsection*

My problem is this one: I'm creating a LaTeX template for reports, my goal is to make a .tex file that is the simplest possible. I use a .cls file, where I'd like to redefine \chapter* (and so on), ...
2
votes
2answers
44 views

numbering error in the sections heading

The numbering in different sections is showing like 0.1, 0.2 instead of 1, 2 .... What should I do to correct this, my code is as : \documentclass[12 pt]{report} \usepackage[left= 12 mm,top=1 ...
1
vote
2answers
38 views

put part title instead of chapter's in headings

i would like to change my headings, instead of showing each time the current chapter title, i want to see the current Part title without "Part:" Here is the MWE: ...
2
votes
1answer
34 views

How to make \textsc look good in a section title in ACM documents?

Q: How can I suitably use \textsc in a section title in ACM documents? I'm wanting to use \textsc in a section title in an ACM document, but it looks poor. Here's a "Lorem ipsum" version: If I ...
1
vote
1answer
26 views

Lipics has no chapter numbers

I'm trying to modify the lipicsmaster document class in order to make the chapter number available: as you could see in lipics-sample-frontmatter.tex, the Preface chapter has no number. How could I ...
1
vote
1answer
15 views

Customizing chapter title code to act slightly differently for table of contents?

I'm using this code to customize my chapter titles: \chapterstyle{default} \renewcommand*{\chapterheadstart}{% \par \needspace{10\onelineskip} \vspace{\beforechapskip} ...
4
votes
0answers
56 views

\includestandalone cannot compile \section or \subsection commands

Main.tex \documentclass{scrartcl} \usepackage{standalone} \begin{document} \section{A} \includestandalone{Subfile} \end{document} Subfile.tex ...
1
vote
2answers
33 views

How to make running heads in book class show Part and Chapter, rather than Chapter and Section

I am preparing a book, which is to be divided into Parts, Chapters, and Sections. At the moment, my running headers give the Chapter title (on recto pages), and Section title (on verso). I would like ...
0
votes
2answers
34 views

Sectionmark escaping and numbering problem

I have a document, where I wanted to use \sectionmark to make the heading shorter, but keep the long section title in TOC. Unfortunately, doing that is wrong (the long title is output for header) if ...
3
votes
1answer
91 views

Adding a circle to a section title

I want a circle around a roman numeral inside a section title. A command \circled is made from: \documentclass[11pt,a4paper]{article} \usepackage{tikz} ... %Circle around characters ...
0
votes
0answers
11 views

Small caps with \textsc in subsections [duplicate]

The code \subsection{\textsc{Should be in small caps} $\cdot$ Normal tekst} \textsc{This text is in small caps} gives the output The \textsc command works fine in normal text but not in a ...
0
votes
0answers
27 views

Problem with images and different sections

I am having problems with images and sections. Here is an example. My fig 4 is from the section A, and i think that it doesn't fit in the section A because of the end of the page and LaTeX put it in ...
3
votes
2answers
51 views

New \settitles command

I'm new in LaTeX and i'm currently trying to modify a .sty in order to have my own presentation style (I often need to make new presentations). What I'm trying to do is to create a \settitles command ...
1
vote
1answer
20 views

RevTex4-1 figure reference wrong number? [duplicate]

I have included a graphic using \includegraphics into a \begin{figure} \end{figure} in revtex4-1. The figure appears in section II (i.e. 2) but the caption of the figure says Fig.1 (this is not a ...
1
vote
1answer
38 views

Make subsection text appear left aligned within the defined left margin?

How can I make subsection text appear left aligned within the defined left margin, with its "own" margin of 0.75in (instead of 3.0in)? I believe the package for the task is titlesec but I'm open to ...
0
votes
0answers
18 views

landscape table in horizontally oriented page

I'd like to insert a table in landscape form but I'd like page's orientation to remain horizontal. In the page, there would be only the section's title and the table. I've got them but in separate ...
2
votes
2answers
51 views

Writing additional \section commands

My company has a Word document with lots of styles based on the basic headings. I need to create LaTeX equivalents and am struggling with how to do so because I need to do more than just redefine ...
1
vote
1answer
32 views

Section title ruler on right side center-aligned

I want do exactly this: http://www.latex-community.org/forum/viewtopic.php?f=44&p=42626 But as a general command for all subsection titles. I have the feeling that I am going to use the ...
0
votes
0answers
12 views

Sections in Nomenclature using Lyx

I am finalizing my thesis using LyX and I want to make two sections in Nomenclature (One with abbreviations and another with symbols). There a tutorial in lyx wiki about sectioning Nomenclature, but ...
0
votes
2answers
23 views

Swap “Part” and corresponding number

I am trying to figure out how I can swap the word "Part" and the part's number in my document. The default style for \part{mypartname} is something like: Part I: mypartname However, I want it to be ...
0
votes
1answer
46 views

Subsection and section numbers

I have question because I can't find anywhere answer. Is it possible in latex to number sections like this: 14 First (here I now `\addtocounter{section}{21}`) But how can i do it with ...
3
votes
1answer
35 views

How to use `\texorpdfstring`. Characters disappear

I'm using hyperref, which causes trouble when having math in my section title. MWE: \documentclass{report} \usepackage{hyperref} \usepackage{fixltx2e} \begin{document} \section{Basis for ...
5
votes
2answers
95 views

Small symbol next to section headers

I am writing a school report which has to be evaluated by two different teachers. I need to mark which sections each teacher should read. I guess I can make a small symbol next to the header to mark ...
2
votes
3answers
43 views

Footnote of several paragraphs length to section title

I have a long footnote attached to a section title. It spans three paragraphs. Latex complains ! Paragraph ended before \M@sect was complete.. What's the best way of doing this, if one has to do it at ...
1
vote
0answers
33 views

Pausesubsections pauses even when there are none

I have started writing a beamer, and up until now everything was going fine (I only had 1 section with no subsection). Of course, I got to the point where I wanted to add another section, but with ...
4
votes
1answer
32 views

How can I get rid of the section that the bibliography environment creates?

I am working on a short presentation using beamer. As the presentation is fairly short (less than 15 slides), I decided not to set sections within the presentation. The problem I am having is that, ...
2
votes
1answer
52 views

How can I put the section or chapter number in the section or chapter title

I am using the university thesis template which has the chapter/section headings setup in a way that prevents using hyperref. The problem is they use \setcounter{secnumdepth}{0} so there is no ...
8
votes
1answer
105 views

How to create partial borders around section titles

I am needing to create subsection and subsubsection titles that have 2 out of 4 sides bordered. One of them is a solid border, the other a dotted border. Is this possible with LaTeX? I haven't ...
0
votes
0answers
11 views

Why is there an overfull \vbox with only \sub- \subsub- \sections? [duplicate]

I just got started using tex and created a file that only contains the (\sub- / \subsub-) \sections of my text. When I tried to turn it into a pdf file it didn't look right. The first page was blank ...
3
votes
1answer
73 views

Tikz Picture in chapter title and spacing to to chapter body

The following minimal working example \documentclass[a4paper,11pt]{book} \usepackage{lipsum} \usepackage{color} \usepackage{tikz} ...
1
vote
1answer
35 views

How to number References section using \bibliography{…} command?

I use the\bibliography{bibtexfile}{} command to generate my bibliography, but this creates a References section with the numbering suppressed. How do I make the number for the section appear?
0
votes
1answer
82 views

Spacing between section, subsection, subsub… etc

I'm in the process of writing my bachelor thesis. The problem is: standards. Question: How to make the spacing between text and titles (chapters, sections, subsections etc.) but still hold the ...