New answers tagged

2

You can suppress floats but then allow them after the 9th page. \documentclass[twocolumn]{article} \setcounter{totalnumber}{0} \AddToHook{shipout/before}{% \ifnum\value{page}=9 \setcounter{totalnumber}{1}\fi } \begin{document} \begin{figure}[t] \centering \rule{2cm}{2cm} \end{figure} aaa \newpage aaa \newpage aaa \newpage aaa \newpage aaa \newpage aaa ...


2

The package ragged2e provides the environment justify, which should be used as \begin{justify} ... \end{justify} within a left- or right-flushed text. Like all environments, internally it is implemented by two macros \justify and \endjustify, which explains why using \justify in your example does not lead to obvious (La)TeX errors but to a messed output. ...


2

You may want to pass the openany option to the book document class: \documentclass[openany]{book} \begin{document} \chapter{Foo} \chapter{Bar} \end{document} book defaults to starting new chapters on right (odd) pages, i.e. openright, but you can change this by passing openany (it's just the other way around for report, BTW). See https://latexref.xyz/...


3

It depends on what your toc looks like exactly, but in general I would suggest playing around with the spacing inside the toc rather than shifting the whole thing. Since you are using scrartcl you don't need the tocloft package for adjustments to the TOC. For example, you could change the beforeskip value for section entries to fit the table on one page by ...


Top 50 recent answers are included