Hot answers tagged sectioning
10
All sectional command globally set the internal conditional \if@nobreak to true. This conditional is reset to false as soon as a paragraph is started. However, floats would change it only if really typeset at the spot. The rationale is that a float appearing immediately after a sectional title counts as the first paragraph after the title.
You probably will ...
4
Bookmark are numbered with option numbered of package bookmark:
\usepackage{bookmark}
\bookmarksetup{numbered}
Of without bookmark with hyperref only:
\hypersetup{bookmarksnumbered}
Adding prefixes Chapter and Exercise can be done via a trick:
\renewcommand*{\thesection}{%
\texorpdfstring{}{Chapter }%
\arabic{section}%
\texorpdfstring{}{:}%
}
...
3
You can use the titlesec package and its \titleformat and \titlespacing commands.
\documentclass{book}
\usepackage[pass,showframe]{geometry}
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\filleft\Large}
{\chaptername\ \thechapter}
{5ex}
{\bfseries\MakeUppercase}
\titlespacing*{\chapter}
{0pt}
{-15pt}
{60pt}
\begin{document}
...
1
Ok, I've solved it while building the MWE. Actually Latex does all the work by itself, only the command \renewcommand\thesubsection{\Roman{subsection}} is necessary.
\documentclass[a4paper,10pt,twocolumn]{article}
\begin{document}
\tableofcontents
\clearpage
\section{First Section}
\section{Second Section}
\section{Third Section}
...
Only top voted, non community-wiki answers of a minimum length are eligible
