Questions tagged [section-titles]

The tag has no usage guidance.

47 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
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
1 vote
0 answers
57 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
0 answers
14 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
1 vote
0 answers
52 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
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
1 vote
0 answers
22 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
1 vote
0 answers
77 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 ...
user avatar
  • 111
1 vote
0 answers
26 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 ...
user avatar
1 vote
0 answers
45 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{...
user avatar
  • 111
1 vote
0 answers
77 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} ...
user avatar
  • 11
1 vote
0 answers
30 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 ...
user avatar
1 vote
2 answers
96 views

portrait page with section title, and "landscaped longtable"

I have the following landscaped longtable under a section: \documentclass{article} \usepackage{longtable} \usepackage{arydshln} \usepackage{pdflscape} \begin{document} \section{Landscaped longtable ...
user avatar
1 vote
0 answers
93 views

Change the chapter and section style

I'm using titlesec package to have a good style of the chapters and sections title. But now, I would like to add a colored box around the chapter number and section number, I want to get the same ...
user avatar
  • 11
1 vote
0 answers
54 views

How can I customize my chapter and section titles like in the following picture?

I'm writing my thesis and came though this beautiful chapter style. How can I replicate it? With the color blue and the same fonts for the chapter and section titles. The first letter of the text ...
user avatar
1 vote
0 answers
35 views

How to include a PDF that appears as its own section in the table of contents

It's a bit hard to explain what I want. I have a separate PDF which is an scientific article (with its own title in the pdf of course). I want to include it into my LaTeX document. The way I do that ...
user avatar
  • 162
1 vote
0 answers
27 views

How to cite in the section heading?

It is a bit strange but I want to cite in the section heading. But I couldn't find anything that works for me. I tried to do as per the suggestion with square and curly brackets, but that didn't even ...
user avatar
  • 37
1 vote
0 answers
295 views

Creating separate title page for each new section

I am new to LaTeX and I am writing my thesis atm. I want to have a separate title page for each new section where it states the Section number, title and a few lines explaining the contents of the ...
user avatar
0 votes
0 answers
18 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 ...
user avatar
0 votes
1 answer
32 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=...
user avatar
  • 1
0 votes
0 answers
26 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
0 answers
45 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
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
0 votes
0 answers
33 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
0 answers
50 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
0 answers
36 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 ...
user avatar
0 votes
0 answers
48 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{...
user avatar
0 votes
0 answers
99 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: \...
user avatar
0 votes
0 answers
52 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 ...
user avatar
0 votes
0 answers
62 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 ...
user avatar
0 votes
2 answers
82 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" ...
user avatar
0 votes
0 answers
28 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, ...
user avatar
0 votes
0 answers
62 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~\...
user avatar
0 votes
0 answers
84 views

How to get two different types of Sections in one document

So basically I need to have two different section headings; one that is alphanumeric (A, B, C...) and one that is labelled like Experiment #1, Experiment #2, etc. So far I found this solution that was ...
user avatar
  • 1
0 votes
1 answer
65 views

How do I eliminate the space between my header and section title?

I'm currently trying to make a system where I can organize lecture notes effectively in a readable fashion - however, I've ran into some trouble in that I can't seem to get rid of the egregious amount ...
user avatar
0 votes
0 answers
63 views

Adjust Summary and Bibliography

I ask you, dear colleagues, I'm having trouble with LaTeX, I have the following preamble: \documentclass[ % -- op\c{c}\~{o}es da classe memoir -- 12pt, % tamanho da fonte ...
user avatar
0 votes
0 answers
47 views

Can someone tell me why is the title look like this?

\makeatother%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \renewcommand{\thesection}{\Roman{section}} \renewcommand{\thesubsection}{\thesection.\Alph{subsection}} \usepackage[brazil]{...
user avatar
0 votes
0 answers
50 views

Formatting sections, subsections... trouble titlesec

I have a problem at the moment to edit subsections and else with titlesec, I've read the documentation (and probably misunderstand it), done few attempts, but no success. I attached the image with ...
user avatar
0 votes
0 answers
95 views

How to change my subsection format to Times New Roman and bold?

I am very new to Latex. For some reason the subsection in my document is appearing in italics, both the subsection number and the text. I have been trying to get them to appear in Times New Roman bold....
user avatar
  • 1
0 votes
0 answers
56 views

Generating rules for section, subsection and subsubsection

I would like to have a template rule at the beginning of my document, that will make my sections, subsection and subsubsections to look as below: A. FIRST SECTION FONT CENTURY SMALL CAPS BOLD Grey ...
user avatar
  • 1
0 votes
1 answer
243 views

Susubsection problem with titlesec package

I want to frame the section numbers and I searched for everywher I did not find the solution \documentclass{book} \usepackage{lipsum} \usepackage{titlesec} \usepackage{tikz} \titleformat{\section}% ...
user avatar
0 votes
0 answers
106 views

How do I split images by section?

I'm currently writing my thesis and I'm trying to split several images under different sections. For some reason, the images dont appear under the correct sections and instead are just placed on the ...
user avatar
0 votes
0 answers
219 views

Section title gets too long in header

On page 9 of the generated document, you can see that the section title is so long that is gets on two lines and overrides the chapter title. In some programming languages, I would think of including ...
user avatar
  • 163
0 votes
0 answers
74 views

Why do some packages not work in section titles?

Sincere apologies if I am not using the format of this site correctly. I am using XeLaTeX with article class, and am trying to create commands for abreviations I use often. In two cases, however, ...
user avatar
0 votes
0 answers
59 views

How to condense Section Header in a single line?

I want to get my section header as a single line, but it jumpped to a next line as shown. How to fix it? This is the template I'm using. \documentclass[12pt, twoside]{book} \usepackage[utf8]{...
user avatar
0 votes
0 answers
159 views

Change font type and size of all section and subsection headings

The font for normal text should be Times New Roman. But I want to change the section and subsection headings to Uppercase-Arial-12 Size.The MWE is shown below. documentclass[letterpaper,11pt]{...
user avatar
0 votes
1 answer
38 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