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

7
votes
2answers
216 views

Customizing chapter's title

How to make this in LaTex? I'm already making the chapter title using this: \def\@makechapterhead#1{% \vspace*{10\p@}% {\parindent \z@ {\reset@font \usefont{OT1}{phv}{m}{n} \LARGE Chapitre ...
1
vote
0answers
60 views

Representation of subsubsection numbers simpler

I have \documentclass{article} \usepackage[framemethod=tikz]{mdframed} %%%%%%%%%%%%%%%%%%%%%%%% Counter Section %%%%%%%%%%%%%%%%%%%%%% \makeatletter \def\@part[#1]#2{% \ifnum \c@secnumdepth ...
6
votes
1answer
138 views

Have the chapter title stick out of the type area

I'm trying to place my chapter titles to the edge of the page, with a colored background box surrounding them. The surrounding boxes would need to be set outside of the body of the document. So far I ...
2
votes
1answer
41 views

To develop part command in sectioning

I want to change Conzalo's command little (How to reset a section counter) by removing the representation of Part [number] in the document: \usepackage{xpatch} \makeatletter ...
2
votes
2answers
134 views

Parts with titlesec parts: \thepart wrong on last page of part

When using the titlesec package to customize part headers, the counter \thepart is somehow incremented before its value is used in, for example, running headers: \documentclass[oneside]{book} ...
6
votes
3answers
117 views

Protecting references in section headings from capitalization

I am using the ACM SIG alternate style, which automatically converts all section titles to upper case. I would like to include a reference in one of the section titles (Proof of Lemma X). The obvious ...
3
votes
1answer
86 views

Prepend different stuffs to starred and unstarred \chapter commands

For the unnumbered sections units of documents built with a personal class (which inherits from the book class), I'd like to use: not the starred form of the corresponding commands, instead the ...
3
votes
1answer
54 views

Clarification on old Comment

This post has a very nice answer from Martin Scharrer Fancy Chapter Headings The OP responds saying that he added a ~ after chapter and number for a nicer layout. What does he mean?
5
votes
0answers
96 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 ...
4
votes
1answer
680 views

Formatting chapter headings using the titlesec package

I'm trying to do a very simple task but I'm a beginner in LaTeX, so I have some doubts. I'd like to change the chapter style. Instead of Chapter 1 Introduction I'd like to have C H A P T E R 1 ...
0
votes
0answers
42 views

Kile structure view

I'm discovering Kile. The structure view is useful, but it would be very nice to have numbered sections in this view, in order to be able to jump quickly to section 54 for instance. Do you know if it ...
2
votes
1answer
68 views

Section Commands Inside Enumerate Environment

Good Morning, I would like to have subsection commands both before and inside an enumerate environment: \subsection*{Instantaneous Velocity} \begin{enumerate} \item[\textsf{\textbf{Example 1}}] ...
5
votes
2answers
298 views

How to force LaTeX to keep section/subsection headings with one line below it on the bottom of the current page?

By default, LaTeX allows a page break after the first two lines of paragraphs following section/subsection headings, but I would like to keep the section heading with even one line below it at the ...
6
votes
1answer
97 views

Changing the numeration of sections

believe it or not, I need to change the way the command \section enumerates the sections: I'd like my second section to be section number 4. (I don't want any section number 2 or three in my article). ...
4
votes
1answer
124 views

Overfull hbox in a custom section title

I use custom section headings, which for long titles occasionally create an overfull \hbox. Explicit hyphenation does not help. Per this answer I insert \\ to break the section title, but then the ...
3
votes
1answer
97 views

\subsubsubsection count not reset when starting a new section, subsection, etc

I am trying to use subsubsubsection on my report, and I using a code that was given on this website. On below my MWE : \documentclass[a4paper,11pt,french]{report} \usepackage[francais]{babel} ...
2
votes
1answer
27 views

How to make subsections not appear in the text? [duplicate]

