Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Dernière révision Les deux révisions suivantes
3_composition:texte:pages:supprimer_l_en-tete_et_le_pied_d_une_page_blanche2 [2018/05/31 15:50]
d.p.carlisle
3_composition:texte:pages:supprimer_l_en-tete_et_le_pied_d_une_page_blanche2 [2018/12/04 00:50]
jejust
Ligne 1: Ligne 1:
---- +====== ​Really blank pages between chapters ​======
-title: ​Really blank pages between chapters +
-category: formatting +
-tags: structure +
-permalink: /​FAQ-reallyblank +
-date: 2014-06-10 +
----+
  
-# Really blank pages between chapters 
  
 If you're using the standard classes, you need to take special action; If you're using the standard classes, you need to take special action;
-the [`memoir`](https://​ctan.org/​pkg/​memoirclass and the [`Koma-Script`](https://​ctan.org/​pkg/​Koma-Scriptclasses provide +the [[ctanpkg>​memoir|memoir]] class and the [[ctanpkg>​Koma-Script|Koma-Script]] classes provide 
-their own support for this&​nbsp;&​mdash; ​see below. ​+their own support for this --- see below. ​
  
-[`Book`](https://​ctan.org/​pkg/​Book) ​(by default) and [`report`](https://​ctan.org/​pkg/​report(with `openrightclass+[[ctanpkg>​Book|Book](by default) and [[ctanpkg>​report|report]] (with ''​openright'' ​class
 option) ensure that each chapter starts on a right-hand (recto) page; option) ensure that each chapter starts on a right-hand (recto) page;
-they do this by inserting a `\cleardoublepagecommand between +they do this by inserting a ''​\cleardoublepage'' ​command between 
-chapters (rather than a mere `\clearpage`).  The empty page thus+chapters (rather than a mere ''​\clearpage''​).  The empty page thus
 created gets to have a normal running header, which some people don't created gets to have a normal running header, which some people don't
 like. like.
  
-The (excellent) [`fancyhdr`](https://​ctan.org/​pkg/​fancyhdrmanual covers this issue, basically +The (excellent) [[ctanpkg>​fancyhdr|fancyhdr]] manual covers this issue, basically 
-advising the creation of a command ​`\clearemptydoublepage`+advising the creation of a command ​''​\clearemptydoublepage''​
-<!-- {% raw %} --> + 
-```latex+ 
 +<​code ​latex>
 \let\origdoublepage\cleardoublepage \let\origdoublepage\cleardoublepage
 \newcommand{\clearemptydoublepage}{% \newcommand{\clearemptydoublepage}{%
Ligne 29: Ligne 23:
   {\pagestyle{empty}\origdoublepage}%   {\pagestyle{empty}\origdoublepage}%
 } }
-``` +</code> 
-<!-- {% endraw %} --+ 
-The ''​obvious'' ​thing is then to use this command to replace +The "obvious" ​thing is then to use this command to replace 
-`\cleardoublepagein a patched version of the `\chaptercommand.+''​\cleardoublepage'' ​in a patched version of the ''​\chapter'' ​command.
 (Make a package of your own containing a copy  (Make a package of your own containing a copy 
 of the command out of the class.) ​ This isn't particularly difficult, of the command out of the class.) ​ This isn't particularly difficult,
-but you can instead simply subvert ​`\cleardoublepage(which isn't+but you can instead simply subvert ​''​\cleardoublepage'' ​(which isn't
 often used elsewhere): often used elsewhere):
-```latex+ 
 +<​code ​latex>
 \let\cleardoublepage\clearemptydoublepage \let\cleardoublepage\clearemptydoublepage
-``` +</​code>​ 
-Note: this command works because ​`\clearemptydoublepageuses a copy +Note: this command works because ​''​\clearemptydoublepage'' ​uses a copy 
-of `\cleardoublepage`: instructions on macro programming +of ''​\cleardoublepage''​: instructions on macro programming 
-[patching techniques](/​FAQ-patchexplain the problem and+[[FAQ-patch|patching techniques]] ​explain the problem and
 why this is a solution. why this is a solution.
  
-The [`emptypage`](https://​ctan.org/​pkg/​emptypagepackage does this sort of thing for you; all+The [[ctanpkg>​emptypage|emptypage]] package does this sort of thing for you; all
 you need do is load the package, and it does the rest. you need do is load the package, and it does the rest.
  
-The _KOMA-Script_ ​replacements for the +The //KOMA-Script// ​replacements for the 
-[`book`](https://​ctan.org/​pkg/​book) ​and [`report`](https://​ctan.org/​pkg/​report) ​classes ([`scrbook`](https://​ctan.org/​pkg/​scrbook) ​and +[[ctanpkg>​book|book]] and [[ctanpkg>​report|report]classes ([[ctanpkg>​scrbook|scrbook]and 
-[`scrreprt`](https://​ctan.org/​pkg/​scrreprt) ​offers class options ​`cleardoubleempty`+[[ctanpkg>​scrreprt|scrreprt]offers class options ​''​cleardoubleempty''​
-`cleardoubleplainand `cleardoublestandard`+''​cleardoubleplain'' ​and ''​cleardoublestandard''​
 (using the running page style, as normal) that control the appearance (using the running page style, as normal) that control the appearance
 of these empty pages. ​ The classes also offer do-it-yourself commands of these empty pages. ​ The classes also offer do-it-yourself commands
-`\cleardoubleempty(etc.).+''​\cleardoubleempty'' ​(etc.).
  
-The [`memoir`](https://​ctan.org/​pkg/​memoirclass (and the [`nextpage`](https://​ctan.org/​pkg/​nextpagepackage) +The [[ctanpkg>​memoir|memoir]] class (and the [[ctanpkg>​nextpage|nextpage]] package) 
-provide commands ​`\cleartooddpageand `\cleartoevenpage`,+provide commands ​''​\cleartooddpage'' ​and ''​\cleartoevenpage''​,
 which both take an optional argument (the first, with no argument, which both take an optional argument (the first, with no argument,
-being an equivalent of `\cleardoublepage`).  One can achieve +being an equivalent of ''​\cleardoublepage''​).  One can achieve 
-''​special'' ​effects by putting commands in the optional argument: the +"special" ​effects by putting commands in the optional argument: the 
-`\clearemptydoublepagewe're after would be achieved by +''​\clearemptydoublepage'' ​we're after would be achieved by 
-`\cleartooddpage[\thispagestyle{empty}]`.  The+''​\cleartooddpage[\thispagestyle{empty}]''​.  The
 commands will also serve if you want the surreal effect of commands will also serve if you want the surreal effect of
-''​This page intentionally left blank'' ​in the center of an otherwise empty page.+"This page intentionally left blank" ​in the center of an otherwise empty page. 
 + 
 + 
 +----- 
 + 
 +//Source:// [[faquk>​FAQ-reallyblank|Really blank pages between chapters]]
  
 +{{htmlmetatags>​metatag-keywords=(LaTeX,​formatting)
 +metatag-og:​title=(Really blank pages between chapters)
 +metatag-og:​site_name=(FAQ LaTeX francophone)
 +}}
  
3_composition/texte/pages/supprimer_l_en-tete_et_le_pied_d_une_page_blanche2.txt · Dernière modification: 2021/02/13 00:18 par yannick.tanguy
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0