From 355abeed09ac25b00bd905e44f48e8ea0ff12fa1 Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Sat, 18 Nov 2023 13:57:15 +0100 Subject: [PATCH] remove old rollchart command --- layout.sty | 20 -------------------- test.tex | 4 ++-- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/layout.sty b/layout.sty index b8e6bd85..9ec997db 100644 --- a/layout.sty +++ b/layout.sty @@ -862,16 +862,6 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west) \begin{quotation}\noindent}% {\end{quotation}} -\newenvironment{rolltable}% -{\vspace{.3cm}\begin{tabular}{|lp{.8\textwidth}} - - -Roll & Result \\ -\hline - -}% -{\end{tabular}} - \newenvironment{exampletext} {\needspace{2em}% \it @@ -932,16 +922,6 @@ Roll & Result \\ code={\rowcolors{2}{}{gray!10}\needspace{1em}} } -\newtcolorbox{rollchart}{ - tabularx={cX}, - top=10pt, - bottom=10pt, - left=3pt, - right=3pt, - after={\afterparnoindent}, - code={\rowcolors{2}{}{gray!10}\needspace{2em}} - } - %%%%%%%%%%%%%%%%%%% COMMANDS %%%%%%%%%%%%%%%%%%%% \newcommand{\story}[2]{% diff --git a/test.tex b/test.tex index 5a6788af..0810425c 100644 --- a/test.tex +++ b/test.tex @@ -51,7 +51,7 @@ Current day should equal \arabic{r4b}. \subsection{And now for something completely different} -\begin{rollchart} +\begin{boxtable} Roll & Result \\\hline @@ -59,7 +59,7 @@ Roll & Result \\\hline 11 & Failure \\ -\end{rollchart} +\end{boxtable} \subsection{Random Text} -- GitLab