Bonjour
J'utilise un package maison avec la classe article. Mais ce package gere mal les annexe et notamment les références. quand je fias des références il met que les numéro de pages en notation arabe (alors qu'ils sont en numérotation roamine).
En fait je voudrais qu'il mette: voir annexe B.2. Et pour les figures il met toujours
A.numerodelafigure
Comment peut on changer ca ?
Je vous met en code la partie du package concerné :
Merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73 \def\Annexes { \label{LastPage} \clearpage \thispagestyle{empty} \if@doubletome \setcounter{nbtome}{2}\makeguard{ANNEXES} \else \vbox {% \vskip 10.5cm% \begin{center}% {\huge \bfseries ANNEXES}% \end{center}% } \fi \clearpage \lfoot{\small \@footdate} \cfoot{% \if@partieentete \if@footsubjectexist \small \@footsubject \else \small \@subject \fi \fi } \rfoot{{\thepage}} \appendix \part*{ \sc Table des Annexes } \vskip 3cm \tableofappendix \clearpage \pagenumbering{Roman} \newcommand\theannexe{\string\Alph{nbannexe}} \renewcommand{\thefigure}{A.\arabic{figure}} \renewcommand{\thetable}{A.\arabic{table}} %\newcommand{\thesubannexe}{A.nbsubannexe} \setcounter{nbannexe}{0} \setcounter{nbsubannexe}{0} \setcounter{figure}{0} \setcounter{table}{0} \newwrite\toa \immediate\expandafter\expandafter\openout\toa=\jobname.toa% } \def\annexe#1 { \refstepcounter{nbannexe} \addtocounter{nbannexe}{1} \setcounter{nbsubannexe}{0} % \if@filesw\immediate% \write \toa{\string% \addtocounter{nbannexe}{1}} \write \toa{\string% \setcounter{nbsubannexe}{0}} \write \toa{\string% \contentsline{section}{\string\numberline{\string\Alph{nbannexe}} #1 }{\thepage}} %\fi \section*{\Alph{nbannexe}. #1 } }
Partager