Просмотр исходного кода

retours à la ligne dans les fancy sections

neze лет назад: 9
Родитель
Сommit
8fa4ccd7bf
2 измененных файлов с 4 добавлено и 4 удалено
  1. 3 3
      source/polytechnique.dtx
  2. 1 1
      source/polytechnique.sty

+ 3 - 3
source/polytechnique.dtx

244
         {\color{rouge485}\LARGE\bfseries\sffamily\filcenter}
244
         {\color{rouge485}\LARGE\bfseries\sffamily\filcenter}
245
         {\thesection}
245
         {\thesection}
246
         {0em}
246
         {0em}
247
-        {\MakeUppercase}
247
+        {\MakeUppercaseWithNewline}
248
         [\vspace*{-0.5\baselineskip}%
248
         [\vspace*{-0.5\baselineskip}%
249
             \includegraphics{\polyfiletlongrouge}]
249
             \includegraphics{\polyfiletlongrouge}]
250
     \titleformat{\subsection}
250
     \titleformat{\subsection}
970
                     \color{bleu303}\Huge\scshape
970
                     \color{bleu303}\Huge\scshape
971
                     \MakeUppercaseWithNewline{\polytitresave}
971
                     \MakeUppercaseWithNewline{\polytitresave}
972
 %    \end{macrocode}
972
 %    \end{macrocode}
973
-%La ligne qui précède affiche le titre. La commande |\MakeUpperCaseWithNewLine| sera définie par la suite.
973
+%La ligne qui précède affiche le titre. La commande |\MakeUpperCaseWithNewline| sera définie par la suite.
974
 %    \begin{macrocode}
974
 %    \begin{macrocode}
975
                 \ifthenelse{\boolean{subtitle}}{
975
                 \ifthenelse{\boolean{subtitle}}{
976
 %    \end{macrocode}
976
 %    \end{macrocode}
1013
           \raisebox{-\totalheight}[0pt][0pt]{%
1013
           \raisebox{-\totalheight}[0pt][0pt]{%
1014
         \includegraphics[height=\hauteurlogopage]{\polyarmes}}}
1014
         \includegraphics[height=\hauteurlogopage]{\polyarmes}}}
1015
 %    \end{macrocode}
1015
 %    \end{macrocode}
1016
-%On passe maintenant au titre, séparé par un espace vertical du haut de la page. La commande |\MakeUpperCaseWithNewLine| permet de mettre plusieurs lignes à la suite en capitales.
1016
+%On passe maintenant au titre, séparé par un espace vertical du haut de la page. La commande |\MakeUpperCaseWithNewline| permet de mettre plusieurs lignes à la suite en capitales.
1017
 %    \begin{macrocode}
1017
 %    \begin{macrocode}
1018
         \vspace*{0.125\textheight}
1018
         \vspace*{0.125\textheight}
1019
         \begin{center}
1019
         \begin{center}

+ 1 - 1
source/polytechnique.sty

54
         {\color{rouge485}\LARGE\bfseries\sffamily\filcenter}
54
         {\color{rouge485}\LARGE\bfseries\sffamily\filcenter}
55
         {\thesection}
55
         {\thesection}
56
         {0em}
56
         {0em}
57
-        {\MakeUppercase}
57
+        {\MakeUppercaseWithNewline}
58
         [\vspace*{-0.5\baselineskip}%
58
         [\vspace*{-0.5\baselineskip}%
59
             \includegraphics{\polyfiletlongrouge}]
59
             \includegraphics{\polyfiletlongrouge}]
60
     \titleformat{\subsection}
60
     \titleformat{\subsection}