paper
class is very old, and its documentation is German only (I didn't found an English version). Yet, I would like to set up a French document with this class, and I'm encountering a problem with the figure's label. Here's a MWE showing the issue :
Code: Select all
Code, edit and compile here:
\RequirePackage[l2tabu,orthodox]{nag}\documentclass[11pt,twoside]{paper}\usepackage[T1]{fontenc}\usepackage[french]{babel}\usepackage{graphicx}\usepackage{subfig}\usepackage[total={6.25in,10in},left=1.25in,top=0.5in,includehead,includefoot]{geometry}\begin{document}\begin{figure}\centering\includegraphics[height=4cm]{example-image-a}\caption{Some caption text.}\end{figure}\end{document}
Weirdly, this class is the only one giving me an hard time in setting a proper French version of its captions, even using some options to the caption/subfig package :
Code: Select all
Code, edit and compile here:
\usepackage{subfig}\captionsetup{figurename=Figure,margin=1in,format=hang,font=small,format=plain,labelfont={bf,up,sf},textfont={up}}\captionsetup[subfigure]{margin=0cm,font=small,format=plain,labelfont={bf,up},textfont={up}}\captionsetup[table]{name=Table,labelfont={bf,up}}