# Tag Info

Accepted

### Size of integral symbol in section header with mlmodern

EDIT: As egreg correctly noted in the comments below, the change that we describe in the answer here will last temporarily since, on a subsequent update of the package, the change we propose will be ...
Accepted

### Beamer: How to add progress bar with section titles?

I know it's been a while, but you can blame the lockdown here in France for providing me free time... I started from Gonzalo Medina's proposal and build the missing stuff around it. I believe this ...
• 8,479
Accepted

### chemmacros \iupac command shows no formatting in titles

You get a warning, namely LaTeX Font Warning: Font shape OT1/cmss/bx/it' undefined (Font) using OT1/cmss/bx/n' instead on input line 7. which means that sans serif boldface italic is ...
• 993k
Accepted

### Part of subsection title not in bold

The analogue of \textbf for medium (not bold) is \textmd so.. \textmd{THIS IS NOT BOLD}
• 668k
Accepted

### Modify subsection numbering in KOMA

I literally googeled "koma latex change subsection" and used the first hit :). \documentclass{scrartcl} % https://tex.stackexchange.com/questions/353008 \renewcommand*\thesubsection{Unit \...
• 20.4k
Accepted

### Bad hyphenation in Section Title

You can use \section[form for header with no break](display form\\ with linebreak}
• 668k
Accepted

### Changing style of (sub)sections

Use the titlesec package and redefine the format for \subsection like \titleformat{\subsection}[runin]% {\normalfont\normalsize\bfseries}{\hspace*{\parindent}\thesubsection}{1em}{}
• 2,999
Accepted

### Fancyhdr and \thesection command

As I stated in my comment, the section number \thesection must be communicated through a mark (for \thechapter this isn't necessary as chapters always start at a new page). But normal LaTeX doesn't ...
• 12.7k
Accepted

### How to remove the words 'Who?' and 'When?' in the title page of Bergen beamer theme?

To remove 'Who' and 'When', add the following in the preamble \def\insertauthorindicator{}% Default is "Who?" \def\insertdateindicator{}% Default is "When?" For the second part, ...
• 1,100
Accepted

### Chapter headings on the side, with ornaments

While TikZ isn't actually needed for this, it does make aligning the text and clip art easier. \documentclass{article} \usepackage{tikz} \usepackage{lipsum} \newsavebox{\decorationbox} \savebox{\...
• 70.2k
Accepted

### Subtitles for subsections in scrbook

You can declare a new section command \subsecsubtitle \RedeclareSectionCommand[ afterskip=.5ex ]{subsection} \DeclareNewSectionCommand[ style=section, level=\subsectionnumdepth, afterskip=1....
• 81.7k

### Format \section like \subsection (except for numbering)

Taking a look for example in this answer of mine we can take a look at the general structure of the sectioning macros in the standard class article. The default for \subsection is (you can get this ...
• 49k
Accepted

### Fake bold applied inconsistently to section titles

The xfakebold code is quite simple minded: it simply inserts a \pdfliteral. Such a literal looses its effect at page breaks. Due to the asynchronic page breaking of TeX your section command is ...
• 294k

### How can I modify the section style like this?

Fairly simple using memoir: \documentclass{memoir} \usepackage[portuguese]{babel} \usepackage{lipsum} \chapterstyle{bianchi} \begin{document} \chapter{Introduç\~ao} \section{Some subsection} \lipsum \...
• 73.3k
Accepted

### Create attractive section

You can use a custom macro to format section heading using the sectsty package. If you need more flexibility, consider using the titlesec package, or switch to a more versatile document class like ...
• 105k
Accepted

### How to make a centered, non-bold abstract and section titles

Here is how to obtain what you want for section titles. I used the titlecaps package to have the first letter of each (significant) word capitalised, which looks better with small caps, in my ...
• 261k

### Modify subsection numbering in KOMA

If your use case doesn't require you to create cross-references to the "units", @Dr.ManuelKuehner's simple and straightforward answer is perfectly adequate. In, however, if you foresee a ...
• 439k

### Fancyhdr and \thesection command

A workaround which redefines \sectionmark to use only the left header of odd pages: \renewcommand{\sectionmark}[1]{\markright{#1\hfill \thesection}} MWE \documentclass[a4paper,12pt,twoside]{book} \...
• 4,098
Accepted

### add box around section title with a line

\documentclass[12pt]{article} \usepackage[sfdefault]{roboto} \usepackage[top=1cm, left=0.5cm, right=0.5cm, bottom=0.5cm]{geometry} \usepackage[explicit]{titlesec} \usepackage{tikz} \definecolor{...
• 3,254
Accepted

### Justify section number and multi-line section title

You may achieve your typesetting objective with the help of the sectsty package. \documentclass{report} \usepackage{sectsty} \sectionfont{\parindent0pt\nohang\raggedright} \begin{document} \...
• 439k

### Subtitles for subsections in scrbook

EDIT: I included a setting to adjust the vertical spacing between title and subtitle, which was missing, as indicated by OP. Subtitle The best approach, I think, would be to follow this answer and ...
• 1,231
Accepted

### Customise section with koma script

Something like this? \documentclass[openright]{scrbook} \usepackage{geometry} \geometry{a4paper,twoside, margin=3cm} \usepackage{blindtext}% only dummy text \usepackage{xcolor} \usepackage{xhfill} \...
• 15.5k

### Size of integral symbol in section header with mlmodern

Not an answer, just a test. \documentclass{article} \usepackage{amsmath} \usepackage{mlmodern} \begin{document} \section{$\int \sqrt{2x^2}$} $\int \sqrt{2x^2}$ \end{document} LuaLaTeX Output ...
• 20.4k
Accepted

### Changing text color with new command in .cls file

Here is an implementation that allows you to adjust the colour of the sectional units. Additional \resetXcolor macros are provided to remove any previous colour definitions. \documentclass{article} \...
• 567k
Accepted

### Format \section like \subsection (except for numbering)

You can also do that easily with the simplified syntax of titlesec: \documentclass[twocolumn]{article} \usepackage{lipsum} \usepackage{titlesec} \titleformat*{\section}{\large\bfseries} \titlespacing*...
• 261k
Accepted

### Changing section font in a res document

Well, the used template is very old and should not used any longer, for example it still uses outdated commands like \bf. Nevertheless, you can use in your preamble command \renewcommand\...
• 63.4k
Accepted

### cross-referencing in the appendix, imsart package

After \appendix, \section is redefined to apply \MakeUppercase to each title, which has the unfortunate consequence of uppercasing also thm. Indeed, you get LaTeX Warning: Reference `THM' on page 1 ...
• 993k