diff --git a/layout.sty b/layout.sty index 41fe4dfe1c132bbe6cdd09f2b98fdb49a4274feb..9a4d5cb37a3223004f339c5b463c413750abf595 100644 --- a/layout.sty +++ b/layout.sty @@ -639,7 +639,7 @@ Roll & Result \\ \newtcolorbox{rollchart}{tabularx={p{.25\linewidth}X},top=10pt,bottom=10pt} -\newtcolorbox{xpbox}[1]{tabularx={lc},bottom=10pt,top=10pt,equal height group=#1} +\newtcolorbox{xpbox}[1]{tabularx={lX},bottom=10pt,top=10pt,equal height group=#1} %%%%%%%%%%%%%%%%%%% COMMANDS %%%%%%%%%%%%%%%%%%%% diff --git a/test.tex b/test.tex index f9fe10364f99d314b401dae776bac9bb509c70ed..f4fffe6b1916cfa95beae0f86d2a23b4cd36164c 100644 --- a/test.tex +++ b/test.tex @@ -81,6 +81,21 @@ Roll & Result \\\hline \lipsum[7] +\begin{xpbox} + Attribute Level & Cost \\\hline + + Buy off negative & 5 \\ + + +1 & 10 \\ + + +2 & 20 \\ + + +3 & 30 \\ + + +4 & 50 \\ +\end{xpbox} + + \subsection{And further more\ldots} \lipsum[10]