Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 46

18 Avr '24, 15:58

Gatix's gravatar image

Gatix
4316

Effectivement [link text][1]Effectivement les deux solutions proposées génèrent une page au format A4 paysage. Cela ne fonctionne qu'avec PDFTex? Ou est en lien avec l'impossibilité de modifier le layout due à l'oversize? Car lorsque j'intègre ces propositions à mon document, j'obtiens des bizzareries comme par exemple les entêtes et pieds de pages qui ne suivent pas ou des résultats différents selon la manière qu'on les introduit. En effet si on les introduit directement dans le document principale ou dans un document secondaire (`\include{}`) Je joint ici un exemple qui reproduit le problème. ## ECM \documentclass[a5paper, twoside,openright, 8pt]{extbook} \usepackage[french]{babel} \usepackage [T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{geometry} \usepackage{fancyhdr} \usepackage[thumblink=none,height={8mm},minheight={20pt},width={10mm},distance={1mm},topthumbmargin={40pt},bottomthumbmargin={40pt},nophantomsection=false,ignorehoffset=true,ignorevoffset=true,final=true,hidethumbs=false,verbose=true]{thumbs} \usepackage{pdfpages} \usepackage{graphicx} \usepackage{graphics} \usepackage{pdflscape} \usepackage{lipsum} \geometry{includehead,inner=20mm,outer=14mm,top=5mm,bottom=5mm} \setlength{\headheight}{5mm} \setlength{\headsep}{2mm} \setlength{\marginparsep}{2mm} \setlength{\marginparwidth}{13mm} \setlength{\footskip}{5mm} \fancypagestyle{plain}{% \fancyhf{}% \fancyhead[ro,le]{\bfseries\thepage}% \fancyhead[c]{\leftmark}% } \fancypagestyle{MonStyleAMoi}{% \fancyhf{}% \fancyhead[ro,le]{\bfseries\thepage}% \fancyhead[c]{\leftmark}% } \pagestyle{MonStyleAMoi} \renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{#1}}{}} \begin{document} \pagenumbering{arabic} \chapter{XXX} \addthumb{XXX}{\Huge{\textbf{\arabic{chapter}}}}{white}{gray} \lipsum[1-5] \chapter{YYY} \addthumb{YYY}{\Huge{\textbf{\arabic{chapter}}}}{white}{gray} \newpage \pdfpagewidth=845pt \pdfpageheight=597pt \newgeometry{margin=1in,right=-350pt} \lipsum[1-9] \newpage \pdfpagewidth=421pt \pdfpageheight=597pt \restoregeometry \chapter{ZZZ} \addthumb{ZZZ}{\Huge{\textbf{\arabic{chapter}}}}{white}{gray} \lipsum[1-5] \chapter{MMM} \addthumb{MMM}{\Huge{\textbf{\arabic{chapter}}}}{white}{gray} \lipsum[1-5] \include{ECMCHAP} \tableofcontents \end{document} ## ECMCHAP \chapter{ECMCHAP} \addthumb{ECMCHAP}{\Huge{\textbf{\Alph{chapter}}}}{white}{gray} \newpage \begingroup \thispagestyle{empty}% other \pagestyle{empty} \null \endgroup \newpage \lipsum[1-9] \newpage \pdfpagewidth=845pt \pdfpageheight=597pt \newgeometry{margin=1in,right=-350pt} \lipsum[1-9] \newpage \begingroup \thispagestyle{empty}% \null \endgroup \newpage \pdfpagewidth=421pt \pdfpageheight=597pt \restoregeometry Ou devrais-je plutôt utiliser Koma-Script et m'inspirer de [cette solution][1]? solution][2]? [1]: http:// [2]: https://texnique.fr/osqa/questions/8738/changement-de-format-de-papier-au-sein-dun-document
cliquez ici pour masquer/afficher la révision 45
Suppression de balises HTML

18 Avr '24, 12:04

denis's gravatar image

denis
7.3k2510

