PierreSenellart / apxproof

LaTeX package for automatically putting proof environments in appendix
LaTeX Project Public License v1.3c
23 stars 8 forks source link

biblabel spacing hack for lipics should also apply to classes derived from lipics #2

Closed a3nm closed 7 years ago

a3nm commented 7 years ago

In a document using lipics-v2016.cls, the spacing of labels in the appendix bibliography is broken. Presumably the problem is that the tweak on \@biblabel implemented near the end of apxproof.sty (namely, \def\@biblabel{\hspace*{-2em}\small\@oldbiblabel}%) should also be applied to this document even though it uses lipics-v2016.cls and not lipics.cls.

I would suggest changing the test \ifthenelse{\equal{\@currentclass}{lipics}}{ to a less restrictive condition, maybe testing if the class starts with "lipics" (e.g., with xstring's \IfBeginWith). Maybe there are better options, e.g., testing if a lipics-specific command is defined...