Questions tagged [section-titles]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
13 votes
1 answer
2k views

Beamer: How to add progress bar with section titles?

Many presentations include some kind of a visualizer where the listeners can easily see how far the presentation has gone. A great option to do so is adding a progress bar into the slide layout. ...
user avatar
  • 3,458
12 votes
2 answers
308 views

Size of integral symbol in section header with mlmodern

I really like the font \usepackage{mlmodern} and want to keep using it. Only when using \int in a section header, the integral sign for some reason shrinks in size relative to the rest of the ...
user avatar
  • 18.3k
5 votes
2 answers
182 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
4 votes
1 answer
98 views

chemmacros \iupac command shows no formatting in titles

i googled the problem and found that apparently nobody had issues with this before... I want to use compound names set up with the \iupac command of chemmacros in titles. \documentclass{scrbook} \...
user avatar
  • 117
4 votes
2 answers
62 views

Bad hyphenation in Section Title

Okay, so my issue is that my Section title is wider than my Text due to a wrong hyphenation/linebreak, which does not look good. When I just add a linebreak it will show in my fancyheader with a ...
user avatar
  • 155
4 votes
1 answer
52 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
3 votes
2 answers
181 views

Modify subsection numbering in KOMA

In my scrartcl, I want to modify the subsection numbering as UNIT I, without being preceded by section numbering. How I can do that? An MWE is: \documentclass{scrartcl} \begin{document} \section{Hello}...
user avatar
  • 2,019
3 votes
1 answer
732 views

Part of subsection title not in bold

I have the following problem: I want to write a subsection title, which is partially not bold. I have found solution which showed that all subsections are not bold, but I don't want that. I want this ...
user avatar
3 votes
2 answers
60 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
3 votes
1 answer
66 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
3 votes
1 answer
56 views

cross-referencing in the appendix, imsart package

