Sfoglia il codice sorgente

Bugfixes
In notitlpage option with single logo

Denis Merigoux 10 anni fa
parent
commit
3fc760c79f
3 ha cambiato i file con 9 aggiunte e 9 eliminazioni
  1. 1 1
      makefile_windows.bat
  2. 4 4
      source/polytechnique.dtx
  3. 4 4
      source/polytechnique.sty

+ 1 - 1
makefile_windows.bat

@@ -11,7 +11,7 @@ del *.ind
11 11
 del *.log
12 12
 del *.toc
13 13
 del *.out
14
-kpsewhich -var-value TEXMFMAIN > temp.txt
14
+kpsewhich -var-value TEXMFLOCAL > temp.txt
15 15
 set /p installdir=<temp.txt
16 16
 del temp.txt
17 17
 md "%installdir%/tex/latex/polytechnique"

+ 4 - 4
source/polytechnique.dtx

@@ -643,7 +643,7 @@ LaTeX version 1999/12/01 or later.
643 643
 %    \begin{macrocode}
644 644
 \newlength{\largeurminipage}
645 645
 \setlength{\largeurminipage}
646
-    {(\textwidth-\largeurlogovert)/\real{2}}
646
+    {(\textwidth-\largeurlogovert-0.5cm)/\real{2}}
647 647
 %    \end{macrocode}
648 648
 %\end{macro}
649 649
 %\begin{macro}{\distancetitrecorps}
@@ -904,7 +904,7 @@ LaTeX version 1999/12/01 or later.
904 904
     \noindent
905 905
     \begin{minipage}[b]{\largeurminipage}
906 906
         \hspace{0cm}\polyauthorsave
907
-    \end{minipage}
907
+    \end{minipage}%
908 908
 %    \end{macrocode}
909 909
 %La |minipage| permet les sauts de ligne pour avoir plusieurs auteurs, et |\hspace{0cm}| sert a ne pas faire une minipage vide si |\polyauthorsave={}|.
910 910
 %    \begin{macrocode}
@@ -913,13 +913,13 @@ LaTeX version 1999/12/01 or later.
913 913
 %Les blocs sont séparés par des ressorts horizontaux. Vient ensuite le bloc central avec le logo de l'X.
914 914
 %    \begin{macrocode}
915 915
     \includegraphics[width=\largeurlogovert]{\polylogovert}
916
-    \hspace*{\fill}
916
+    \hspace*{\fill}%
917 917
 %    \end{macrocode}
918 918
 %Et pour conclure la première ligne le bloc de droite qui contient la |\date|.
919 919
 %    \begin{macrocode}
920 920
     \begin{minipage}[b]{\largeurminipage}
921 921
         \flushright\hspace{0cm}\polydatesave
922
-    \end{minipage}
922
+    \end{minipage}%
923 923
 }
924 924
 %    \end{macrocode}
925 925
 %Le |\hspace{0cm}| sert a ne pas faire une minipage vide si |\polydatesave={}|.

+ 4 - 4
source/polytechnique.sty

@@ -231,7 +231,7 @@
231 231
 \setlength{\separationlogotrait}{-\baselineskip*2+10mm}
232 232
 \newlength{\largeurminipage}
233 233
 \setlength{\largeurminipage}
234
-    {(\textwidth-\largeurlogovert)/\real{2}}
234
+    {(\textwidth-\largeurlogovert-0.5cm)/\real{2}}
235 235
 \newlength{\distancetitrecorps}
236 236
 \setlength{\distancetitrecorps}
237 237
     {\separationtitrecorps-\baselineskip*2}
@@ -355,13 +355,13 @@
355 355
     \noindent
356 356
     \begin{minipage}[b]{\largeurminipage}
357 357
         \hspace{0cm}\polyauthorsave
358
-    \end{minipage}
358
+    \end{minipage}%
359 359
     \hspace*{\fill}
360 360
     \includegraphics[width=\largeurlogovert]{\polylogovert}
361
-    \hspace*{\fill}
361
+    \hspace*{\fill}%
362 362
     \begin{minipage}[b]{\largeurminipage}
363 363
         \flushright\hspace{0cm}\polydatesave
364
-    \end{minipage}
364
+    \end{minipage}%
365 365
 }
366 366
 \newcommand{\notitlepagelayout}{
367 367
 \thispagestyle{plain}