From 9106d4f3afb90b0801759eafe4e6d33f04b5d6e6 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Sat, 4 May 2024 16:23:14 +0200
Subject: [PATCH] create swarm symbol

---
 glossary.tex |  9 +++++++++
 stats.sty    | 11 ++++-------
 2 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/glossary.tex b/glossary.tex
index b3e7ef29..c64dd6d1 100644
--- a/glossary.tex
+++ b/glossary.tex
@@ -910,6 +910,14 @@
   description={Animal},
 }
 
+\newglossaryentry{Sw}{
+  type=symbols,
+  sort=Swarm,
+  nonumberlist,
+  name={\Juno},
+  description={Swarm},
+}
+
 % Guild Symbols
 
 \newglossaryentry{poison}{
@@ -1049,6 +1057,7 @@
 \newcommand{\F}{\gls{F}} % female
 \newcommand{\E}{\gls{E}} % sentient
 \newcommand{\A}{\gls{A}} % creature
+\newcommand{\Sw}{\gls{Sw}} % creature
 \newcommand{\N}{\gls{N}} % nura
 \newcommand{\R}{\gls{R}} % morph
 \newcommand{\D}{\gls{D}} % undead
diff --git a/stats.sty b/stats.sty
index 7daa826e..f21e8367 100644
--- a/stats.sty
+++ b/stats.sty
@@ -950,15 +950,14 @@
 \newcommand\swarm[6][]%
 {
   \begin{tcolorbox}[
-    title={\A\ Swarm: #2},
+    title={\Sw\ #2},
     before upper={\parindent0pt},
     ornamented,
     fontupper=\small,
-    halign=flush left,
-    left=10pt,
-    right=15pt,
+    left=3pt,
+    right=3pt,
     top=0pt,
-    bottom=0pt,
+    bottom=10pt,
     ]
   \randomize
   \clean
@@ -997,9 +996,7 @@
     \par
     \par\textbf{Abilities:} \Abilities
   }%
-  \vspace{1.4em}%
   \end{tcolorbox}%
-  \null%
 }
 
 
-- 
GitLab