From 76f7cf355613e57f25e4de3cfe1fc003dd8aa734 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Fri, 27 Jan 2023 12:59:11 +0100
Subject: [PATCH] minor tidyup

---
 docs.tex   | 7 +++++--
 layout.sty | 1 +
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/docs.tex b/docs.tex
index b2bf8dda..92eb0b92 100644
--- a/docs.tex
+++ b/docs.tex
@@ -110,7 +110,9 @@ Then we have \verb"\begin{exampletext}" for example:
   Typically, they get used to assault players with massive amounts of introductory text.
 \end{exampletext}
 
-\subsection{Magical Items}
+\subsection{Magic}
+
+\subsubsection{Magical Items}
 
 This is a magical item.
 
@@ -134,7 +136,7 @@ This is a magical item.
   {2}% Potency
   {5}% MP
 
-\subsection{Spheres}
+\subsubsection{Spheres}
 
 Each sphere is produced with a sphere command, so this -- \verb"\sphere{Mirrors}" -- would produce the `Mirrors' sphere.
 
@@ -162,6 +164,7 @@ Writing \verb"\pic{b1}" shows the image under \verb"images/b1.svg".
 The file extension can be either `svg' or `jpg' (but never `jpeg').
 
 Use \verb"\sidepic{l1}" to show that image at the side of the text.
+It doesn't work well and messed up text if it doesn't have enough text around it.
 
 \pic{b1}
 
diff --git a/layout.sty b/layout.sty
index 3795574a..e797ecca 100644
--- a/layout.sty
+++ b/layout.sty
@@ -166,6 +166,7 @@ bookmarks=true]%
   \expandafter\@Repeat\expandafter{\the\numexpr #1\relax}%
 }
 
+% This function divides a number by two, and rounds it up.
 \newcommand\roundUp[1]{
   \ifodd\value{#1}
     \stepcounter{#1}
-- 
GitLab