Przeglądaj źródła

bugfix with subtitle

w2ak 11 lat temu
rodzic
commit
0654cfcbb8
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      source/polytechnique.sty

+ 2 - 1
source/polytechnique.sty

300
 \pagestyle{plain}
300
 \pagestyle{plain}
301
 \newboolean{subtitle}\setboolean{subtitle}{false}
301
 \newboolean{subtitle}\setboolean{subtitle}{false}
302
 \newcommand{\polysoustitresave}{}
302
 \newcommand{\polysoustitresave}{}
303
-\newcommand*{\subtitle}[1]{
303
+\def\subtitle{}
304
+\renewcommand*{\subtitle}[1]{
304
     \renewcommand*{\polysoustitresave}{#1}
305
     \renewcommand*{\polysoustitresave}{#1}
305
     \setboolean{subtitle}{true}
306
     \setboolean{subtitle}{true}
306
 }
307
 }