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édentesRévision précédente
Prochaine révision
Révision précédente
composition:texte:document:ajouter_un_filigrane_sur_chaque_page [2018/06/03 13:37] d.p.carlisle2_composition:texte:document:ajouter_un_filigrane_sur_chaque_page [2021/02/15 13:04] (Version actuelle) – Traduction de l'article anglais et correction de la structure. yannick.tanguy
Ligne 1: Ligne 1:
---- +====== Comment obtenir un filigrane sur toutes les pages? ======
-title: "Watermarks" on every page +
-category: formatting +
-tags: layout +
-permalink: /FAQ-watermark +
----+
  
-It's often useful to place some text (such as "DRAFT"in the +Il est souvent utile de placer un texte (tel que « Version provisoire » ou //draft// en anglaisen arrière-plan de chaque page d'un document. Ce type de texte est appelé [[wpfr>Filigrane|filigrane]] (ou //watermark// en anglais). 
-background of every page of a document.  For LaTeX users, the +
-simplest way to do this uses the [`draftcopy`](https://ctan.org/pkg/draftcopypackage This +
-can deal with +
-many types of DVI processors (in the same way that the graphics +
-package does) and knows translations for the word "DRAFT" into a wide +
-range of languages (though you can choose your own word, too). +
-Unfortunately, however, the package relies on PostScript specials, and will +
-therefore fail if you are viewing your document with `xdvi`, +
-and won't even compile if you're using pdfLaTeX.  (pdfLaTeX +
-users need one of the other solutions below.)+
  
-The [`wallpaper`](https://ctan.org/pkg/wallpaper) package builds on [`eso-pic`](https://ctan.org/pkg/eso-pic) (see +===== Avec l'extension “draftcopy” =====
-below).  Apart from the single-image backdrops described above +
-("wallpapers", of course, to this package), the package provides +
-facilities for tiling images.  All its commands come in pairs: one for +
-"general" use, and one applying to the current page only.+
  
-The [`draftwatermark`](https://ctan.org/pkg/draftwatermark) package uses the same author'+Pour les utilisateurs de <latex>\LaTeX</latex>, une méthode simple consiste à utiliser l'extension [[ctanpkg>draftcopy|draftcopy]] pensée pour placer le mot //draft// en filigrane. Elle peut gérer de nombreux processeurs DVI et connaît les traductions du mot anglais //draft// dans un large éventail de langues (bien que vous puissiez également choisir votre propre mot). Cependant, l'extension repose sur des commandes PostScript : 
-[`everypage`](https://ctan.org/pkg/everypage) package to provide a simple interface for adding +  * elle échoue si vous visualisez votre document avec ''xdvi''
-textual ("DRAFT"-likewatermarks.+  * elle ne se compile pas si vous utilisez ''pdfLaTeX''
  
-The [`xwatermark`](https://ctan.org/pkg/xwatermark) package provides very flexible watermarking, +===== Avec l'extension “wallpaper” =====
-with a "modern" (key-value) interface.+
  
-More elaborate watermarks may be achieved using the [`eso-pic`](https://ctan.org/pkg/eso-pic) +L'extension [[ctanpkg>wallpaper]] se base sur [[ctanpkg>eso-pic]] (voir ci-dessous)Outre les fonds de page à image unique décrits ci-dessusl'extension fournit des fonctionnalités pour obtenir une mosaïque d'imagesToutes ses commandes viennent par paires une pour un usage global et une pour la page courante uniquement
-packageor by using [`everypage`](https://ctan.org/pkg/everypage) (see below). +
-[`Eso-pic`](https://ctan.org/pkg/Eso-pic) attaches a `picture` environment to +
-every page as it is shipped out; the user can put things into that +
-environment: the package provides commands for placing things at +
-certain useful points (like "text upper left" or "text center") in +
-the picture, but the user is at liberty to do what he or she likes.+
  
-[`Eso-pic`](https://ctan.org/pkg/Eso-pic) is, in turn, built upon the package +===== Avec l'extension “draftwatermark” =====
-[`atbegshi`](https://ctan.org/pkg/atbegshi).  That package has the capability to produce +
-watermarks _on top of_ the other material on the page; this +
-doesn't sound very "watermark-like", but can be useful on pages +
-where the watermark would otherwise be hidden by graphics or the +
-like.  The [`atbegshi`](https://ctan.org/pkg/atbegshi) command that [`eso-pic`](https://ctan.org/pkg/eso-pic) uses is +
-`\AtBeginShipoutUpperLeft`; `\AtBeginShipoutUpperLeftForeground` +
-is what's needed instead to place the material on top of the rest of +
-the content of the page.+
  
-[`Everypage`](https://ctan.org/pkg/Everypageallows you to add "something" to every page, or +L'extension [[ctanpkg>draftwatermark]] utilise [[ctanpkg>everypage]du même auteur pour fournir une interface simple pour l'ajout de filigranes textuels (de type « Version provisoire »). 
-to a particular page; you therefore need to construct your own +
-apparatus for anything complicated.+
  
-Finallyone can use the `pdftk` untility; with itthe +===== Avec l'extension “xwatermark” ===== 
-command+ 
-```latex+L'extension [[ctanpkg>xwatermark]] fournit un filigrane très flexibleavec une interface au format « clef=valeur ».  
 + 
 +===== Avec l'extension “eso-pic” ===== 
 + 
 +Plus riche en possibilités que les extensions vues précédemment[[ctanpkg>eso-pic]] attache un environnement ''picture'' à chaque page au moment où elle est finalisée. L'utilisateur peut mettre divers éléments dans cet environnement et l'extension fournit des commandes pour placer au besoin des éléments à certains points utiles, tel ''text upper left'' (texte en haut à gauche) ou ''text center'' (centre du texte). 
 + 
 +Cette extension est basée sur [[ctanpkg>atbegshi]]. Cela lui donne la possibilité de produire des « filigranes » //par-dessus// les autres éléments de la page. Cela peut être utile sur des pages où le filigrane serait autrement masqué par d'autres éléments. Alors que la commande de l'extension [[ctanpkg>atbegshi|atbegshi]] normalement utilisée par [[ctanpkg>eso-pic|eso-pic]] pour placer votre filigrane sous les autres éléments est ''\AtBeginShipoutUpperLeft'', celle pour placer votre filigrane au-dessus des autres est ''\AtBeginShipoutUpperLeftForeground''.  
 + 
 +===== Avec l'extension “everypage” ===== 
 + 
 +L'extension [[ctanpkg>everypage]] vous permet d'ajouter des éléments à toutes les pages comme à une page particulière. Vous devez cependant développer votre propre code si vous souhaitez obtenir des résultats complexes avec cette extension.  
 + 
 +===== Avec le programme “pdftk” ===== 
 + 
 +Enfin, l'utilitaire ''pdftk'' permet d'obtenir un résultat similaire avec la commande suivante :  
 + 
 +<code bash>
 pdftk a.pdf background b.pdf output c.pdf pdftk a.pdf background b.pdf output c.pdf
-``` +</code> 
-will recreate `a.pdf` as `c.pdf`, having used the first page + 
-of `b.pdf` as background on every page.  If you have a standard +Le programme va créer le fichier ''c.pdf'' sur la base de ''a.pdf'' en se servant de la première page de ''b.pdf'' comme fond de page pour toutes les pages de ''c.pdf''.  Si vous avez un filigrane standard utilisé dans plusieurs fichiers''pdftk'' pourrait être intéressant. 
-background ("DRAFT" or "SECRET"or whatever) used in several + 
-files`pdftk` might well be attractive.+Outil en ligne de commande''pdftk'' est disponible dans la plupart des distributions Linux, mais peut être téléchargé depuis son [[https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/|site officiel]]. 
  
-`Pdftk` is available as a command line tool; it is available +----- 
-in most linux distritbutions, but may be downloaded from its +//Source:// [[faquk>FAQ-watermark|Watermarks on every page]]
-[home site](https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/)+
  
 +{{htmlmetatags>metatag-keywords=(LaTeX,filigrane,watermark,filigrane au-dessus du texte,filigrane au-dessous du texte)
 +metatag-og:title=(Comment obtenir un filigrane sur toutes les pages)
 +metatag-og:site_name=(FAQ LaTeX francophone)
 +}}
  
3_composition/document/ajouter_un_filigrane_sur_chaque_page.1528033060.txt.gz · Dernière modification : 2018/06/03 13:37 de d.p.carlisle
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0