File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 78
78
79
79
% Set the xref label for a clause to be "Clause n", not just "n".
80
80
\makeatletter
81
- \newcommand {\customlabel }[2 ]{%
82
- \@bsphack \begingroup \ protected@edef \@currentlabel { \protect \M@TitleReference {#2}{ \M@currentTitle }} \MNR@label {#1} \endgroup \@esphack %
81
+ \newcommand {\customlabel }[3 ]{%
82
+ \@bsphack \protected@write\@auxout {}{ \string\newlabel {#1}{{#3}{ \thepage }{}{#2. \thechapter }{}}} \@esphack %
83
83
}
84
84
\makeatother
85
- \newcommand {\clauselabel }[1]{\customlabel {#1}{Clause \thechapter }}
86
- \newcommand {\annexlabel }[1]{\customlabel {#1}{Annex \thechapter }}
85
+ \newcommand {\clauselabel }[1]{\customlabel {#1}{chapter}{ Clause \thechapter }}
86
+ \newcommand {\annexlabel }[1]{\customlabel {#1}{appendix}{ Annex \thechapter }}
87
87
88
88
% Use prefix "Annex" in the table of contents
89
89
\newcommand {\annexnumberlinebox }[2]{Annex #2\space }
You can’t perform that action at this time.
0 commit comments