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

4
votes
0answers
66 views

Include a paper in a dissertation

I'm start writing my dissertation and I want to include two papers that I wrote in the appendix. I want them to appear in the original format that they were written (amsart). I'm using a template ...
2
votes
1answer
36 views

How do I add section/subsection numbers to pdf bookmarks?

I'm writing up solutions to some exercises, and having problems with the bookmarks produced in the resulting pdf file. In the document I'm using \section (slightly modified) and \exercise (based on ...
0
votes
1answer
25 views

Roman numbers on annexes

I'd like to have roman numbered annexes like this: 1 First Section 2 Second Section 3 Final Section Bibliography Annexes I First Annex II Second Annex III Third Annex IV Fourth Annex I'm ...
1
vote
1answer
44 views

Chapter heading at the right-hand side

I want a specific chapter heading as in the picture below (Chapter heading at the right-hand side, but section heading at the left-hand side) Can you help me?
0
votes
1answer
17 views

Support sections on the bookmark in landscape mode

I'm writing a book and I want to put a unnumbered chapter (chapter*), where I will discuss the results and then put the results in tables. These results are divided into three options, so I want to ...
10
votes
1answer
58 views

How can I detect if an environment is right after a sectioning command?

I'd like to build an environment that would detect if it is right after a sectioning command (\section, \subsection or \subsubsection) and smart enough to detect if a float-type environment (say ...
3
votes
0answers
65 views

How to have headers, section headings, and figures expand into the margin?

I am interested in the following page layout. How to have headers in margins (up to margin) Is it possible to start section headings from margin How to set figures occupy the margins. I can ...
2
votes
1answer
32 views

How to suppress Table of Contents section numbers?

I am using the following to suppress the numbering of \sections: \makeatletter \renewcommand\@seccntformat[1]{} \makeatother But in my \tableofcontents, the section numbers still appear. Is there a ...
2
votes
2answers
24 views

How can I remove “thebibliography” from the Table of Contents (TOC)?

I want to use a manual Bibliography but I need it as a subsection. In order to do this I did: \documentclass[12pt]{article} \begin{document} \section{My Section} \subsection{References} ...
1
vote
1answer
46 views

Display appendix chapter like: “Appendix”, and sections like “Appendix A: My appendix title”

I wish to make my appendix chapter like: "Appendix", and sections like "Appendix A: My appendix title" "Appendix B: My second title" by writing: \chapter{Appendix} \section{My appendix title} ...
8
votes
2answers
90 views

What does \secdef do?

The definition of the chapter command in KOMA-class scrbook is: \newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi \thispagestyle{\chapterpagestyle}% \global\@topnum\z@ ...
3
votes
2answers
55 views

Don't want sections to have titles/headers [duplicate]

If you use a default section in an article like this: \section{something} Lorem ipsum dolor sit amet you get the "1 something" in the toc. And your page looks like this: 1 something Lorem ...
3
votes
1answer
32 views

titleformat has no effect!

I have tried to specify the color for my section as shown here, but it has no effect. What am I doing wrong? MWE: \documentclass[10pt,letterpaper]{article} \usepackage{lipsum} \usepackage{multirow} ...
4
votes
1answer
52 views

Same vertical spacing for chapter and chapter*

I use \chapter*{} in the \frontmatter and \chapter{} in the \mainmatter. I use titlesec and the styling of the chapter headings is this: \documentclass[10pt,a4paper,openany,oneside]{book} ... ...
2
votes
1answer
48 views

Getting chapter and section in \fancyhead

I am having a bit of a heard time getting \fancyhead to give me the out put I want. I'd like to have a header that includes Chapter X: THIS IS THE SECTION (italicized like the default). I can get it ...
0
votes
0answers
47 views

Is it possible to remove chapter number from align environment? [duplicate]

Basically I have written a proof using the align environment in a new .tex file and the numbers in the proof came like this (how I want them): Line1 (1) Line2 (2) Line3 (3) Now I've ...
0
votes
1answer
29 views

How can I center align subsection heading in an AMSBOOK document

In an amsbook based document A subsection heading seems to be left aligned with some indentation in the beginning. Chapter and section headings are center aligned. How can I make subsections also ...
3
votes
2answers
52 views

Section command with default spaces between title and rule

Ho can I make a section command that have the same spaces between the \titlerule and the title of the original \section command? The overall look must be equal to the original \section command. So, Is ...
2
votes
1answer
39 views

Error using \( … \) environment inside \section argument [duplicate]

This seems to me like a possibly common problem, the solution of which is probably already been posted somewhere, unfortunately I'm not quite sure what key words i should use to find it. Anyway, to ...
2
votes
1answer
47 views

Ajdust width for the number of section [duplicate]

I have a problem with table of contents. I have changed the numbers of sections, that instead of numbers I have words, lets say "Dodatok A". But now, when the "number" of section is longer, the title ...
1
vote
1answer
50 views

Just a part of TOC must be shown, beamer

Before I start talking about a new section, I would like to show de TOC whereby the part (section) that I will talk about is shown? So I would like that the rest is only vague opposite the section I ...
4
votes
1answer
31 views

Is there any way to put the section numbers after titles like “axiom”, “theorem”, etc?

The normal LaTeX input and output would be something like \subsection{Theorem (Fundamental Theorem of Calculus)} 1.1 Theorem (Fundamental Theorem of Calculus) Is there any way to use a ...
7
votes
1answer
84 views

How can one put a marker to every page in a chapter?

I am trying to create some sort of tabbing for a template am designing. I want the title page to have the colors of the chapters and then all of the pages within a chapter to have a marking as shown ...
3
votes
1answer
39 views

appendix package: making appendix subsections

The problem with the code below is, it treats the Safety section as its own independent section. So in the table of contents, I've got 'Appendices' and 'Safety' as separate sections. I want Safety to ...
3
votes
1answer
55 views

Appendices inside a section?

How can create appendices "numbered" A, B, C within three different sections of a Lyx article document. In other words, I would like Appendix A to be at the the end of my first section, Appendix B to ...
2
votes
0answers
23 views

Prevent new sections to start on the lower part of page [duplicate]

Is it possible to redefine the section-command so that it automatically starts on a new page if say less than a quarter of the current page remains? Below is a minimal working example. In this case ...
2
votes
1answer
36 views

Adding Subsubsection & Subsubsection* to the TOC with lyx?

I'm using, lyx 2.0.2, how can I add the Subsubsection in a document with a report class to the TOC, I tried the solution provided in this Question but didn't work for me, it generated no errors but no ...
0
votes
1answer
39 views

Title fontsize affects the fontsize of the content

I change some of my titles fontsize, for instance, the first chapter and first appendix \documentclass[11pt,a4paper,oneside,titlepage]{report} ...
1
vote
1answer
83 views

Using AtBeginSection and againframe to make custom section transitions

I am trying to make a custom slide to use as an inter-sectional slide in order to replace the more typical code: \AtBeginSection{ \begin{frame}[c,plain,noframenumbering] ...
0
votes
0answers
12 views

How to get rid of italic in the table of contents? [duplicate]

I formatted the titles of section and subsections in italic, and it appears italic in the Table of Contents, I want no influence on the Table of Contents. For example \subsection{\textit{The RGE for ...
2
votes
0answers
49 views

Numbering figures and tables in part

Here is the deal: I'm writing my thesis and I divided the thesis into 3 parts, each part had 2 chapters. At the beginning of each part, I added two pages of introduction. However, the numbering of ...
3
votes
1answer
94 views

Create a banner for section style

I am wondering if there is any way to change the default style for sections. I would like to create a banner (across the page) with a dark-gray background and the section title in white. It would be ...
1
vote
1answer
42 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 ...
6
votes
1answer
95 views

Dividing chapters into ch. 1, ch. 2a, ch. 2b, ch. 3 etc

I'm typesetting a book and one of the chapters separates into two chapters so I need it to count like so: chapter 1 --------- chapter 2a ---------- chapter 2b ---------- chapter 3 --------- ...
6
votes
1answer
76 views

How do I make the title 'Figure' appear on the same page as my first figure

This is my code: \documentclass[twoside, a4paper, 11pt]{article} \title{} \author{} \usepackage{amsfonts} \usepackage{amsthm} \usepackage{mathtools} ...
5
votes
1answer
65 views

Decrease space before and after chapter in fncychap

I would like to decrease the space before and after the chapter name due to space constraints. I am using the fncychap. Here is the MWE: \documentclass{report} \usepackage[Glenn]{fncychap} ...
4
votes
1answer
67 views

Chapter name overrunning page

I am editing a collection of documents, a few of which the author has given such long titles that, when they are formatted as chapters, the heading overruns the page. The following code should ...
5
votes
0answers
85 views

titlesec titlemarks not working with pdfcolparallel

As you can see from the screenshot the numbers showing the verse locations in the titlemarks only show the very last values which were set. If you comment out the line \usepackage{pdfcolparallel} and ...
0
votes
1answer
50 views

Setting section counter

I am writing a lab report and there are four "questions" corresponding to lab instructions 6.1 through to 6.4. How can I set the section counter to start at 6.1 and then continue in 0.1 increments? I ...
0
votes
2answers
46 views

How to change the fontsize in the heading of the glossary

I set up a glossary using the following code: \documentclass[12pt]{report} \usepackage[nonumberlist]{glossaries} \usepackage[printonlyused]{acronym} \makeglossaries \newacronym{cmp}{CMP}{Common Mid ...
4
votes
2answers
67 views

Separate styles for section headers in table of contents and body

I'm looking to have different 'styles' (not sure if this is the right word) for my section headers depending on whether they're listed in the TOC or the body. That's probably not clear, so let me ...
2
votes
2answers
55 views

Adding a caption or title to a listing in an mdframed environment

I have several pieces of Matlab script I have put into boxes using the below method. I want to be able to call them listings 1 2 3 4 etc. Preferably a command that will do it automatically for me. New ...
2
votes
1answer
50 views

\markboth is not working when using \chapter and \section

I am having a problem when adding \chapter and \section in the document. \markboth is not working when I compile it. I have got a link Why is \markboth not working?. But there is no solution about my ...
3
votes
0answers
67 views

How make a picture slideshow

I would like to use beamer class as backbone for my presentation. However, I encountered a problem. My wish is to put pictures on it and for LaTeX to decide their placement and divide them on frames ...
2
votes
2answers
87 views

LyX: remove header in specific page

My thesis is sectioned in Parts -> Sections -> Subsections. Currently I am printing the part name on the header of each page. However, I would like to remove the header completely on the first page ...
0
votes
0answers
20 views

How to have solid block emphasising a section [duplicate]

I would like to recreate something similar to the below in Latex. I know how to configure margins, page size, header formatting and spacing etc. but I am not sure how to go about making the solid left ...
4
votes
1answer
50 views

Bad cross-reference using titlesec

When I define two new level using titlesec, the reference doesn't work correctly. This is an example: \documentclass{article} \usepackage{titlesec} % First level ...
4
votes
1answer
48 views

Write lowercase in Section (IEEEtran class)

I want to write lower case in a section, I've tried using \MakeLowercase but its not working. Here is what I tried: \section{Experiment I: T\MakeLowercase{he effect of changing the distance}} I'm ...
1
vote
1answer
40 views

need to change the way title chapters are displayed in 'report' document class

I'm using the report document class and the chapter titles are very large, in bold font, and left justified. I need them to be 18pt, not bold, and centered. I also need the words 'chapter 1' to be ...
7
votes
1answer
73 views

Numbering of subsections and paragraphs

I have a document style for a report which I'm having to copy to LaTeX format. I'm using pdfLaTeX, for information. In essence, the system is that paragraphs are on the same level as subsections, ...

1 2 3 4 5 26