From: Scott Worley Date: Thu, 21 Dec 2023 07:46:36 +0000 (-0800) Subject: Force line breaks between icon, character, screen name, and author X-Git-Url: http://git.scottworley.com/paperdoorknob/commitdiff_plain/0374fbde6508c909522c701cca9c7ca672a66719?ds=inline;hp=40b25122b6baf344aeb990b405f6015e6ffec8c8 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 --- 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