<p>Bonjour.</p> <p>Effectivement Effectivement les deux solutions proposées génèrent une page au format A4 paysage.</p> <p>Cela paysage. Cela ne fonctionne qu'avec PDFTex?</p> <p>Ou PDFTex? Ou est en lien avec l'impossibilité de modifier le layout due à l'oversize?</p> <p>Car l'oversize? Car lorsque j'intègre ces propositions à mon document, j'obtiens des bizzareries bizzareries comme par exemple les entêtes et pieds de pages qui ne suivent pas ou des des résultats différents selon la manière qu'on les introduit. En effet si on les introduit directement dans le document principale ou dans un un document secondaire (\include{})</p> <p>Je (`\include{}`) Je joint ici un exemple qui reproduit le problème</p> problème. ## ECM <code> \documentclass[a5paper, twoside,openright, 8pt]{extbook} \usepackage[french]{babel} \usepackage [T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{geometry} \usepackage{fancyhdr} \usepackage[thumblink=none,height={8mm},minheight={20pt},width={10mm},distance={1mm},topthumbmargin={40pt},bottomthumbmargin={40pt},nophantomsection=false,ignorehoffset=true,ignorevoffset=true,final=true,hidethumbs=false,verbose=true]{thumbs} \usepackage{pdfpages} \usepackage{graphicx} \usepackage{graphics} \usepackage{pdflscape} \usepackage{lipsum} \geometry{includehead,inner=20mm,outer=14mm,top=5mm,bottom=5mm} \setlength{\headheight}{5mm} \setlength{\headsep}{2mm} \setlength{\marginparsep}{2mm} \setlength{\marginparwidth}{13mm} \setlength{\footskip}{5mm} \fancypagestyle{plain}{% \fancyhf{}% \fancyhead[ro,le]{\bfseries\thepage}% \fancyhead[c]{\leftmark}% } \fancypagestyle{MonStyleAMoi}{% \fancyhf{}% \fancyhead[ro,le]{\bfseries\thepage}% \fancyhead[c]{\leftmark}% } \pagestyle{MonStyleAMoi} \renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{#1}}{}} \begin{document} \pagenumbering{arabic} \chapter{XXX} \addthumb{XXX}{\Huge{\textbf{\arabic{chapter}}}}{white}{gray} \lipsum[1-5] \chapter{YYY} \addthumb{YYY}{\Huge{\textbf{\arabic{chapter}}}}{white}{gray} \newpage \pdfpagewidth=845pt \pdfpageheight=597pt \newgeometry{margin=1in,right=-350pt} \lipsum[1-9] \newpage \pdfpagewidth=421pt \pdfpageheight=597pt \restoregeometry \chapter{ZZZ} \addthumb{ZZZ}{\Huge{\textbf{\arabic{chapter}}}}{white}{gray} \lipsum[1-5] \chapter{MMM} \addthumb{MMM}{\Huge{\textbf{\arabic{chapter}}}}{white}{gray} \lipsum[1-5] \include{ECMCHAP} \tableofcontents \end{document} </code> ## ECMCHAP <code> \chapter{ECMCHAP} \addthumb{ECMCHAP}{\Huge{\textbf{\Alph{chapter}}}}{white}{gray} \newpage \begingroup \thispagestyle{empty}% other \pagestyle{empty} \null \endgroup \newpage \lipsum[1-9] \newpage \pdfpagewidth=845pt \pdfpageheight=597pt \newgeometry{margin=1in,right=-350pt} \lipsum[1-9] \newpage \begingroup \thispagestyle{empty}% \null \endgroup \newpage \pdfpagewidth=421pt \pdfpageheight=597pt \restoregeometry </code> Ou devrais-je plutôt utiliser Koma-Script et m'inspirer de [cette solution][1]? [1]: https://texnique.fr/osqa/questions/8738/changement-de-format-de-papier-au-sein-dun-document
cliquez ici pour masquer/afficher la révision 44

16 Avr '24, 19:57

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 43

16 Avr '24, 19:56

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 42

16 Avr '24, 19:54

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 41

16 Avr '24, 19:53

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 40

16 Avr '24, 19:51

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 39

16 Avr '24, 19:49

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 38

16 Avr '24, 19:47

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 37

16 Avr '24, 19:46

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 36

16 Avr '24, 19:44

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 35

16 Avr '24, 19:42

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 34

16 Avr '24, 19:37

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 33

16 Avr '24, 19:30

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 32

16 Avr '24, 19:28

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 31

16 Avr '24, 19:28

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 30

16 Avr '24, 19:27

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 29

16 Avr '24, 19:26

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 28

16 Avr '24, 19:24

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 27

16 Avr '24, 19:23

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 26

16 Avr '24, 19:21

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 25

16 Avr '24, 19:20

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 24

16 Avr '24, 19:19

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 23

16 Avr '24, 19:18

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 22

16 Avr '24, 19:12

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 21

16 Avr '24, 19:11

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 20

16 Avr '24, 19:07

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 19

16 Avr '24, 19:01

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 18

16 Avr '24, 18:58

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 17

16 Avr '24, 18:57

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 16

16 Avr '24, 18:56

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 15

16 Avr '24, 18:54

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 14

16 Avr '24, 18:53

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 13

16 Avr '24, 18:50

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 12

16 Avr '24, 18:49

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 11

16 Avr '24, 18:47

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 10

16 Avr '24, 18:39

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 9

16 Avr '24, 18:38

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 8

16 Avr '24, 17:55

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 7

16 Avr '24, 17:55

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 6

16 Avr '24, 17:53

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 5

16 Avr '24, 17:52

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 4

16 Avr '24, 17:48

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 3

16 Avr '24, 17:46

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 2

16 Avr '24, 17:45

Gatix's gravatar image

Gatix
4316

cliquez ici pour masquer/afficher la révision 1

16 Avr '24, 17:41

Gatix's gravatar image

Gatix
4316

C'est votre première visite ici ? Consultez la FAQ !

×