From 2bfa40b7a751c7678d6ba6ef340923732e038cce Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Sun, 18 Dec 2022 04:38:49 +0100 Subject: [PATCH] place statblock icons on alternating sides --- layout.sty | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/layout.sty b/layout.sty index eeb6656d..4cc0da9d 100644 --- a/layout.sty +++ b/layout.sty @@ -385,8 +385,13 @@ bookmarks=true]% \draw[ornamented frame inner, use path=ornament 1]; \draw[ornamented frame inner, use path=ornament 2]; % - \node at ([xshift=20pt,yshift=\thedr-10pt] north west) - {\iftoggle{bling}{\sidebling}{}}; + \ifodd\thepage + \node at ([xshift=-20pt,yshift=\thedr-10pt] north east) + {\iftoggle{bling}{\sidebling}{}}; + \else + \node at ([xshift=20pt,yshift=\thedr-10pt] north west) + {\iftoggle{bling}{\sidebling}{}}; + \fi } } -- GitLab