]> git.scottworley.com Git - paperdoorknob/commitdiff
Force line breaks between icon, character, screen name, and author
authorScott Worley <scottworley@scottworley.com>
Thu, 21 Dec 2023 07:46:36 +0000 (23:46 -0800)
committerScott Worley <scottworley@scottworley.com>
Thu, 21 Dec 2023 07:46:36 +0000 (23:46 -0800)
h/t https://tex.stackexchange.com/questions/35110/how-to-stack-boxes-like-a-vertical-version-of-mbox#comment75823_37801

glowfic.py

index 7a9f82aaf40e248b3c9806176da26a91e05cc26f..c8246a15b2598554ab60f79ed27ac3d70dadd740 100644 (file)
@@ -109,15 +109,12 @@ class BelowIconLayout(Layout):
         self._image_size = image_size
 
     def renderChunk(self, chunk: Chunk) -> bytes:
         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
 
 
 %s