Questions tagged [section-titles]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
36 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 ...
0
votes
1answer
70 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
23 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
28 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
13 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
19 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 ...
4
votes
2answers
43 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 ...
0
votes
1answer
53 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
34 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
32 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 ...
1
vote
1answer
28 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! ...
0
votes
1answer
60 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
1answer
20 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} \...
3
votes
1answer
16 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{...
1
vote
0answers
33 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 ...
0
votes
0answers
35 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 ...
3
votes
2answers
38 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 ...
0
votes
0answers
32 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
1answer
20 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
0answers
35 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
37 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
32 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 ...
2
votes
1answer
75 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 ...
0
votes
1answer
28 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
56 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}} ...
1
vote
2answers
75 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 ...
2
votes
1answer
35 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. ...
0
votes
1answer
23 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
42 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]{\...
1
vote
2answers
60 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
2answers
145 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
45 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
37 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 ...
1
vote
1answer
39 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 ...
0
votes
0answers
36 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]{...
1
vote
1answer
156 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 ...
0
votes
1answer
25 views

Header with section title while numbering is in the footer?

How can I put the section/subsection title and number on the header while having the numbering in the footer? \pagestyle{...} doesn't allow for this combination.
0
votes
1answer
33 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
33 views

why \subparagraph in text does not appear in Table of Content and no numbering? [duplicate]

\section{section} \subsection{subsection} \subsubsection{subsubsection} \paragraph{paragraph} \subparagraph{subparagraph} Outcome: Why in table of content or text as 1.1.1.1.1 subparagraph I am ...
11
votes
1answer
492 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. ...