I have the following preamble and I want the subsection not to be visible in the text. Instead of Chapter 1 "Blah Blah" I only want "Blah Blah to be visible. With this code I did it bu the ...
2
votes
1answer
35 views

How to number in a custom way

I am writing a latex file (format : book) and would like the subsections in the first chapter/section to be labeled as S.1, S.2 , S.3 etc. I tried to find how to do this on the net but could not. ...
5
votes
1answer
90 views

Macro for promoting sections to chapters

I have a document where I would like to "promote" all sections to chapters, all subsections to sections, etc. That should affect not only the table of contents, but the documents as a whole. For ...
4
votes
2answers
62 views

Working in Landscape Orientation to make a To-Do List

I'm essentially trying to re-create the following (Which may have been created in Microsoft Word) with LaTeX. I have figured out how to get into landscape orientation but it goes down onto a new page ...
1
vote
0answers
34 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 ...
4
votes
2answers
190 views

Chapter title format back to default

I messed with various chapter title formats and now that I want to go back to default i.e Chapter 1 Title I only get 1.Title which misses "Chapter 1" appearing before the chapter title. I ...
4
votes
1answer
70 views

Koma script: Restore default chapter style

I want to have for just one chapter a special chapter heading format. So I use the command \setkomafont{chapter}{\centering\large\rmfamily} and then I want to revert back to the default chapter ...
13
votes
3answers
196 views

How to define a new command based on \section with its optional argument?

I've defined a new command called \mysec like the below: ‎‎‎‎‎‎ \documentclass{article} \newcommand{\mysec}[1]{\section{#1}} \begin{document} \mysec[Foo foo]{Bla bla bla} \end{document} But in the ...
5
votes
2answers
468 views

Customizing chapter style with tikz

How can I customize chapter style like below picture? Thank you in advance.
3
votes
1answer
72 views

Check if a number is in a comma separated list (print or display selected sections from a specific list)

I'm trying to check if a section number belongs to a specified list: \ifnum\value{section}=\mylist % check if section number in mylist --- WRONG \dosomething \fi The conditional is ...
2
votes
2answers
66 views

ToC-title formatting problem

I am relatively new to Latex and I came across a problem I am not able to fix myself. From a friend I got a number of commands for formatting my chapter titles, which works quite well, unfortunately ...
4
votes
1answer
64 views

Changing the font size of all the sections or sub sections

\documentclass[10pt]{article} \usepackage{lmodern} \usepackage{lipsum} \begin{document} \section{Hello World} {\fontsize{20}{24}\selectfont \lipsum[4] } \lipsum[1] \end{document} Here I can modify ...
4
votes
1answer
129 views

fancyheaders definition ornament

I would like to add some part of code related with ornaments in chapter name to my fancy header definision file. % Datei fancyheaders.tex \usepackage{fancyhdr} % Paket laden \pagestyle{fancy} % ...
3
votes
1answer
635 views

KOMA-script scrreprt: Chapter Heading Size Customisation

This is a continued question from my previous thread I am setting up LaTeX to write my thesis using scrreprt. I have implemented with success all the advised and suggested solutions and have tried to ...
2
votes
1answer
52 views

Can I modify the font shape on-the-fly in my chapter headings if I have used sectsty to format?

I am having problems formatting the text in my chapter headings. I used sectsty to modify all my headings to \sffamily, but I have some parts of the heading that should be in italics and I can't work ...
4
votes
1answer
153 views

Modifying the section style

