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

3
votes
1answer
66 views

Bibliography behave like section in the TOC

Is it possible to include the references/bibliographies in the TOC with an appropriate section number? Currently my MWE below results in the following image: My MWE: \documentclass{report} ...
0
votes
0answers
22 views

Change part and section style in latex toc [duplicate]

On the TOC, Latex produces part and subsection without dots between the title and the page number. Latex does it, for instance, for subsection. Usually the default setting is nice for me but in this ...
4
votes
2answers
116 views

Making custom layouts in LaTeX

I want to create a layout like this sketch i made: But I can't seem to crack this one. I am pretty new to LaTeX, and have done a lot of searching without any luck. The idea is that like a chapter ...
7
votes
2answers
102 views

Remove text formatting from chapter title

I'm having a problem with the chapter headings formatting. I would like to change only the first letter of each chapter, but for the lists of figures and tables chapters it's not working. Here is ...
4
votes
2answers
59 views

Section headings overflow gutter

How can I prevent the title from overflowing the gutter? It seems to only overflow by the amount of space introduced by the numbered part of the title. We are using this style: ...
1
vote
1answer
65 views

How do I compile tex chapters? [duplicate]

I want to compile and view just the chapter I'm working on. How do I do this? It seems way harder to do than it should be. Clarification: I'm not trying to print the main document with only a subset ...
2
votes
2answers
61 views

Indent every \subsubsection element

I need to indent every \subsubsection element in my thesis. I think that the solution is something like this \renewcommand{\subsubsection}{some-magic-here} but i'm new of Latex and I have no idea ...
3
votes
1answer
70 views

Spacing after section title with res.cls

It is possible to change spacing after a section title with following \usepackage[compact]{titlesec} \titlespacing{\section}{0pt}{1em}{2em} However, when I am using res.cls by \documentclass{res} ...
0
votes
0answers
33 views

LaTex..I'm trying to make a PDF document, using the book class, divided like this:

I'm trying to make a PDF document, using the book class, divided like this: Part: 1 section 1 section 2 Etc. Part: 2 section 1 section 2 Etc. How do I do this without the break in page numbers?
2
votes
1answer
57 views

Alignment of the subsection changed after styling

I applied some styling to my page.But my alignment of the sub section headers changed.Here is the code: \documentclass[12pt,oneside]{book} \usepackage{graphicx} \usepackage[explicit]{titlesec} ...
6
votes
1answer
176 views

Shaded box with section number

The code below is not working. This is because, I have savenotes in my TeX file, it works when I remove savenotes. Is there a way that I can get the code working without removing savenotes? Here is ...
6
votes
2answers
122 views

Remove the chapter numbers but display the titles in the table of contents in the book

I want to remove the title "Chapter 1" , "Chapter 2" , etc. in the book class and keep only the chapter name as the title and also update this in the table of contents.But when I give chapter* it does ...
11
votes
3answers
178 views

Insert newpage before section but prevent pagebreak after part

Maybe some of you can already guess what I'm trying to achieve; I want to redefine some commands with the following result: every \section should start on a new page except for sections which are ...
1
vote
0answers
20 views

Frame titles for PDF chapters in Beamer [duplicate]

Pardon me if this question has been duplicated elsewhere, I'm still coming to terms with tex terminology. I am generating a presentation in Beamer. I like the use of PDF chapters to navigate between ...
0
votes
1answer
47 views

Footnote in sub-section title

Trying to put a footnote in subsection title: \subsection{Effect of Lateral Confinement on SW Band Structure\footnote{Parts of this sub--section are based on \citet{Venkat2013}}} produces the ...
4
votes
1answer
71 views

Different font for all headings

I am new to LaTeX and I am trying to use an Arial-like font for all the standard text but a different Sans-Serif font for all the headings. Can somebody please put me in the right direction or an ...
7
votes
2answers
57 views

Reference-able custom section numbering

I am writing some lecture notes from a class that I have on Monday, Wednesday, and Friday. What I would like to do is organize them by sections defined by the week and the day, e.g. 1M, 1W, 1F, 2M, ...
4
votes
1answer
116 views

How to remove the section number from References?

