Questions tagged [section-titles]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
38 views

bold math in section yields wrong navigation text

I have the problem, that I want a math-symbol with text in the section name. The problem is, that \boldsymbol yields something really weird in the navigation bar on the left (namely something like ...
user avatar
  • 101
1 vote
1 answer
37 views

Section number in the outside of the page

Following my question about the customisation of the section heading, I would like to have the box with the section number always in the outside of the page ( I am using the twoside option). That is, ...
user avatar
3 votes
2 answers
53 views

Customise section with koma script

I wonder if you could offer some help. I want to customise the section titles in a scrbook class document. Something similar to this: Section number in a box followed by a centred line Section name ...
user avatar
1 vote
1 answer
27 views

\pdfstringdefDisableCommands with starred and non starred commands

The following MCE: \documentclass{article} \usepackage{hyperref} \ExplSyntaxOn \NewDocumentCommand { \foo } { s m } { \IfBooleanTF {#1}{ Foo~ #2 }{ #2 } } \pdfstringdefDisableCommands{ ...
user avatar
2 votes
1 answer
54 views

How to use \textsc{} in Section or Subsection?

I am trying to add \textsc{text} in my subsection title i tried \subsection{\textsc{Born-Oppenheimer} approximation} but no changement appeared, the text Born-Oppenheimer is not affected by the ...
user avatar
1 vote
2 answers
33 views

Increase spacing in table of contents only for specific portion

I have a text with some chapters, then all the indices and afterwards the appendices. When I just print the table of contents in the beginning, the heading of the appendix is too long and it overlaps ...
user avatar
0 votes
1 answer
17 views

Make index refer to \poemtitle (verse package) instead of page number

I try to make an “index of rhymes” in a poem collection. So, I began to set an index called “Index of rhymes”: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{imakeidx} \usepackage{verse} ...
user avatar
  • 2,080
0 votes
0 answers
31 views

Endnotes: issues with section title [duplicate]

Using the package endnotes I sent the footnotes in a certain article to the penultimate section of it. The thing is that the command \theendnotes makes the section title appear as Notes even though I ...
user avatar
  • 109
1 vote
0 answers
39 views

How do I add a frame title specifying the section and subsection names whenever a new subsection come up?

I'm very new to StackExchange, let alone LaTeX. The issue here is temporarily adding a frame title to whichever frame comes right after a new subsection is defined. Following is a sample code with an ...
user avatar
1 vote
2 answers
34 views

Poetry package changes vertical space around section headings in strange ways

Using the poetry package, I'm having trouble getting a consistent space around my section titles. All my poems start with a title, given as a \section. Sometimes two poems are set on the same page. ...
user avatar
  • 75
0 votes
3 answers
30 views

How to change the suffix of a section

What I want: What I have: I know it doesn't look nice but I need it like this. I'm using titlesec and \subsection{A section} to write this. Thanks!
user avatar
  • 15
0 votes
1 answer
41 views

Multiline in section title

I am using this template: http://www.fluortools.com/misc/LaTeXtemplate and I have this defined in formatAndDefs.tex file \usepackage{tikz} \usetikzlibrary{calc,decorations,decorations.pathmorphing,...
user avatar
  • 143
1 vote
2 answers
36 views

How to remove the empty space of a non-prefix titlesec

How can I remove the space in the first "Conflicto"?: I want the first "Conflicto" to have the same indent or horizontal space as the second. In the first, I'm using \subsection{...
user avatar
  • 15
0 votes
1 answer
34 views

How to align section titles without numbers left to section titles with numbers in TOC with a global way?

Firt a MWE is as follows. \documentclass{book} \usepackage{tocloft} \begin{document} \tableofcontents \chapter{Chapter title} \section{Section title with numbers} \phantomsection \section*{Section ...
user avatar
  • 2,747
5 votes
2 answers
166 views

Subtitles for subsections in scrbook

Is there a way to insert a subtitle right underneath a subsection heading in the scrbook class? I found this question/solution - , basically exactly what I try to achieve, but I coulnd't make it work ...
user avatar
  • 87
0 votes
1 answer
33 views

Sets a dot after numbering in the table of contents after a custom section style

Good afternoon everyone, can anyone help with the following problem? I have a task to have a list in the table of contents with numbers in the list and titles, with only numbers in the text. ...
user avatar
  • 97
0 votes
0 answers
24 views

Sections titles font size

Why when I change the sections, subsection, and subsubsections fontsize they dont change, I used these commands \sectionfont{\fontsize{15}{17}} \subsectionfont{\fontsize{15}{17}} \subsubsectionfont{\...
user avatar
0 votes
1 answer
28 views

How to display a section only in toc?

I want to create a command \unsection{title} (with title the title of a new section) with a behavior similar to \section{title} but the title should only be displayed in the toc. To illustrate my ...
user avatar
  • 163
2 votes
1 answer
48 views

Custom table of contents based on a model

I’m converting an oldish book into tex and I need to mimic a weird table of contents (picture here after), but I do not find any suitable models to start working with. I used the following structure (...
user avatar
1 vote
1 answer
64 views

Modify section, subsection and subsubsection style

I was wondering if anyone would know how I can modify the general style that has the latex document so that the section part, subsection and subsubsection follow the specifications that I show in the ...
user avatar
0 votes
1 answer
34 views

titlesec smallcaps not working with the Lato font

MWE: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \renewcommand{\familydefault}{\sfdefault} \usepackage[default]{lato} \usepackage[sc]{titlesec} \begin{document} \...
user avatar
1 vote
0 answers
11 views

Section/theorem/definition headers in margin

I would like a style in which sectioning headers along with theorem/definitions are in the margin. I particularly like the style used in An Introduction to Kolmogorov Complexity and Its Applications (...
user avatar
0 votes
1 answer
88 views

How can I decorate latex documents like this one?

I have very little knowledge of latex. I use overleaf for writing documents. recently, I saw a very nicely decorated template in overleaf, and here it is https://www.overleaf.com/latex/templates/...
user avatar
1 vote
0 answers
38 views

Color Box for Section Title : Titlesec or others soluce explained/commented for beginners

I try to do with LateX some layout I usually do really easily on Word because I would like to use 100% LaTeX (I would currently describe myself as low intermediate LaTeX user). Here is what I aim to ...
user avatar
  • 11
1 vote
1 answer
33 views

How Can I to remove the second enumeration in the sections?

I wish to remove the second enumeration of sections in my text, i.e, where has section 1.1 I want section 1. How can I do it?
user avatar
0 votes
0 answers
42 views

PdfLaTeX: Change the Font Type of the Section using Elsevier Template

I'm trying to use the Elsevier template from https://www.ctan.org/tex-archive/macros/latex/contrib/els-cas-templates, but I meet a problem when I try to change the font to Arial, I searched on the TEX ...
user avatar
  • 79
1 vote
1 answer
53 views

How to get rid the additional dot at the end of “Appendix A.”?

Consider the following MWE: \documentclass[a4paper]{scrartcl} % PACKAGES LOADING \usepackage[title]{appendix} \usepackage{cleveref} \usepackage{secdot} \begin{document} See \cref{aa} for details. ...
user avatar
  • 2,037
1 vote
1 answer
39 views

Increment Counter in Section Title

I wonder why I can not call \stepcounter within a section title. For example, this code works fine: \documentclass{article} \newcounter{mycounter} \begin{document} \section{Title \themycounter} \...
user avatar
  • 207
1 vote
1 answer
74 views

Use of "noextraspace" affects title page layout for APA 7

I'm writing an academic paper on Overleaf using APA 7 format. I inserted the "noextraspace" class option, which removes the extra spacing between headers, paragraphs, etc., to more closely ...
user avatar
  • 23
4 votes
1 answer
47 views

Justify section number and multi-line section title

I have long sections' titles and latex renders them like this 21. Very very very very very very very very very very very very very very very very very very Long section title example This ...
user avatar
  • 77
1 vote
0 answers
25 views

Linebreak in section heading

I have this section heading. I need it formated as such but the linebreaks are not passing down. It is currently over flowing the page. The \ does not work in this situation. \section{\normalsize\...
user avatar
3 votes
1 answer
59 views

Chapter headings on the side, with ornaments

I'd love for the book I'm writing to have subsections headed as in this book I read recently, appearing at the side within an ornament. What's a reasonable way to obtain such?
user avatar
0 votes
2 answers
80 views

How to reduce the size of long titles in TOC

It seems that reledmac is incompatible with secsty. My aim is to reduce the font size of \chapter \section and \subsection because the work I am editing uses long titles and they don't fit quite well ...
user avatar
  • 85
0 votes
1 answer
60 views

Appendix prefixes in figure names, but not in section heading

I would like to have an A prefix in the appendix figures, but not in the section heading – and include the Appendix in the table of contents. A MWE inspired be this answer. \documentclass[a4paper,...
user avatar
0 votes
1 answer
32 views

Subsection title style

How can i get this result? The subsection number is a part of subsection title and it begins from par indent. If subsection title is to long it continues from new line as normal text (It is not ...
user avatar
2 votes
2 answers
88 views

Custom section style

I would like to format the section like seen below. I started with these codes. \documentclass[openany]{book} \usepackage{titlesec,xcolor} \usepackage{mathspec} \titleformat{\section}{\Large\fontspec{...
user avatar
0 votes
1 answer
30 views

Section numbering using letters

How can I number sections using letters, starting from a specific letter? \renewcommand*{\thesection}{\Alph{section}} This will start from the letter A, but I want to start numbering from another ...
user avatar
  • 121
1 vote
1 answer
30 views

Inside a section header, words generated by \NewDocumentCommand doesn't appear on the bookmark's browser of the final pdf. output

The following code produces expected output for the final pdf. But the appearance of the bookmark browser on the pdf is wrong if the header contains a word generated with the \NewDocumentCommand. All ...
user avatar
1 vote
1 answer
36 views

Add reference in a section title

I'd like to add a reference in my section title like this: \section{Preuve du Théorème \hyperref[theorem:5]{5}} but it doesn't work, I tried to protect my ref but still doesn't work.
user avatar
1 vote
0 answers
17 views

Adding dot line after section name in letterpaper

A question about how to add dot line in letterpaper class. My target is to create a section title like I try to use \titleformat{\section}{ \vspace{-4pt}\scshape\raggedright\bfseries\large \color{...
user avatar
2 votes
0 answers
54 views

Is there a way to automatically make each letter of the first word capitalized in the section title?

Was wondering if there was a way to redefine \section{this is an example} so that the section title shown in the pdf is actually "This is a Section Title". I know package sectsty has an ...
user avatar
0 votes
0 answers
20 views

I am using \input to inport a section title from another file, but even using \protect I get charters like <<30>>

I have a directory devoted to document titles, one title per file. Another directory is devoted to document abstracts, one abstract per file. I am trying to create a catalogue of documents, in which ...
user avatar
  • 57
1 vote
1 answer
129 views

How make section titles bold and small-caps [duplicate]

Section titles should be bold+small-caps (but this code fail to do it) \usepackage{titlesec} \titleformat{\section}{\Large\sc\bfseries}{}{}{}[] Full code: \documentclass[a4paper,12pt]{...
user avatar
  • 155
0 votes
0 answers
32 views

Remove 'A' in appendix "appendix A" in Masterdocotoralthesis document class

First and foremost, Am using Mastersdoctoral thesis as a document class My problem is that I have just one appendix and I want to remove the A next to appendix and see my changes in in my table of ...
user avatar
0 votes
1 answer
76 views

Complex math expressions inside titles of sections produce the error TeX capacity exceeded, sorry [input stack size=5000]

I get the error TeX capacity exceeded, sorry [input stack size=5000] for the line 47 of the following .tex file. I get such an error whenever there is a complicated math expression inside the title of ...
user avatar
0 votes
0 answers
49 views

Section number next to section

as one can see in my MWE, that my section numbers are appearing over the name of the sections. Please have a look. Thank you for the kind help provided for this in advance. \documentclass[11pt,...
user avatar
0 votes
1 answer
63 views

Chapter.Section number sticking to title in Table of Content

Problem: In Table of Content, when both Chapter and Section numbers are 2-digits long, Section number sticks to title. (I get the same issue in figure table, but I thought maybe that this should be a ...
user avatar
  • 163
1 vote
1 answer
64 views

Recurring error with titlesec label

I'm asking the question again since I encounter the same issue using book class. Therefore, it doesn't seem to be related to a compatibility issue between titlesec and KOMA-script. What is the problem?...
user avatar
  • 43
1 vote
1 answer
82 views

How to hide chapter titles in ConTeXt?

I have a situation where I need to place \chapter{} on the page, without displaying the actual title. (1) Some code is contains criterium=chapter and will be broken without knowing a new chapter has ...
user avatar
  • 12.4k
1 vote
1 answer
87 views

Increase margin in section titles with titlesec

I use the titlesec package to define section titles and use the format \titleformat{\section}[display] {\raggedright\LARGE}{\thesection}{1ex}{} The font is quite large, so I would prefer to have a ...
user avatar
  • 101