summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-03-11 20:02:52 +0000
committerKarl Berry <karl@freefriends.org>2024-03-11 20:02:52 +0000
commit78b30cba6ecf20b0c4aca123773d39cdd79e3434 (patch)
treec95d87af8335b0c461eec1917d7ff6cdc243abed
parentb8bfa91f53a2d451a93fa1d8f2204d95e836f3c6 (diff)
fadingimage (branch) (11mar24)
git-svn-id: svn://tug.org/texlive/branches/branch2023.final@70610 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/fadingimage/fadingimage.pdfbin135401 -> 135453 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fadingimage/fadingimage.tex5
-rw-r--r--Master/texmf-dist/tex/latex/fadingimage/fadingimage.sty6
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
index 9e7f64be162..4b7e4535d5d 100644
--- a/Master/texmf-dist/doc/latex/fadingimage/fadingimage.pdf
+++ b/Master/texmf-dist/doc/latex/fadingimage/fadingimage.pdf
Binary files differ
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}};