Minor edits

This commit is contained in:
mark 2023-10-24 11:23:24 -07:00
parent 2cd4b4e548
commit 543b0182d2

View File

@ -470,6 +470,7 @@
% and its second arg takes two parts without hyperref and four with it. % and its second arg takes two parts without hyperref and four with it.
\newcommand{\@customlabel}[2]{% \newcommand{\@customlabel}[2]{%
\@ifpackageloaded{hyperref}{% \@ifpackageloaded{hyperref}{%
% This is broken
\@bsphack \@bsphack
\begingroup \begingroup
\def\label@name{#1}% \def\label@name{#1}%
@ -487,6 +488,7 @@
\endgroup \endgroup
\@esphack \@esphack
}{ }{
% This works as intended
\protected@write\@auxout{}{\string\newlabel{#1}{{#2}{\thepage}}}% \protected@write\@auxout{}{\string\newlabel{#1}{{#2}{\thepage}}}%
} }
} }
@ -610,7 +612,14 @@
breakable, breakable,
colback=#3, colback=#3,
colframe=#4, colframe=#4,
title={\textbf{#2}} title={\textbf{#2}},
%toprule = 0.6mm,
%bottomrule = 0.6mm,
%leftrule = 0.6mm,
%rightrule = 0.6mm,
%titlerule = 0.6mm,
arc=1mm,
outer arc = 1mm
] ]
\raggedright \raggedright
} { } {