diff options
author | Karl Berry <karl@freefriends.org> | 2024-03-11 19:56:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-03-11 19:56:54 +0000 |
commit | 53b3d19349a92ef344f3f20720d0e8f8605af565 (patch) | |
tree | e8b4b1a79867a8097844358a55b7fd7d96ba0bbc /Master | |
parent | 9413cb5d47aa5ab18beb7540c98727380933a692 (diff) |
fadingimage (11mar24)
git-svn-id: svn://tug.org/texlive/trunk@70593 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/fadingimage/fadingimage.pdf | bin | 135401 -> 135453 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/fadingimage/fadingimage.tex | 5 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fadingimage/fadingimage.sty | 6 |
3 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/fadingimage/fadingimage.pdf b/Master/texmf-dist/doc/latex/fadingimage/fadingimage.pdf Binary files differindex 9e7f64be162..4b7e4535d5d 100644 --- a/Master/texmf-dist/doc/latex/fadingimage/fadingimage.pdf +++ b/Master/texmf-dist/doc/latex/fadingimage/fadingimage.pdf diff --git a/Master/texmf-dist/doc/latex/fadingimage/fadingimage.tex b/Master/texmf-dist/doc/latex/fadingimage/fadingimage.tex index 2ed7690ec62..a5a88ec226e 100644 --- a/Master/texmf-dist/doc/latex/fadingimage/fadingimage.tex +++ b/Master/texmf-dist/doc/latex/fadingimage/fadingimage.tex @@ -8,7 +8,8 @@ \definecolor{pkgcolor}{Hsb}{103,.8,.5} \definecolor{moducolor}{Hsb}{290,.8,.5} \definecolor{cmdcolor}{Hsb}{188,.8,.5} -\def\pkg#1{\texorpdfstring{\textcolor{pkgcolor}{\textsf{#1}}}{“#1”}} +\def\pkg#1{\texorpdfstring{\textcolor{pkgcolor}{ + \href{https://ctan.org/pkg/#1}{\textsf{#1}}}}{“#1”}} \def\mode#1{\texorpdfstring{\textcolor{moducolor}{\textsf{#1}}}{“#1”}} \def\cmd#1{\texorpdfstring{\textcolor{cmdcolor}{\textsf{#1}}}{“#1”}} \def\datechange#1#2{% @@ -19,7 +20,7 @@ \author{Hsia Mingyu, \href{https://www.hdu.edu.cn}{Hangzhou Dianzi University}} \yyyymmdddate\date{\today} \affil{\href{mailto:xiamyphys@gmail.com}{\ttfamily xiamyphys@gmail.com}} -\date{\today\quad Version 0.1b\thanks{\url{https://github.com/xiamyphys/FadingImage}}} +\date{\today\quad Version 0.1c\thanks{\url{https://github.com/xiamyphys/FadingImage}}} \begin{document} \maketitle \UPFadingImage[trim={0 {.96\paperheight} 0 0},clip]{Beautiful-realities} 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}}; |