[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: One Page Dungeon Layout in groff?
From: |
Laurens Kils-Hütten |
Subject: |
Re: One Page Dungeon Layout in groff? |
Date: |
Sun, 14 Aug 2022 00:04:50 +0200 |
So, I learned quite a bit today, thanks for the pointer to the archives.
Here's my proof of concept: https://ttm.sh/qhr.png
.\" Macros to typeset One Page Dungeons
.\" in groff
.\"
.de opdMap \" start with the map
.br
.mk a \" Mark current position
.PSPIC -L \\$1 4i \" insert map image 4 inches wide
.br
.mk b \" Mark lower edge of map
..
.de opdSB \" start the side bar
.sp |\\nau \" move back to mark a
.in +4.2i \" increase indent by 4.2 inches
. \" left margin is now just right
. \" of the map
.ft R
..
.de opdH \" section header for opd stuff
.sp 1v
.ft B
..
.de opdLB \" opd begin entries
.ft R
.in +1.3
.br
..
.de opdLI \" opd list entries
.br
.ti -1.3
..
.de opdLE \" opd end list
.in -1.3
.br
..
.de opdEN \" end of special opd stuff
.br \" break line, just to make sure
.sp |\\nbu \" move to mark b
. \" that's the lower edge of the map
. \" we marked above
.sp 1v
..
--
https://octodon.social/web/@lkh
xmpp: lkh@jabber.de
IRC: lkh on Libera.chat and others
Signal: +491627291956
Discord: lkh#2319
- One Page Dungeon Layout in groff?, Laurens Kils-Hütten, 2022/08/13
- Re: One Page Dungeon Layout in groff?, John Gardner, 2022/08/13
- Re: One Page Dungeon Layout in groff?, Ralph Corderoy, 2022/08/13
- Re: One Page Dungeon Layout in groff?, Laurens Kils-Hütten, 2022/08/13
- Re: One Page Dungeon Layout in groff?,
Laurens Kils-Hütten <=
- Re: One Page Dungeon Layout in groff?, Ralph Corderoy, 2022/08/14
- Re: One Page Dungeon Layout in groff?, Laurens Kils-Hütten, 2022/08/14
- Re: One Page Dungeon Layout in groff?, Ralph Corderoy, 2022/08/14
- Re: One Page Dungeon Layout in groff?, Laurens Kils-Hütten, 2022/08/14
- Re: One Page Dungeon Layout in groff?, Laurens Kils-Hütten, 2022/08/14
- Re: One Page Dungeon Layout in groff?, Ralph Corderoy, 2022/08/15
- Re: One Page Dungeon Layout in groff?, Deri, 2022/08/15
- Re: One Page Dungeon Layout in groff?, Ralph Corderoy, 2022/08/16
- Re: One Page Dungeon Layout in groff?, Deri, 2022/08/16
- Re: One Page Dungeon Layout in groff?, Dave Kemper, 2022/08/16