Sfoglia il codice sorgente

bugfix with subtitle

w2ak 10 anni fa
parent
commit
0654cfcbb8
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      source/polytechnique.sty

+ 2 - 1
source/polytechnique.sty

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