Questions tagged [section-titles]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
12
votes
1answer
650 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. ...
4
votes
2answers
44 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 ...
3
votes
1answer
21 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{...
3
votes
2answers
40 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 ...
2
votes
1answer
38 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. ...
2
votes
1answer
77 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 ...
1
vote
2answers
87 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 ...
1
vote
1answer
82 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} \...
1
vote
2answers
64 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 \...
1
vote
1answer
30 views

microtype justification not working on unnumbered section

I am trying to write a paper using \twocolumn and \microtype. Justification looks pretty good in the text, but not in the section (it protrudes into the second column). How can I stop that? Thank you! ...
1
vote
1answer
40 views

Coloring headlines (\section, \subsection with colors)

How do I color all headlines of a specific type in a document easily? I want every \subsection{} to be in the color "peru": \definecolor{peru}{rgb}{0.8,0.52,0.25}, and I don't want to write \...
1
vote
1answer
43 views

How can section titles be moved outward?

I'm looking for something similar to this example screenshot I took of what my notes (written in Markdown, turned into HTML with pandoc) look like in HTML. I'd like to have a somewhat similar look ...
1
vote
1answer
198 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 ...
1
vote
1answer
38 views

Bold on Arial font in sections

I am trying to have bold in the sections and sub sections using Arial font, all I managed is non-bold titles, here is my conde: \documentclass[12pt]{article} \usepackage{fontspec} \usepackage[english]{...
1
vote
0answers
13 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 ...
1
vote
1answer
38 views

Changing Enumerations of subsections to a specific format

I am currently writing a kind of requirement analysis and want to enumerate my sections and subsections in a certain style: My sections, should look like normal so e.g. "1.1 Import and Export of ...
1
vote
0answers
39 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 ...
1
vote
1answer
40 views

Table of content and section formatting

I've managed to change the section formating mid-document. However, in the table of contents, the formatting resets. I'm new to latex so I don't fully understand the \titleformat option. I want it to ...
1
vote
2answers
244 views

Changing text color with new command in .cls file

I'm writing a class which I can call myclass. I try to define the following commands for changing the text colors (text, section, etc.): \RequirePackage{xcolor} \newcommand{\setsectioncolor}[1]{\...
0
votes
1answer
21 views

How can I make custom section label inline with name?

So I decided to try TikZ With titlesec by customising the section header design. This is what I have so far. \documentclass[10pt]{article} \usepackage{tikz} \usepackage{titlesec} \usepackage{titletoc}...
0
votes
1answer
24 views

How to remove the indentation of the section-title second line using droit-fr class?

I am using the droit-fr class, and I need only section titles not to be indented on the second line (and the following). Here is my MWE: \documentclass[a4paper,12pt,french,twoside,footnotereset=true,...
0
votes
1answer
31 views

Custom section titles do not look similar (despite having the same code)

I produce the following custom section titles: There is quite a bit of stuff that is hardcoded (i.e. requires me to eyeball it) in here, which makes me nervous. Why are the two vrules not the same ...
0
votes
1answer
14 views

How to flushright section title (with special style)?

I have some code that currently creates a section title like this: The relevant line in the code which does this is: \titleformat{\section}[hang]{\fontsize{30}{38}\selectfont\bfseries}{\color{c1}}{...
0
votes
1answer
21 views

How to get the section number above section title (like given example)

I wonder how I would be able to achieve this effect like the authors of this report have done with a big section number above the section title and where both the title and number are centered and ...
0
votes
1answer
56 views

Custom counter in section with multiple numbers

I'm writing an article but I have to start as "2.4 Chapter Title" (the final pdf output has to be merged with the other chapters). I know I could shift all the headings and instead of starting with "...
0
votes
1answer
22 views

Unwanted section marks in Exercises, Index and Bibliography headings

I am writing a book in twoside book documentclass. I am using the following code snippet to modify my headers and footers. % Header-Footer \usepackage[english]{babel} \renewcommand\cftsecpresnum{\S} \...
0
votes
1answer
21 views

Changing Section Numbering Ruins TOC

I am trying to include the word "Appendix" in the section titles before the appendix number. Trying \renewcommand{\thesection}{Appendix \Alph{section}:} works, but messes up the table of contents - ...
0
votes
1answer
33 views

Using tikzpicture as robust command within section title

I was trying to use a tikzpicture using a robust custom command in a section title as is it described here. I'm not getting error when using the robust command but my custom symbols definition is ...
0
votes
1answer
24 views

Supplementary information gives problems with numbering of subsection

I used to make the Appendix by calling it "Appendix" in the following way: % in the following I just show the documentclass in case it is relevant \documentclass[aps,pre,onecolumn,noshowpacs,...
0
votes
1answer
50 views

Change prefix and numbering of section titles

We have a document that is structured for example as follows: Section 1.1 lorem ... Section 2.1 lorem ... Pos. 3 Pos. 3.1 Pos. 3.2 Pos. 3.3 Pos. 4 Pos. 5 Section So I have to be free ...
0
votes
1answer
36 views

Make headsep larger if section starts on a new page

I'm using the KOMA-script scrartcl class with the geometry package and would like to have my sections (which always start on a new page) have some extra vertical spacing between the headsepline, but I ...
0
votes
0answers
13 views

Start Appendix Numbering at B instead of at A [closed]

I think this is a pretty simple thing to ask but I can't figure it out. I am preparing a document, but I need to put the appendices in separate files but I want to preserve their numbering. I've ...
0
votes
0answers
27 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....
0
votes
0answers
26 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 ...
0
votes
1answer
21 views

Table of contentes: title overlaping

I am using this code for table of contents, \tableofcontents{} but for the sections where I apply \renewcommand{\thesection}{Appendix \Alph{section}} \section{- Summary statistics by year} the ...
0
votes
1answer
35 views

Make Part look like Section and make Section look like paragraph; but with all the numbering preserved?

So I am trying to write a book summary, a few pages long. Is there any way to make part look just like section, except preserving the Roman numbering for part; and make section look just like ...
0
votes
1answer
60 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}% ...
0
votes
1answer
85 views

Weird font section and subsection

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 ...
0
votes
1answer
46 views

Center section titles in Beamer metropolis theme

I would like to center only the section titles in the beamer metropolis theme, without changing the other defaults (in particular I would like to keep the progress bar). I have tried the following, ...
0
votes
0answers
34 views

Hyperref/nameref cross referencing : How to override colors

I am quite a beginner in LaTeX. I have a section title that contains a command I defined. The command is a brand name with its colors. When I reference it in an other part of my document, I would ...
0
votes
0answers
12 views

Format Section headings in an easy way in document class{article} [duplicate]

In Document class{article}, I am looking to format the section '1 Introduction' as '1. Introduction'. Is there an easy way to do this with [ ] options after \section{Introduction}? Note: I wish to do ...
0
votes
1answer
71 views

\section formatting

I am trying to format my \section command in order to get a result like : "Partie" is a piece a text I want to see everytime. Then "1" corresponds to the section number, and "Introduction" to the ...
0
votes
0answers
19 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 ...
0
votes
0answers
36 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 ...
0
votes
0answers
33 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, ...
0
votes
0answers
38 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]{...
0
votes
0answers
54 views

Numbered sections, Appendices and Table of Contents in moderncv

I am in a messy situation with a long application that needs the CV to have numbered sections and also appendices as well as a table of contents. I have chosen the moderncv since it looks very good ...
0
votes
1answer
58 views

Section title with as subtitle as the title for tcolorbox?

To get a section title with a subtitle (where I also do not want the subtitle to show up in the table of contents) I've been using something like: \section[Title]{Title\\ \footnotesize{Subtitle}} ...
0
votes
1answer
58 views

Set Section name as a mark for Fancyhdr header

I am using the fancyhdr package in my code and the preamble looks like this \fancyhf{} \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{#1}{}} \fancyhead[LE,RO]{\thepage} \fancyhead[RE]{\...
0
votes
1answer
39 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 ...