\documentclass[12pt]{book} \usepackage{tikz} \usepackage{lipsum} \usepackage[explicit]{titlesec} \usetikzlibrary{shapes.misc,arrows} \newcommand\titlebar{% \tikz[baseline,trim left=0.5cm,trim ...
4
votes
1answer
242 views

Moderncv: Extra vertical space after cvitem

Extra vertical space is produced after \cvitem and before the next \section. Is there a better way to fix this than to use \vspace*{-6mm}? The problem is shown below, between the "Skills" and ...
0
votes
0answers
59 views

Using different fonts in a latex document [duplicate]

The present state is: I get two ttf fonts, say font1.ttf and font2.ttf. I used autoinst tool to convert the both into latex usable fonts. In my document preamble, now I'm able to use: ...
10
votes
1answer
376 views

customizing part style with Tikz

How can I customize part style like below picture?
6
votes
2answers
210 views

Change the nomenclature from Chapter to Section

How can I change Nomenclature from a chapter to section in a report I am using \section*{Nomenclature} \addcontentsline{toc}{section}{Nomenclature} \renewcommand{\nomname}{} \printnomenclature ...
5
votes
2answers
604 views

KOMA-Script scrreprt: How to change chapter appearance and produce a chapter based Mini TOC

This post is a 3 part question with which I would need help. The questions are all associated with chapter styling and subsections within the \documentclass{scrreprt}. I am sure I could work them out ...
0
votes
1answer
49 views

Section titles in caps give problems with math mode in it

I use the style file mn2e that makes section titles appear in boldface and in all caps. Which is fine, but not for the formula within such a title. Example: \section{The derivative $dI/dR$} gives ...
4
votes
2answers
142 views

How to refer to figures, tables, equations and sections [closed]

What is the correct way to refer to figures, tables, equations and sections? For example, should I write In Figure 1.1 we notice that.... or In fig. 1.1 we notice that.... or In figure 1.1 we notice ...
4
votes
1answer
41 views

Removing section separation line just if on top of page

I have horizontal lines separating my subsections and I would like to remove them only if they are on top of the page. Anybody can help me? Thanks! Here is the code snippet of the header of the ...
2
votes
1answer
101 views

Why won't I see the table of contents?

I tried to write table of contents to my book but encountered a problem, as it prints "Sisältö" but there is no table of contents. What is the mistake I made? ...
3
votes
2answers
82 views

package quotchap vertical space before \chapter*

I use the package quotchap it is very nice. But for the star chapters, if I use quotation, there is no space between quotation and the title of the chapter. I tried, but witout any success, to add ...
4
votes
1answer
77 views

How to merge / overlay two pages?

This should in principle be an easy question, but I could not figure out how to do it, so I hope to find help here. A disclaimer up front: I know that this is not a recommended thing to do, and pretty ...
2
votes
1answer
57 views

Properly render unnumbered sections

I have added an \ast before every numbered section by adding \titleformat{\section}{\Large\scshape\bf}{$\ast$}{.5em}{\thesection ~}. However, it produces improper rendering for unnumbered sections. ...
7
votes
2answers
330 views

How to add an image before section title

I want to modify the section command to make it look like this: I wrote a tikz code for the decorated section number but I still don't know how to integrate my code in the \section command: ...
2
votes
0answers
55 views

subsubsubparagraph [duplicate]

In a LaTeX article we have \section, \subsection, \subsubsection, \paragraph, \subparagraph. What do I do if I want to go deeper and want to use \subsubparagraph or \subsubsubparagraphand avoid the ...
3
votes
1answer
89 views

Modifying the header in fancyhdr - review

I don't want to ask questions in my edits or comments so I am posting my question freshly. The solution that was given for the problem Modifying the header in fancyhdr. I want the chapter name to ...
2
votes
1answer
66 views

Chapter Name not appearing

I wanted to style the chapter name. I referred the following link : how-to-create-specific-chapter-style-in-book-documentclass Here is my code: %Template for Technical Document \documentclass{book} ...
5
votes
2answers
124 views

Remove “chapter 1” and have just 1 in the report

In the beginning of a new chapter, Latex have Chapter 1 XXXXXXXXXX instead of this format i want to have 1 XXXXXXXXXX can you pls suggest how to customize the chapter? Thanks in advance
1
vote
1answer
75 views

how do I quote a numbered list

I want to make a document which replies to a list of points made in an article as follows: " Topic point 1 text point 2 text Topic point 3 text" I tried to achieve this by writing: ...