Questions tagged [section-titles]
The section-titles tag has no usage guidance.
221
questions
1
vote
1
answer
29
views
Beamer cambridgeUS section and subsection not enough space
I'm writing a latex Beamer file, and I got some problems when setting the section & subsection. The space is not enough to display my text. I want to increase the scope to include the text, rather ...
1
vote
1
answer
57
views
How to remove beamer section buttons in CambridgeUS
I want more space to write sentences, so I need to delete the link button of the sections (black box). However, I need to keep the section title, only delete the black box area. How can I do this? ...
0
votes
0
answers
41
views
How can I **automatically** create an Index of a pdf generated as below?
I have posted a similar question elsewhere
but the answer there has a serious drawback, it must be manually inserted the section names,
while my dream was that it should be fully automatically ...
0
votes
1
answer
47
views
How can I create an Index of a pdf generated as below?
I have a pdf generated as below. Now I would like to create the index which should
be a page listing all the names of papers included, i.e. the names of sections, one row should be dedicated for each ...
2
votes
3
answers
123
views
How can I make long section titles wrap all the way to the margin?
LaTeX by default indents section titles so that the left edge of the text is in alignment, as follows:
I would like to make it wrap all the way to the left margin, as shown:
How could I do that? I ...
0
votes
1
answer
27
views
How to make a section title that fits with \listoffigues
I want to create a section for the symbols and abbreviations I'll use in my thesis. I used the function \listoftables to generate the table list. I want to have another section with a section header ...
1
vote
1
answer
26
views
How to use Nils L's "fake bold" for section, subsection, subsubsection, and paragraph headers?
I would like to (globally) set all section (subsection, subsubsection, and paragraph) headers to be \medbold as defined by
\newcommand{\medbold}[1]{%
\pdfliteral direct {2 Tr 0.3 w}
\pdfliteral ...
0
votes
1
answer
44
views
How may I protect this \godel command for section titles?
In the first version of the answer to my question Gödel codes with rounded Cornes?, Sandy G offered the following solution:
\newcommand{\godel}[1]{{}\mathbin{\vcenter{\hbox{\tikz{
\...
0
votes
0
answers
20
views
May we avoid the line break after section title? [duplicate]
I would like to avoid the mandatory line break after \section{title}, so that the text after \section{title} continues on the same line.
One way to answer the question may proceed by modifying David ...
1
vote
1
answer
29
views
Beamer section title slides
I want to have a section title slide before each section (but not a full TOC), but I don't want the slide to display the default "Section 1" above the title, as does the following MWE:
\...
0
votes
0
answers
18
views
xcolor not working within rSection
this is the code (I'm a beginner, so perhaps there are better tutorials out there):
\begin{rSection} {\textcolor{yellow}{Education}}
2
votes
1
answer
44
views
How to adjust the vertical spacing before and after section headings to be symmetrical in KOMA-Script classes?
Here is my MWE compiled using LuaLaTeX:
% !TEX program = lualatex
\documentclass[12pt, DIV=12, numbers=noenddot]{scrartcl}
\usepackage{setspace}
\usepackage[english]{babel}
\usepackage{xpatch}
\...
0
votes
1
answer
36
views
Exam class: adding the section name to the header
I was scouring the internet for some time now and could not figure out how this could be done. I am trying to add the current section name to the header of a page in the exam class which treats ...
0
votes
1
answer
44
views
Issue with the long section title
I looked it up, but couldnt find a valid solution so that's why I am asking.
My issue is, I have a long section title that extends over my textwidth as shown in below.
How can I solve this issue? I ...
0
votes
1
answer
24
views
How can I get section title between 2 horizontal lines, within same line
I am quite new to LaTeX, and I am trying to make the section title centered between 2 horizontal lines, all within the same line.
What I have now is this. However, I'd like the rules to be longer, but ...
0
votes
0
answers
39
views
How to improve the following way to add the section symbol before only section numbers in contents?
First a MWS and its output are as follows.
\documentclass[12pt]{book}
\makeatletter
\let\OldNumberline=\numberline
\RenewDocumentCommand{\numberline}{m}{%
\OldNumberline{\S{}#1.}%add dot before title ...
2
votes
1
answer
66
views
reusable section templates and variables
I'm looking for a way to declare a section (a chapter for instance) like that:
\startchapter[title={My first interview}][author={Jane Doe}, year={2022}]
…
\input knuth
\stopchapter
\startchapter[...
1
vote
0
answers
32
views
memoir section head styling with tcolorbox
I want to clone the section head style of images above.
But I don't know how to styling section counter and section title separately.
Main challenges are:
Counter and title must be separated and ...
0
votes
1
answer
23
views
How to hide Chapter N in a documentclass{report} and number the chapter titles?
I've already hidden the Chapter N above every chapter title successfully by using the package titlesec and the following code in my main.tex file:
\titleformat{\chapter}[display]
{\normalfont\...
0
votes
1
answer
77
views
LaTeX | Section title too long for header and \sectionmark not working on same page
I am a LaTeX noob but I have not found a solution for this problem yet:
I have a section title (doc class book) too long for the header and I have used the \sectionmark solution found here on ...
1
vote
2
answers
39
views
Wrong TOC Formatting when using \numberwithin{section}{part}
When I use the command \numberwithin{section}{part} the table of contents formatting gets destroyed.
A minimal working example is the following:
\documentclass[a4paper,12pt]{scrartcl}
\usepackage{...
0
votes
2
answers
32
views
How to use the section command and keep a clear table of contents?
I want to change the section formatting to a longer one but the table of contents has it overlapping with the section. How can I fix this?
\documentclass{article}
\usepackage[utf8]{inputenc}
\...
1
vote
1
answer
76
views
Fancy header line with section name
I have a question about the header of a latex document (article class). I want to create a header like
Section 1. {section name}
on the left of my header line, but when I use \leftmark command, it ...
0
votes
2
answers
65
views
Section and chapters overlap with header page numbers
I'm using a template based on the memoir class. In some edgecases the chapter and section titles don't linebreak, and therefore overlaps with the page numbers in the header. Is there a way to prevent ...
1
vote
1
answer
45
views
Remove References section in Beamer document using bibtex/natbib
I have a beamer document and am using the natbib package with apalike style. Now this automatically creates a section for the references, which appears in the header of all slides as "References&...
0
votes
1
answer
16
views
How can I make a centered heading for the appendix for an IEEEtran conference format?
How can I make a centered heading for the appendix for an IEEEtran conference format? I need the heading to have the same style as the headings that occur within the default IEEEtran conference double-...
0
votes
0
answers
42
views
Title Custom Blocks - Customize TITLE of text fragments!
I use LaTeX but at some ways I'm still quite inexperienced.
When building a class, and would like to leave a few highlights items, like the ones below.
If they could help me I'll be very grateful;
So ...
2
votes
2
answers
104
views
How to absolutely prevent overfull lines in ConTeXt?
I have worked with ConTeXt for a few years now and I am well aware that the algorithm for determining line breaks is not looking at each single line in isolation, but basically trying to minimise &...
1
vote
2
answers
124
views
Bold math symbol in section title
I'd like to have a letter written in math mode and bold in a section title.
Running this
\documentclass[
pdftex,a4paper,11pt,oneside,fleqn,
bibliography=totoc,listof=totoc,
headlines=2.1,...
0
votes
1
answer
22
views
Problem with \setsecnumformat command in memoir class
I am typesetting a document in memoir class. I want to reduce the space between the section number and its title. Following the memoir class documentation the solution would be
\setsecnumformat{\...
1
vote
1
answer
42
views
LaTeX chemformula in header
For my thesis, I'd like to add a mchem formula to the title of a chapter. However, I cannot manage LaTeX to print it in bold. Here is the package I am using
\documentclass[a4paper,12pt,openright]{...
0
votes
1
answer
20
views
Custom Section styling not working in Table of Contents
To add a letter in front of every section, I am using the command
\renewcommand{\thesection}{Q.\arabic{section}}
This is working, however the styling in the table of contents looks really odd, since ...
0
votes
0
answers
78
views
How to change the title of chapter style
It's the first time that I am using LaTeX and I am struggling to change the style format of the title chapter. In particular, I am running this code:
\documentclass[12pt,a4paper]{report}
\usepackage[...
0
votes
1
answer
39
views
How to make mini table of contents unbolded
The standard appearance of \usepackage{minitoc} is with bold letters for each of the sections/subsections of a chapter. How would I go about making a mini table of contents with unbolded letters?
...
1
vote
1
answer
43
views
Boldmath in section title but not in header
I am using the \boldmath command for bold math symbols in my section titles. Moreover, I use the scrlayer-scrpage package to write the section titles in the header. The problem is that the math ...
1
vote
1
answer
53
views
How to set section titles in non-bold font while using fncychap?
Problem Description
I am using the Sonny style from the fncychap package in a document I am writing. I like it, but if I use just that package I obtain non-bold chapter titles and bold section (and ...
0
votes
0
answers
28
views
Why is LaTeX adding spaces randomly between section title and surrounding text? [duplicate]
I have a section in a report which for some reason has random space around it. The code is:
\chapter{Results \& Discussion}\label{ch:results}
This chapter aims to present and discuss the results ...
2
votes
1
answer
45
views
How to Prevent Titlesec from Automatically Producing an Entry in the TOC
The following code is derived from egreg's answer in Centering an Arabic Section Number Above Justified Title Text
\documentclass{book}
\usepackage{titlesec}
\titleformat{\section}[display]
{\...
0
votes
0
answers
34
views
Difference Between Break and Linebreak Commands [duplicate]
The motivation for this question originates from the answer given to Centering an Arabic Section Number Above Justified Title Text
Consider the code
\documentclass{book}
\usepackage{titlesec}
\...
1
vote
1
answer
38
views
Centering an Arabic Section Number Above Justified Title Text
Consider the code
\documentclass{book}
\usepackage{lipsum}
\usepackage{titlesec}
\titleformat{\section}
{\sffamily\Large\bfseries}
{\thesection}{1em}{}
\renewcommand{\thesection}{\arabic{section}}...
2
votes
2
answers
70
views
Replace "." by ")" after section number
I'm using KOMA script's scrartcl class and have customized the section numbering as in the following MWE:
\documentclass{scrartcl}
\begin{document}
\renewcommand{\thesection}{\alph{section}}
\...
0
votes
1
answer
29
views
How to make section heading case sensitive in this?
\documentclass[a4paper,12pt,reqno, two side]{amsart}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{color}
\usepackage{ifpdf}
...
0
votes
0
answers
28
views
Use scalerel in section title
The MWE is simple:
\documentclass{article}
\usepackage{scalerel}
\begin{document}
\section{$\scaleobj{0.5}{\alpha}$}
\end{document}
It gives
/home/yijunyuan/research/temp/test.tex:4: Undefined ...
0
votes
1
answer
47
views
How to create section titles with Icons but no Icons in Table of context
I would like to know how I can create the following types of section headings
Note that the image is loaded using the graphics package. I have tried the following
\section{\includegraphics[scale=0.2]{...
0
votes
0
answers
22
views
Disable vertical centering of a part title page in titlesec
I'm using titlesec to re-style my part title page. I would like the part title to appear a fixed distance from the top, but the default behavior for the page class is to center it vertically. I want ...
2
votes
1
answer
93
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 ...
12
votes
2
answers
431
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 ...
0
votes
1
answer
43
views
Changing margin between section number and section title
How can I change my title from this
to that?
My code:
\documentclass[headings=optiontoheadandtoc,ngerman,11pt,twoside]{scrartcl}
\usepackage[a4paper,inner=2.5cm,outer=2.5cm,top=3.205556cm,bottom=...
0
votes
2
answers
57
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 ...
1
vote
1
answer
69
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, ...