diff --git a/collects/scriblib/figure.tex b/collects/scriblib/figure.tex index 4606cd5601..b7a586a2c8 100644 --- a/collects/scriblib/figure.tex +++ b/collects/scriblib/figure.tex @@ -1,5 +1,11 @@ \usepackage{ccaption} +% \legend relies on \belowcaptionskip, which is not defined +% by the JFP class file: +\makeatletter +\@ifundefined{belowcaptionskip}{\newlength{\belowcaptionskip}}{} +\makeatother + \newcommand{\Legend}[1]{~ \hrule width \hsize height .33pt