Questions tagged [section-titles]

256 questions
4
votes
1 answer

Justify section number and multi-line section title

I have long sections' titles and latex renders them like this 21. Very very very very very very very very very very very very very very very very very very Long section title example This is the text below title. but I want to render…
Demiler
  • 77
3
votes
1 answer

Extract current section titles to be included in a URL

I'm writing a URL that contains §ions= part. I would like to add a macro after §ions=, so that whenever the URL is opened, the current section title will be filled in dynamically. I tried \thepage and \thesection which work both well and…
Carrie
  • 31
  • 2
3
votes
1 answer

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. The very first section in every chapter may appear…
SuperAl
  • 307
2
votes
1 answer

How to use \textsc{} in Section or Subsection?

I am trying to add \textsc{text} in my subsection title i tried \subsection{\textsc{Born-Oppenheimer} approximation} but no changement appeared, the text Born-Oppenheimer is not affected by the command \textsc{}. It is still in normal case. note: i…
1
vote
1 answer

How to change the layout of section titles

I put the title of my examples in a single table cell to create a look of half a box around it with the following code \newtheorem*{example}{\begin{tabular}{r|}example\\\hline\end{tabular}} How can I do something similar for section titles? I…
user283579
  • 121
  • 6
1
vote
1 answer

Modify section, subsection and subsubsection style

I was wondering if anyone would know how I can modify the general style that has the latex document so that the section part, subsection and subsubsection follow the specifications that I show in the following image. At the moment what I was doing…
1
vote
0 answers

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{cyan} }{}{}{\titlerule*[.5pc]{.}} but only…
1
vote
1 answer

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 title 1.1. Section I want to have that: Chapter…
1
vote
1 answer

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 tikz library, which I would like to use because of…
BlackMath
  • 169
1
vote
1 answer

Problem with Sectiontitle formatting

I want to mark the CV in which the sections are in capitals (sc shape and underlined. While overleave generates the correct output errors are reported. How to resolve this…
pablo
  • 37
0
votes
0 answers

May the top margin text be shorter than the title text?

Some times the text in the top margin matching a section, or subsection, title, is too long. Is there a way to use There is a long and winding road as subsection title, and the long an winding road as top margin text?
0
votes
1 answer

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 paper from the entire pdf. How could I achieve…
user2925716
  • 1,940
0
votes
1 answer

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{ \node[inner ysep=-1pt, inner…
0
votes
1 answer

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} \usepackage{array} …
0
votes
1 answer

Subsection title style

How can i get this result? The subsection number is a part of subsection title and it begins from par indent. If subsection title is to long it continues from new line as normal text (It is not aligned to the left side as in normal TeX document).
1
2