I have a problem running the following code, which uses imsart package and aop option: \documentclass[aop]{imsart} \RequirePackage[colorlinks]{hyperref} \newtheorem{theorem}{Theorem}[section] \begin{...
user avatar
  • 95
3 votes
2 answers
80 views

chapter, section, etc. in ToC but not appearing in document

Is it possible to have chapters, sections, etc. that appear in the ToC but not as actual headers in the document? Basically I just want tell the ToC "make a chapter mark here" but without making the ...
user avatar
  • 537
2 votes
2 answers
201 views

Fancyhdr and \thesection command

I have a problem with \thechapter implementation in fancyhdr package. As you can see in the photo I attached at the bottom of the post, the section number (RO) and its title (LO) don't match at the ...
user avatar
2 votes
1 answer
101 views

How to remove the words 'Who?' and 'When?' in the title page of Bergen beamer theme?

I am creating a simple presentation using the Bergen theme in beamer. I like almost everything about it, except the words 'Who?' and 'When' as respective quantifiers for the author and date in the ...
user avatar
2 votes
2 answers
120 views

Double point appearing in section head in Context

After applying the solution from here for referencing without dots in the text, the section heading doubles the point between chapter and section numbers: \setuphead[chapter][ alternative=middle, ...
user avatar
2 votes
2 answers
92 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
2 votes
1 answer
58 views

Fake bold applied inconsistently to section titles

From a few answers here I borrowed the method of applying fake bold in order to overcome the lack of bold characters in Gentium font in Russian encoding. Unfortunately that has a weird side effect. ...
user avatar
  • 197
2 votes
1 answer
55 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
2 votes
1 answer
695 views

Changing section font in a res document

I'm using res.cls to write a CV. I'd like to unbold the section title and use the italic font (as the picture below). \documentclass[margin]{res} \setlength{\textwidth}{5.1in} % set width of text ...
user avatar
  • 43
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
2 votes
1 answer
389 views

Landscape table and section/chapter title do not fit together on one page

For my appendix I need to make a table in landscape mode, since the three columns containg quite a lot information and it has to fit on one page. Rotation for the table works just fine with both ...
user avatar
2 votes
1 answer
111 views

Format the section heading

I would like to have the section headings formatted as follows (Please note the top-right corner is curved): I tried many things like : (1) using a tcolorbox - In this case, I cannot shift the left ...
user avatar
  • 23
2 votes
1 answer
290 views

Beamer subsections

I tried to point my subsections. I have a table of content and I want to show the subsection I will talk about before the frame in which I will talk about it. I managed to do such thing with sections ...
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
2 votes
0 answers
26 views

How to change the title from bibliography to References [duplicate]

I am using the Bibtex file to generate my references in my thesis. my thesis class is {report} and using the command \bibliographystyle{refsort} and \bibliography{thesisreferences} to generate my ...
user avatar
2 votes
0 answers
38 views

Cleveref in section's name does not work in book header

I have a book format document with a theorem's reference in one of the section names. I use cleveref to make this reference, it shows perfectly in the section's name and even the table of contents, ...
user avatar
  • 199
2 votes
1 answer
228 views

Weird font section and subsection [closed]

Without doing something in this document, the section and subsection font type seems to be quite different. I get this: When I should be getting this: The problem is that the section 1 and ...
user avatar
1 vote
2 answers
475 views

Format \section like \subsection (except for numbering)

Is there an easy way to have \section headings be numbered in the usual way, but inherit their formatting from \subsection, so that section 3 below is formatted exactly like subsection 1.1, including ...
user avatar
  • 3,826
1 vote
1 answer
57 views

Changing style of (sub)sections

How can I change the style of sections and subsections... I want this: Instead of this default style: Please note that the first style is indented meanwhile the default one is not. My document class ...
user avatar
1 vote
1 answer
77 views

add box around section title with a line

I am trying to achieve something like this for the section title ---------- | title |------------------------------------------------------------------- ---------- So far I have this code using the ...
user avatar
  • 169
1 vote
2 answers
123 views

Can get to work with capital letters and small capitals in fancyhdr

Is there a way of making a capitalized section name appear in fancyhdr as only first letters capital? My section name is HELLO, and I want it to appear as Hello (in small capitals) in the header. The ...
user avatar
1 vote
2 answers
102 views

How to center text vertically between two horizontal dotted lines

The MWE is mostly self-explanatory. I would like to make a command which produces the given output. The command should take a mandatory argument specifying the amount of space above/below the text. ...
user avatar
1 vote
1 answer
153 views

Create attractive section

I want to create the section style according to the image could you please guide me how I can create? \documentclass{article} \usepackage{scimisc-cv} \usepackage{multicol} \usepackage{enumitem} \...
user avatar
1 vote
1 answer
54 views

Defining a new section with ConTeXt

I'm very new to ConTeXt. How can I create my own "mini section", about the size of a paragraph but not as big as a part? I want the first word in this self-defined section to begin with a ...
user avatar
  • 11
1 vote
1 answer
40 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
1 vote
1 answer
34 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
1 vote
1 answer
56 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
91 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
1 vote
1 answer
31 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
88 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
47 views

Colorbox as background for section headers in KOMA-class documents

I am using a KOMA-script class to generate my document (scrartcl). Now, I know that packages like titlesec are incompatible, it is recommended to use the options provided to customise the look of ...
user avatar
  • 2,595
1 vote
2 answers
296 views

The titlesec package with explicit option meet error when \section contains a command

I use the titlesec with explicit option to modify the section's format. The code compiles perfectly with texts. However, when I put a command in the section. LaTeX meets error "TeX capacity ...
user avatar
1 vote
2 answers
48 views

Force Subsections Headings into Title Case (AMSart class)

Is there any way of force the titles of subsections in the amsart to be in title case by default? I tried this but no luck: \documentclass{amsart} \usepackage[utf8]{inputenc} \usepackage{etoolbox} \...
user avatar
1 vote
1 answer
115 views

Can't override tcolorbox title style if it's a Section title

Updates Added not-working-workarounds plus an additional MWE. Problem I use a tcolorbox as a Chapter's summary, and thanks to this answer I am able to include it in the TOC as well. MWE \documentclass[...
user avatar
  • 265
1 vote
2 answers
91 views

Section formatting with boxed numbering and horizontal line

I want to format my (sub)section numbering in a colored box and a horizontal line below the title. I need something like this: I tried sectsty but could not get the line to work. \documentclass{...
user avatar
  • 11
1 vote
1 answer
160 views

Double Subsection title

I'm working on a "report" which consists of the solutions for several assignments which are structured into "topics" and "parts". I'm quite happy with the result I got ...
user avatar
  • 13
1 vote
1 answer
71 views

Non-standard ToC style

I'm preparing my thesis in LYX. Text is in russian, but there are a lot of symbols and chemical formulas in english. By now I work with "extended article" class, standard. I need to make a ...
user avatar
1 vote
2 answers
347 views

Different numbering style in title and reference for sections

I would like to put the number of my section in a colored box in the title but when I use a reference, I only want the number of the section to be printed and not the colored box... I used \...
user avatar
  • 23
1 vote
2 answers
34 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
1 vote
2 answers
36 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