Questions tagged [section-titles]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
22 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 ...
1
vote
1answer
20 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 ...
0
votes
1answer
15 views

Error in sections with documentclass amsart

I'm trying to submit a paper to a journal, and they ask to do the article in class \documentclass[12pt]{amsart}. First I made the text with the command \documentclass[10pt]{article}. I changed the ...
1
vote
1answer
36 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 ...
0
votes
0answers
23 views

Highlight the title of a section and one bibliography output of bibtex

I am trying to highlight one specific title of my section by using the \hlc command, but it does not seem to work at all. When I try this: \hlc[green]{\section{Title section5}}, the title of the ...
2
votes
0answers
14 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 ...
1
vote
1answer
19 views

bibentry, natbib, and hyper ref conflict when bib entry used for heading

I've tried solutions posted in here, here, and other relevant posts to no avail. I'm trying to use hyperref in document that uses natbib and bibentry, but it gives me tons of errors. The major ...
0
votes
0answers
20 views

Monospaced Garamond-Number in Section Heading

I have a problem regarding a section and its corresponding TOC entry, for which I couldn't find any solution. In my scartcl using Garamond as required font, I have several section headings \subsection{...
0
votes
0answers
35 views

Missing number, treated as zero on section using package titlesec

When using the titlesec package to modify the layout of the chapter title, I get the error: Missing number, treated as zero., in the section title. I use the following code to perform this action: \...
0
votes
1answer
29 views

titlesec package not suppressing chapter number from section in XeLaTex

Am using the Overleaf online editor, and in order to use the polyglossia for Arabic fonts support package, I changed the compiler to XeLaTex. everything worked as expected, except for the titlesec ...
3
votes
1answer
55 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 ...
1
vote
0answers
22 views

Beamer metropolis theme: How can I add a paragraph below the horizontal bar in section page?

