Text Formattingparskip setting ignored in flowfram

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
baptnz
Posts: 1
Joined: Wed Oct 19, 2022 10:21 pm

parskip setting ignored in flowfram

Post by baptnz »

I'm using static frames from `flowfram` to design a poster, and I've run into some issues with vertical spacing (notably with `titlesec`, which seems to squash my pre-section spacing, but that seems to be another problem). Trying to narrow down the issue, I've noticed that `\parskip` seems to have no effect if I define it outside the frames:

Code: Select all

%!TeX encoding = UTF-8 Unicode
\documentclass[12pt]{article}
\usepackage[]{geometry}
\usepackage{multicol}

%%%%%%%%%%%%%%%% the frames %%%%%%%%%%%%%%%%%
\usepackage[draft]{flowfram}

\newstaticframe[1]{150mm}{200mm}
                   {10mm}{10mm}[introduction]

\setallstaticframes{valign=t}
% add dummy flow frames to please the package
\newflowframe[1]{\textwidth}{0pt}{0pt}{0pt}
\newflowframe[>1]{\textwidth}{\textheight}{0pt}{0pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\setlength{\parskip}{2em} % this has no effect
\setlength{\parindent}{20pt} % neither does this

\begin{document}

\begin{staticcontents*}{introduction}
\setcounter{unbalance}{10} 

\begin{multicols}{2}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat.

$$
\alpha = \beta
$$

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum
dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.

\columnbreak

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Lorem ipsum dolor sit amet, consectetur adipiscing
elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum
dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

\end{multicols}

\end{staticcontents*} % end-introduction

\end{document}
(note that I'm using multicols as well, in case there's an extra interaction to consider).

Image

I can't find anything to adjust the parskip, short of setting it explicitly inside every staticframe. I found that \setlength{\sdfparindent}{2em} can be used for the parindent, but I've had no luck finding something similar for parskip.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply