Skip to content

Commit 32088cc

Browse files
committed
fix cref references to appendix
1 parent 383e205 commit 32088cc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sty/open-logic-book.cls

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@
116116
\def\captionnamefont{\small\sffamily\color{OLPcolor}}
117117
\def\captiontitlefont{\small\itfamily}
118118

119+
% change cref references to appendix after \appendix
120+
\crefname{appendix}{appendix}{appendices}
121+
\apptocmd{\appendix}{\crefalias{chapter}{appendix}}{}{}
122+
119123
\def\figurename{Fig.}
120124

121125
% Make justification a bit sloppy to avoid overfull lines
@@ -637,4 +641,3 @@ from \emph{Open Logic Text} revision
637641
\currentpdfbookmark{Table of Contents}{name}
638642
\tableofcontents*
639643
}
640-

0 commit comments

Comments
 (0)