diff options
author | Karl Berry <karl@freefriends.org> | 2022-06-19 22:15:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-06-19 22:15:05 +0000 |
commit | abb0f24a5408606164e727fe0f3edafe08c4f3e7 (patch) | |
tree | 17286514f876174138960c275c1dafa1fbd0e9ce | |
parent | 89d08cbd0fb898ecb11e7368a784a2256c730098 (diff) |
magicwatermark README.md generation
git-svn-id: svn://tug.org/texlive/trunk@63656 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/magicwatermark/README.md | 60 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/magicwatermark/magicwatermark.dtx | 3 |
2 files changed, 8 insertions, 55 deletions
diff --git a/Master/texmf-dist/doc/latex/magicwatermark/README.md b/Master/texmf-dist/doc/latex/magicwatermark/README.md index 54e6bfd5293..db59f622e81 100644 --- a/Master/texmf-dist/doc/latex/magicwatermark/README.md +++ b/Master/texmf-dist/doc/latex/magicwatermark/README.md @@ -1,54 +1,8 @@ +- Package: magicwatermark +- Author: lijun guo <ljguo1020@gmail.com> +- Repository: https://github.com/ljguo1020/magicwatermark +- License: The LaTeX Project Public License 1.3c - -\documentclass{ctexart} -\usepackage{magicwatermark} -\PageSetup[ - rotate = 30, % 设置旋转角度 - color = red!80, % 设置水印内容颜色 - scale = 6 % 设置比例 -]{ - 水印内容 -} -\Watermark % 全文生效 -\begin{document} -... -\end{document} -\end{lstlisting} -\documentclass{ctexart} -\usepackage{magicwatermark} -\EvenPageSetup[color=cyan,showframe,scale=4]{偶数页} % 设置奇数页 -\OddPageSetup[color=purple,showframe,scale=4]{奇数页} % 设置偶数页 -\EvenWatermark % 显示水印 -\OddWatermark -\begin{document} -... -\end{document} -\end{lstlisting} -\documentclass{ctexart} -\usepackage{magicwatermark} -\PageSetup*{ - \begin{tikzpicture}[remember picture,overlay] - \node[cyan,scale = 2,shift={(-1,-1)}] at - (current page.north east){--~\thepage~--}; - \end{tikzpicture} -} -\begin{document} -... -\Watermark % 该命令之前不生效 -\end{document} -\end{lstlisting} -\documentclass{ctexart} -\usepackage{magicwatermark} -\NewWatermark{one} % 新建两个水印 -\NewWatermark{two} -\MyPageSetup[scale=5,color=blue]{one}{水印内容一} % 设置水印 -\MyPageSetup[scale=5,color=red]{two}{水印内容二} -\begin{document} -\MyWatermark{one} % 使用第一个水印 -... -\newpage -\ClearWatermark{one} % 清除第一个水印 -\MyWatermark{two} % 使用第二个水印 -... -\end{document} -\end{lstlisting} +> magicwatermark is a package based on everypage and tikz and encapsulated by LATEX3 İt can +> flexibly set and clear watermarks. All watermark content is placed in inside a node of verbtikz and +> in the center of the page. diff --git a/Master/texmf-dist/source/latex/magicwatermark/magicwatermark.dtx b/Master/texmf-dist/source/latex/magicwatermark/magicwatermark.dtx index 35115c1cca8..7c9575858bc 100644 --- a/Master/texmf-dist/source/latex/magicwatermark/magicwatermark.dtx +++ b/Master/texmf-dist/source/latex/magicwatermark/magicwatermark.dtx @@ -36,7 +36,6 @@ \file{magicwatermark.sty} {\from{\jobname.dtx}{package}} \nopreamble\nopostamble \usedir{doc/xelatex/magicwatermark} - \file{README.md} {\from{\jobname.dtx}{readme}} } \endbatchfile @@ -595,4 +594,4 @@ morekeywords={PageSetup,Watermark,NewWatermark,MyPageSetup,MyWatermark,EvenPageS % \Finale % \endinput -\endlinechar
\ No newline at end of file +\endlinechar |