From 0374fbde6508c909522c701cca9c7ca672a66719 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Wed, 20 Dec 2023 23:46:36 -0800 Subject: [PATCH] Force line breaks between icon, character, screen name, and author h/t https://tex.stackexchange.com/questions/35110/how-to-stack-boxes-like-a-vertical-version-of-mbox#comment75823_37801 --- glowfic.py | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/glowfic.py b/glowfic.py index 7a9f82a..c8246a1 100644 --- a/glowfic.py +++ b/glowfic.py @@ -109,15 +109,12 @@ class BelowIconLayout(Layout): self._image_size = image_size def renderChunk(self, chunk: Chunk) -> bytes: - return b'''\\begin{wrapfigure}{l}{0pt} -%s - -%s - -%s - -%s -\\end{wrapfigure} + return b'''\\begin{wrapfigure}{l}{0pt}\\oalign{ +%s\\cr +%s\\cr +%s\\cr +%s\\cr +}\\end{wrapfigure} %s -- 2.44.1