I am using the following for the bibliography part: \bibliographystyle{APA} \bibliography{Bibliography/mybib} and I am getting a section number for the reference part. How can I remove it (I just ...
2
votes
1answer
97 views

How to change format of Appendix page name?

This is a followup question to How to add cover pages to appendices? . This screenshot shows the school requirements. This minimal example comes from Ruben's solution to the previous problem: ...
7
votes
1answer
141 views

How to add a line to the Table of Contents without a page number

In my LaTeX document, I want to add some extra lines in the Table of Contents to show the general topic of the next section of chapters. The syntax I'm using right now, outlined in a quick example: ...
6
votes
1answer
46 views

Using \pgfkeys in \section

I am using \pgfkeys to help organize custom symbols. However, I ran into a problem when trying to execute a key inside \section command. \documentclass{article} \usepackage{tikz} ...
9
votes
1answer
83 views

How to create a section heading sensitive macro or environment?

I have a \comments macro that inserts three centered asterisks (* * *) and changes font size and color. A corresponding \nocomments macro adds another break with centered asterisks and restores ...
11
votes
2answers
94 views

how to disable/enable etoolbox global command effect at different locations in a document?

I am not able to figure how to do this, and I did look at the etoolbox documentation The problem is simple to explain: I use etoolbox to append a \clearpage before any \section in a large document ...
2
votes
1answer
49 views

Unitled section in Lyx

I am writing a Lyx document with untitled sections. As Lyx does not permit to create untitled sections, I use to insert the latex code \section, but it would be very much convenient to have "Lyx ...
8
votes
2answers
108 views

Make \section unaffected by \parfillskip

To avoid widow words at the last line of a paragraph, I adjust parfillskip: \parfillskip 0pt plus 0.75\textwidth While this gives nicer paragraphs, it also stretches section titles a little, as you ...
5
votes
1answer
92 views

Memoir: skip section numbers, make subsection numbers continuous within chapter

Can the memoir class create a reference book whose table of contents would look like this: Chapter 1. Animals Mammals Cows ................... 1.000 Bulls .................. ...
4
votes
0answers
50 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 ...
2
votes
1answer
63 views

Can the standalone package work with sections?

While I was reading a thread on LaTeX workflows, I came across a comment in http://tex.stackexchange.com/a/22433/32782 which seemed to indicate that there are more than one person who can/could use ...
5
votes
1answer
77 views

Unbreakable section

I would like to know if there is any global command that would prevent any page-breaks inside sections. All my sections are short enough. I read some solutions, such as Absolutely, definitely, ...
6
votes
1answer
68 views

Getting the page breaks right for a \beginsection macro

I've found this code in the question No indent in the first paragraph in a section in Plain TeX \def\mysection#1{% \goodbreak \vskip2\baselineskip \noindent #1\par \nobreak ...
6
votes
1answer
107 views

how to make ragged bottoms of columns in multicols when preventing page breaks?

The setup: I need to use multicols for say 3 columns where I have many small sections. I noticed that some sections are broken in the middle and end up wrapping to the next column, which I do not ...
5
votes
1answer
82 views

changing formatting for section headers

I would like my document to have section headings that look like this: How can I achieve this in LaTeX?
9
votes
2answers
537 views

Customizing Chapter style in scrbook

I want to obtain styles like those showed in the next two images (I do not need the picture in the background (parabolas)): My original LaTeX code (to be customized but should keep font as they ...
3
votes
2answers
93 views

Proper way to section a text

In WYSIWYG editors you press the return key to start a new section. In HTML terms a section of a text would be between <p><\p>. So what is the proper way to do the same in TEX? I know ...
7
votes
2answers
82 views

Cross-reference to the next section, whatever it is

Some sections of my document start with a remark such as the following: "This section may be omitted at the first reading." I'd like to add to this text a (hypertext) reference to the next section ...
3
votes
1answer
76 views

Newcommand + Stepcounter

I'm trying to come up with a command which should increase a counter and return a string including the current value of the counter. Have a look at the following minimal example: ...
2
votes
0answers
80 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 ...
3
votes
1answer
91 views

Table numbering and listing in table of appendices instead of TOC

I am using a list of appendices based on this thread: Appendix in scrreprt - Separate table of appendices but mentioned in original TOC This works perfectly fine. But I realized I don't intend to ...
1
vote
0answers
29 views

Separate sectioning titles for main text, headings, and toc for line breaking purposes

I am using the titlesec package with the toctitles option, which modifies the optional argument of sectioning commands so that this optional argument is used only in headings; the non-optional ...
4
votes
1answer
53 views

Sec/subsec in the margins

It is possible to put sec/subsec numbers in the margins (enlarged), on the left for even pages and on the rigth for odd pages? The corresponding titles must be left aligned on even page and rigth ...
2
votes
0answers
72 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 ...
7
votes
1answer
107 views

Use different chapter title in TOC, in the first chapter page, and in header

Say I have two titles t1 and t2 for a chapter. I want to show t1 in TOC, and t2 in the first chapter page as well as the in the header. I use \chapter[t1]{t2} which works for TOC and the first ...
1
vote
1answer
49 views

how to display title in TOC and in actual content page slightly differently

I have some characters that I want to show up in TOC but not in actual content page. Is there any commands to wrap around these characters when defining chapter title so that they will be excluded in ...
3
votes
1answer
83 views

How can I reduce the size of listoffigures and listoftables titles?

I had the section titles the way I wanted at one time, but then had to add some code for various reasons. At this time, all the chapter and section titles in my document are the correct size, with the ...
4
votes
1answer
51 views

Troubles with suftesi and itemize

A while ago I was experimenting with suftesi and chapters of my thesis, adapting the preamble that had been created using the standard class book and it works. I want to try the layout of sufitesi, ...
6
votes
1answer
100 views

How to make invisible section header noticeable in the TOC?

I used a nice solution from http://tex.stackexchange.com/a/68296/7435 to insert invisible section headers. However, my sections contain floats alone and invisible sectioning doesn't work properly. ...
3
votes
1answer
137 views

How can I customise the table of contents?

I am new to LaTeX, please I need you help. I am writing my thesis and I face problem with table of content, I want to remove the space between the first part of my table of content which is AUTHOR'S ...
2
votes
0answers
60 views

Incrementing counters with subsubsection instead of subsection [closed]

I have previously tried to make a document with questions and answers. In a previous question I was shown a great way to do this, using the answer package in combination with hyperref. Adding ...
5
votes
0answers
95 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
2answers
127 views

How can I enumerate references?

I tried to write a paper for practicing, but I encountered some problems. Namely, Why don't I see references on the table of contents and why the references chapter has number two instead of three and ...