copied temporary code to langsci.cls to get the footnote layout right