diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/xwatermark/xwatermark-examples2.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/xwatermark/xwatermark-examples2.tex | 59 |
1 files changed, 27 insertions, 32 deletions
diff --git a/Master/texmf-dist/doc/latex/xwatermark/xwatermark-examples2.tex b/Master/texmf-dist/doc/latex/xwatermark/xwatermark-examples2.tex index 2c93785bb80..d654ee57eea 100644 --- a/Master/texmf-dist/doc/latex/xwatermark/xwatermark-examples2.tex +++ b/Master/texmf-dist/doc/latex/xwatermark/xwatermark-examples2.tex @@ -1,13 +1,5 @@ %++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++% -% This is file 'xwatermark-examples2.tex', version 1.5.1. % -% % -% IMPORTANT NOTICE: % -% This example file is not user compilable! The packages needed % -% to compile the examples are not yet available in the public % -% domain. This does not affect the functionalities of the % -% xwatermark package. I am sorry, but I can't answer requests for % -% packages not yet released. Users can copy the examples into their % -% own files and compile them, removing all undefined commands. % +% This is file 'xwatermark-examples2.tex', version 1.5.2. % % % % This work (ie, all the files in the xwatermark manifest) may be % % distributed and/or modified under the conditions of the LaTeX % @@ -33,6 +25,7 @@ \thispagestyle{empty} +%\watermarkpaths*[.](/){{},/Graphics} \watermarkpaths[.](/){{}{/Graphics}} \newwatermark*[% @@ -42,7 +35,7 @@ picypos=.25\paperheight,textxpos=-70,textypos=-50, picbb=116 428 477 718,picscale=1,picfile=tabu-test1, picfileext=eps -]{\tcl{Green}{\texttt{xwatermark\\package}}} +]{\ttcl{Green}{\texttt{xwatermark\\package}}} \newwallpaper[% page=2,fontfamily=put,textcolor=BurntOrange,fontsize=1cm, @@ -96,8 +89,8 @@ \xwmcolorbox[framesep=4pt,framerule=4pt,fillcolor=brown!70!yellow!55, innerframecolor=white,outerframecolor=blue,height=1.5cm, depth=1cm,textalign=center,width=.8\paperheight]% - {\tt\string\advance\tcl{red}{\string\knowledge}% - \string\by\tcl{red}{\string\inquiry}}% + {\tt\string\advance\ttcl{red}{\string\knowledge}% + \string\by\ttcl{red}{\string\inquiry}}% } \newwatermark[% @@ -105,7 +98,7 @@ picbb=78 563 304 788,picscale=2,picfile=xwatermarkpic3, picfileext=epsx,width=\paperwidth,textalign=center,textangle=0, textxpos=0,textypos=0,picontoptext=false -]{\tcl{black}{Yes}} +]{\ttcl{black}{Yes}} \newwatermark*[% page=6,fontfamily=put,textcolor=violet!70,fontsize=2cm,textscale=1, @@ -117,31 +110,33 @@ width=\paperwidth,textalign=center,textangle=-50,textxpos=-30,textypos=80 ]{\fbox{Taken to back}} -\csndef*{watermark-2a}#1{% +\csndef*{watermark-2a}#1#2{% \newwatermark[% pages=6-7,fontfamily=pbk,textcolor=gray!35,fontsize=12pt,fontseries=n, - textalign=center,textangle=90,textscale=1,textxpos=#1,textypos=-1, + textalign=center,textangle=#2,textscale=1,textxpos=#1,textypos=0, width=\paperheight ]{% \xwmcolorbox[framesep=5pt,framerule=2pt,fillcolor=teal, innerframecolor=magenta,outerframecolor=green, - textalign=center,width=.995\paperheight]% + textalign=center,width=.98\paperheight]% {% \color{white}\framebox[2cm][t]{\phantom{Hello}}\hspace{1cm}% - \color{orange!85!red!55}\tcl{red}{$\blacktriangleright$}% + \color{orange!85!red!55}\ttcl{red}{$\blacktriangleright$}% \hspace{2.1cm}Page \thepage~of~\pageref{xwmlastpage}% - \hspace{2.1cm}\tcl{red}{$\blacktriangleleft$}\hspace{1cm}% + \hspace{2.1cm}\ttcl{red}{$\blacktriangleleft$}\hspace{1cm}% \color{white}\framebox[2cm][t]{\phantom{Hello}}% \xwmstrut{9mm}{6mm}% }% }% } + \begin{newcomment} The same watermark is placed twice on the same page. Compare this with one of the examples in xwatermark-examples1.tex: \end{newcomment} -\usecsn{watermark-2a}{-.43\paperwidth} -\usecsn{watermark-2a}{.445\paperwidth} + +\usecsn{watermark-2a}{-.428\paperwidth}{90} +\usecsn{watermark-2a}{.428\paperwidth}{-90} \begin{newcomment} Here is an inefficient example. \scalebox and \rotatebox @@ -154,9 +149,9 @@ example: \xwmcolorbox[framesep=4pt,framerule=4pt,fillcolor=brown!70, innerframecolor=white,outerframecolor=MidnightBlue,height=1cm, depth=.8cm,textalign=center,width=.8\paperheight]% - {\scalebox{1.2}{\bf\tt\tcl{white}{\char`\\advance}% - \tcl{red}{\string\knowledge}% - \string\by\tcl{blue}{\char`\\inquiry}}}\hss}% + {\scalebox{1.2}{\bf\tt\ttcl{white}{\char`\\advance}% + \ttcl{red}{\string\knowledge}% + \string\by\ttcl{blue}{\char`\\inquiry}}}\hss}% \begin{center}\rotatebox{45}{\box\xwm@boxb}\end{center}% } @@ -164,9 +159,9 @@ example: \title{% {\setbox\z@\vbox to.25\paperheight{}\box0}% - \bfseries The \texttt{\tcl{blue}{xwatermark}} Package + \bfseries The \texttt{\ttcl{blue}{xwatermark}} Package \xcopyright{red}\\[1ex] - \large Version 1.5.1\\[2ex] + \large Version 1.5.2\\[2ex] \Large EXAMPLES (File 2)% } \author{% @@ -178,28 +173,28 @@ example: \newpage -\llipsum[1-4] +\ltslipsum[1-4] -\llipsum +\ltslipsum \newpage -\llipsum[1-4] +\ltslipsum[1-4] \newpage -\llipsum[1-4] +\ltslipsum[1-4] \newpage -\llipsum[1-4] +\ltslipsum[1-4] \newpage -\llipsum[1-4] +\ltslipsum[1-4] \newpage -\llipsum[1-4] +\ltslipsum[1-4] \end{document} |