diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/fadingimage/fadingimage.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/fadingimage/fadingimage.sty | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/fadingimage/fadingimage.sty b/Master/texmf-dist/tex/latex/fadingimage/fadingimage.sty index 09a433a0ea1..bde2e592cc4 100644 --- a/Master/texmf-dist/tex/latex/fadingimage/fadingimage.sty +++ b/Master/texmf-dist/tex/latex/fadingimage/fadingimage.sty @@ -18,11 +18,11 @@ %% available at https://github.com/xiamyphys/FadingImage * %% **************************************************************************************************** \NeedsTeXFormat{LaTeX2e}[2020/10/01] -\ProvidesPackage{fadingimage}[2024/03/09/ v0.1b Package for adding fading full width picture at the top or bottom of a page.] +\ProvidesPackage{fadingimage}[2024/03/11/ v0.1c Package for adding fading full width picture at the top or bottom of a page.] \RequirePackage{tikz,xcolor} \usetikzlibrary{fadings} -\NewDocumentCommand{\UPFadingImage}{ s o m }{ +\NewDocumentCommand{\UPFadingImage}{ s O{} m }{ \IfBooleanTF{#1}{ \tikz[remember picture,overlay] \node[below,inner sep=0pt,outer sep=auto] at (current page.north) {\includegraphics[width=\paperwidth,#2]{#3}}; @@ -31,7 +31,7 @@ \node[scope fading=south,below,inner sep=0pt,outer sep=auto] at (current page.north) {\includegraphics[width=\paperwidth,#2]{#3}}; } } -\NewDocumentCommand{\LOWFadingImage}{ s o m }{ +\NewDocumentCommand{\LOWFadingImage}{ s O{} m }{ \IfBooleanTF{#1}{ \tikz[remember picture,overlay] \node[above,inner sep=0pt,outer sep=auto] at (current page.south) {\includegraphics[width=\paperwidth,#2]{#3}}; |