Below is the code from the metropolis theme that is responsible for formatting each section page appearing in the presentation: \setbeamertemplate{section page}{ \begin{center} % add center if ...
0
votes
0answers
36 views

Spacing before and after chapter and section title in the report class

For my thesis, I need to have a consistent spacing before and after chapter and section titles. The thesis is written in the report class. At present I'm using the following commands in the preamble ...
1
vote
2answers
72 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 ...
1
vote
1answer
23 views

Why does the optional argument for the bibdiv environment in AMSRefs not override the default text of the heading in the amsart document class?

In Section 4 Section titles for bibliographies: bibdiv, bibsection, bibchapter of the AMSRefs package documentation, the following is mentioned: [bibdiv] will use the current value of \bibname or \...
2
votes
0answers
16 views

Automate “section (continued)” with custom section style

This is a follow-up question to the answer in https://tex.stackexchange.com/a/63847/243868 I want to add "Section name (continued)" at the top of the page when a section continues on ...
0
votes
2answers
67 views

I want to add a dot after sections and subsections numbers

I want to add a dot after sections and subsections numbers, even in the table of contents and cross-references. With \sectiondot{subsection} of secdot package we don't get the final dot in table of ...
1
vote
1answer
37 views

How can I change the numbers of a section

I am wondering if it is possible to remove the chapter number from the section numbers in the class book, although the chapters keep their numbers. In other words, instead of this: Chapter 1 Chapter ...
1
vote
1answer
31 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 ...
0
votes
1answer
49 views

Section name in the Header (Amsart)

It's the first time that I use LaTeX, I want to put the name of the section (and preferably the name of the subsection) at the header of the page. I've used this code : \documentclass[12pt,reqno,...
0
votes
0answers
18 views

Text jumps into the middle of the page because of a graph that follows [duplicate]

I'm writing the "results" section where I have small descriptions and graphs. I want to have a \section(blabla) followed by a small text and then the graph. Right now I do have a \section(...
0
votes
0answers
15 views

Big space between title and text [duplicate]

I´m writing a document in parts, and until now I did not have any problems. However, I just compiled the document and it has created a big space between the title of the section and the paragraph. I ...
0
votes
1answer
36 views

How to get symbol after section title to on new line?

How to get (without titlesec) title number centring and symbol after it? \documentclass[british]{article} \usepackage{fontspec} \usepackage{graphicx} \newcommand{\S}{\reflectbox{\rotatebox[origin=c]{...
0
votes
0answers
32 views

No page break after section

I uploaded a template, with these packages. But I have a limited amount of pages, and now after I make a new section using \section{}, The section starts on a new page. How do I make sure they are on ...
0
votes
1answer
15 views

Can't use soulutf8's underline inside \section when using hyperref

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage{soulutf8} \usepackage[unicode]{hyperref} \begin{document} \section{\ul{Introduction}} \end{document} I'm trying to underline my ...
0
votes
0answers
30 views

Removing the last dot in \paragraph command

I am facing an issue when using paragraph command. I have created a new depth of the sections \setcounter{tocdepth}{4} \setcounter{secnumdepth}{4} Then when I type the below: \paragraph{Full Flow ...
1
vote
2answers
27 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} \...
2
votes
1answer
30 views

Adding a footnote in a section title slide in beamer

I would like to add an individual footnote in the title pages generated foreach section. I am sharing a minimal working example below. \documentclass[hyperref={pdfpagelabels=false}]{beamer} \...
0
votes
0answers
17 views

Suppressing underlined section titles in custom documentclass

Hi I need to suppress the underlining in a custom document class. I am trying to submit my thesis and my school gave me a handy document class option that ideally should take care of all the ...
0
votes
1answer
32 views

Get the title or section format

I want to make a book of abstracts and would like to set the abstract titles with the format of sections (for example). How do I get the format of the section to make random text look like it later, ...
0
votes
2answers
49 views

Section and subsection TOC title formatting

I'm putting together a template for college assignments. In order to systematize the writing, I've reformatted the section/subsection titles in the document so they read "Problem #number" ...
1
vote
0answers
30 views

How can I use \textalpha in a section or subsection?

I can use \textalpha in the title like this \title{Tool\textsubscript{\textalpha} other text} Output : Toolα and it is working fine. But if I use the \textalpha in section, for example \section{...
2
votes
1answer
61 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 ...
0
votes
0answers
9 views

Centering the section and subsection titel between two lines

i want to center my section and subsection titel between two lines with this code but it doesnt work out. \makeatletter \ExplSyntaxOn \renewcommand*\sectionlinesformat[4]{% \parbox{\linewidth}{...
0
votes
2answers
41 views

Section title above large landscape table

I need your help. I am writing my dissertation with LaTeX (I am not a very experienced user), and I am inserting some stuff in the appendix. I have a fairly large and complex table in landscape mode, ...
1
vote
2answers
44 views

How to align the whole text with its respective heading title (\chapter, \section, subsection)

I am working with Overleaf. Currently, I have this: \documentclass[12pt,a4paper,openany]{extreport} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{lipsum} \usepackage[...
1
vote
0answers
35 views

Make Section, Subsection, and Subsubsection Titles Flush with Top Margin with Double Space

I am trying to get the subsection title flush with the top margin when it appears on a new page. I was able to get all the section headings flush with the top margin by using the the \setstretch{1} ...
0
votes
0answers
25 views

Environment problem

\documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage [ a4paper,% other options: a3paper, a5paper, etc left=2.54cm, right=2.54cm, top=2.54cm, ...
0
votes
1answer
39 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[...
1
vote
0answers
25 views

Problem with alignment in list environment

I am trying customise section heading. Here is a MWE: \documentclass{book} \usepackage{fontspec} \newcommand{\mraggedright}{\rightskip=0pt plus1fil} %macros to change space before and after section ...
0
votes
1answer
39 views

Cannot redefine sections style with titlesec

I've been asked to use a given format for a paper and I have to use the following format for sections: being size of the paragraph text 10pt and that of the section 11pt. I also have to reduce, ...
2
votes
1answer
81 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, ...
2
votes
2answers
114 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 ...
0
votes
1answer
51 views

How do I automate the width of \rule in section titles in \twocolumn for multiline title names?

I currently have problems making the \rule operation be automated to be the same width as the title when the document is in \twocolumns. Is there a way for the grey box to follow the next line of the ...
1
vote
1answer
28 views

Separate titlesec Chapter from ToC Title

Using the titlesec package, any changes I make on chapter titles is reflected to the ToC title. The same is not true for changes I do on sections, subsections etc. I don't want the ToC title to be ...
0
votes
2answers
43 views

Left Adjustment of Title

I want to adjust the title indentation for all the section and subsection titles as shown in the image. How can I achieve this using the titlesec or other similar packages? This is a minimal version ...
1
vote
1answer
45 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 ...
1
vote
1answer
42 views

Get a regular text line formatted as a section heading

Imagine that I need to place inside the text an example of how a section heading looks like. I.e. I need to format a line of text exactly the way a section heading is formatted, but without starting a ...
0
votes
1answer
32 views

section numbering problem

I don't want to have the III in the section, I want it to appear in TOC and in the page just 1.section \documentclass[a4paper,12pt]{report} \usepackage{lmodern} \usepackage[french]{babel} \usepackage[...
0
votes
0answers
27 views

Overlapping in TOC when using default section prefix with renewcommand thesection

I'm writing on an exercise report and I want to have the prefix "Exercise" in my section headings (eg. Exercise 1: The QGIS user interface). So I used \renewcommand*{\thesection}{Exercise~\...