Linked Questions

75
votes
2answers
13k views

What does \z@ do?

in parcolumns it has \z@ all over the space. I don't see it define it anywhere so I assume it is some internal command or something? I can't really make heads or tails of it though and I can't really ...
4
votes
3answers
516 views

Redefining \section to mean \section*

I'm sorry if this is a duplicate, however I couldn't seem to find an exact answer to this anywhere. I am typing up a paper in LaTeX, and for ease of typing (although not that much admittedly), I would ...
2
votes
2answers
3k views

Redefining \section command

I'm writing a draft of my notes with Latex. They are basically definitions related to a particular concept from different sources. Therefore I have used the command \section to highlight the concept ...
3
votes
2answers
375 views

How to remove blank page before my new report chapter?

This problem started after I added the following code in the preamble to set the default chapter title font ("INTRODUCTION" in the following code), which was big, bold and brash that I did not like, ...
3
votes
1answer
489 views

Redefine Section to include Hypertarget and tooltip

I would like section and subsection to automatically create a hypertarget (for external url linking into the pdf) and a pdftooltip, that displays the url (so the url is discoverable) \section{\...
2
votes
2answers
165 views

beamer: \insertshortsection

\documentclass{beamer} \begin{document} \begin{frame} \frametitle{Contents} \tableofcontents \end{frame} \section[Sec. A]{Section A} \subsection{SubSec a} \begin{frame} \frametitle{\insertsection: \...
3
votes
1answer
306 views

Why does my custom sectioning command crash on second run when using etoc?

Finally I have narrowed down the problem to a custom definition of a sectioning command using titlesec in explicit mode. I suspect it has something to do with me not providing an adequate counter for ...
0
votes
2answers
276 views

Memoir page number conflict with chapter header

I'm writing my thesis and I noticed that the page number on the upper right is written on top of some longer chapter headers. How can I solve this? I'm using overleaf. \documentclass[a4paper, 12pt, ...
1
vote
1answer
477 views

renewcommand \chapter

I gave a try to the proposition with a full exemple, but the chapter are not modified. \documentclass[% paper=A4, % paper size --> A4 is default in Germany twoside=true, ...
1
vote
1answer
278 views

Change font for the \paragraph command

If I add something like \paragraph{Title} Paragraph text to my LaTeX document, "Title" will have a bold font. I want to change it to \textit. How can I do it for \paragraph{} and \paragraph*{} ...
3
votes
2answers
130 views

A modified section command

I use the memoir \section command \section[TOC title][Header title]{Main title} together with a modified section command defined as \newcommand{\optionalsection}[1]{% \renewcommand\thesection{*\...
2
votes
2answers
146 views

Capitalize first letter of words in chapter mark

I would like to capitalize the first letter of several words in the chapter and the chapter mark. While text in the chapter itself is capitalized, in the chapter mark it is not. Here is a MWE of my ...
1
vote
1answer
143 views

How to make text / section heading after chapter same space

How do I make the spacing between the chapter title and the text / section / whatever after it the same space ? I tried using this \titlespacing\chapter{0pt}{50pt}{20pt} but the text and section after ...
2
votes
3answers
74 views

Add dot after chapter title (scrreprt document)

I have a problem with the numbers added to the chapters of my document: There is no dot after the number, e. g. "2 Theory" instead of "2. Theory". I tried adding a dot before the chapter title but ...
0
votes
2answers
196 views

How manage too long section name in header with fancyhdr/fancy environnement?

I have the next environnement: \usepackage{fancyhdr} \pagestyle{fancy} My problem is the next one. I have a section and a subsection with a too long name and they are overlapping on the page header. ...

15 30 50 per page