Tag Info

9

Another option using a tape shape from shapes.symbols: \documentclass[a5paper]{article} \usepackage{tikz} \usetikzlibrary{shapes.symbols} \usepackage{eso-pic} \AddToShipoutPictureBG{% \begin{tikzpicture}[remember picture, overlay] \node[ tape, fill=black, minimum height=2cm,%\paperheight, minimum width=\paperheight, rotate=90] at (current ...

7

Here's a possible solution: \documentclass{article} \usepackage{eso-pic} \usepackage{fancyhdr} \usepackage{blindtext} % just for the example \usepackage[headsep=3cm,top=5cm]{geometry} \usepackage{datatool} % create sample csv file \begin{filecontents*}{test.csv} Id,myauthor,mydate,myaddress 1,Sebastian,12.12.2012,XYZ road,XYZ city 2,Rose,12.12.2013,XYZ ...

7

Put the \color in a safer place, inside the \put, not before it. The thing to note about \color affecting position is that it is not my fault. An alternative (more suitable for your edited question) is to make your \printA command act like other picture mode commands and remove white space around them. The extra space is in fact an inter-word space coming ...

6

Without a full example document this is untested but I assume that \AddToShipoutPicture{% Add picture to background of every page \ifnum\value{page}>1 \AtPageLowerLeft{% \raisebox{3\baselineskip}{\makebox[\paperwidth]{\begin{minipage}{21cm}\centering Draft \end{minipage}}}% }% \fi } would work.

6

I used TikZ and its decorations.pathmorphing library. I made rectangle higher than \paperheight to make sure decoration is covering whole area we need. \documentclass[a5paper]{article} \usepackage{tikzpagenodes} \usetikzlibrary{calc} \usetikzlibrary{decorations.pathmorphing} \usepackage{eso-pic} \AddToShipoutPictureBG{% \begin{tikzpicture}[remember ...

5

After getting the error message ! LaTeX Error: Option clash for package eso-pic. and typing "h" (for help) in an output console, you get an explanation of the problem and a possible solution: The package eso-pic has already been loaded with options: [] There has now been an attempt to load it with options [grid, gridcolor=red!20, ...

4

that looks like a problem with package everyshi. Here is a solution with eso-pic: \documentclass[a5paper]{article} \usepackage[margin=1in]{geometry} %-----------------------------------------------------------% \usepackage{multido} \usepackage[notitlepage,relative]{pst-abspos} \newcommand{\myrules}{% \pstSetRelativeOrigin(0,0)% \pstPutAbs(0,0){% ...

4

Use \usepackage[grid, gridcolor=red!20, subgridcolor=green!20, %texcoord, gridunit=pt]{eso-pic} Code: \documentclass[10pt]{article} \usepackage{grffile} \usepackage[grid, gridcolor=red!20, subgridcolor=green!20, %texcoord, gridunit=pt]{eso-pic} \usepackage{pdfpages} \begin{document} \includepdf[pages=-]{snifs_fov} ...

3

I've modified a little the code in my previous answer introducing a tabular. Can this be OK? Code: \documentclass{article} \usepackage{eso-pic} \usepackage{fancyhdr} \usepackage{blindtext} % just for the example \usepackage[headsep=3cm,top=5cm]{geometry} \AddToShipoutPicture{% \AtTextUpperLeft{% \makebox(420,75)[lt]{% \footnotesize% ...

3

This looks like a bug in tikz: The content stream of the first pages references the two Graphic States pgf@ca0.05 and pgf@CA0.05 (these specify the transparency), but these are not included in the resources of the first page (but on all other pages), so they are unknown there. Tested with TL2011. You should report the bug here.

2

I don't know what you need textpos for, but I was able to generate the following. The watermark appears on pages 1 and 3. You can adjust the key values of \newwatermark and \xwmcolorbox to suit your need. \documentclass[10pt]{article} \usepackage[printwatermark]{xwatermark} \usepackage{xcolor} \usepackage{lipsum} \def\mycontent{rhubarb} ...

2

You don't need to load atbegshi. eso-pic loads it automatically since it requires that package. Line breaks are done by two backslashes \\, not by a single one. \ (backslash and space) is for a space in the outut. You could \parbox or a minipage environment to get line and paragraph breaks in the foreground text, such as ...

1

The following tiling isn't exactly correct, but it is precisely what you would have had if your code compiled. Use, eg, xwatermark package instead. \usepackage{graphicx} \usepackage{catoptions} \usepackage{eso-pic} \makeatletter \cptnewdimens{tileXoffset,tileYoffset,wpXoffset,wpYoffset, tilewidth,tileheight,tileX,tileY} \wpXoffset.25cm\wpYoffset.25cm ...

Only top voted, non community-wiki answers of a minimum length are eligible