From 271ec1bbf14b43b37c804e45531eb05c537512c5 Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@tutamail.com> Date: Tue, 26 Jan 2021 01:43:13 +0100 Subject: [PATCH] adjust left border of chapter line --- bind.sty | 3 ++- example.tex | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/bind.sty b/bind.sty index 66cea7d0..797ac34a 100644 --- a/bind.sty +++ b/bind.sty @@ -249,8 +249,9 @@ bookmarks=true]% \ifnum\value{pageDarkness}<90 \addtocounter{pageDarkness}{10} \fi + \hspace*{-1.5em} \begin{tikzpicture} - \node[minimum width=\linewidth+2em, text=white, fill=\pageSideColor, inner sep=1, outer sep=0, anchor=south] (rectinit) {\Huge \headingtype}; + \node[minimum width=\linewidth+3em, text=white, fill=\pageSideColor, inner sep=1, outer sep=0, anchor=south] (rectinit) {\Huge \headingtype}; \node[minimum width=.75\textwidth, text=white, inner sep=3, outer sep=0, anchor=south west, text width=.75\textwidth, align=right] at (rectinit.south west) (chapname) {}; \node[minimum width=.25\textwidth, inner sep=-5, outer sep=0, anchor=south west, text width=.25\textwidth, align=left] at (chapname.south east) {\chapnumfont\textcolor{chapnumcol}{\Roman{chapter}}}; \end{tikzpicture}} diff --git a/example.tex b/example.tex index 0163c05d..291776db 100644 --- a/example.tex +++ b/example.tex @@ -338,6 +338,16 @@ When using a bestiary chapter, the stats appear as dice rolls, rather than fixed \lipsum +\end{multicols} + +\chapter{Lots More Text} + +\begin{multicols}{2} + +\noindent +\lipsum + + \end{multicols} \end{document} -- GitLab