diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/reflectgraphics/reflectgraphics.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/reflectgraphics/reflectgraphics.dtx | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/Master/texmf-dist/source/latex/reflectgraphics/reflectgraphics.dtx b/Master/texmf-dist/source/latex/reflectgraphics/reflectgraphics.dtx index 16fafc9cd77..8bae768b3cb 100644 --- a/Master/texmf-dist/source/latex/reflectgraphics/reflectgraphics.dtx +++ b/Master/texmf-dist/source/latex/reflectgraphics/reflectgraphics.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2014 by Oliver Reiche <oliver.reiche@gmail.com> +% Copyright (C) 2015 by Oliver Reiche <oliver.reiche@gmail.com> % --------------------------------------------------------------------------- % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -26,18 +26,18 @@ %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<package>\ProvidesPackage{reflectgraphics} %<*package> - [2014/08/29 v0.2b Fancy reflections for LaTeX graphics] + [2015/07/07 v0.2c Fancy reflections for LaTeX graphics] %</package> % %<*driver> -\IfFileExists{lenna.jpg}{% +\IfFileExists{example.jpg}{% \documentclass{ltxdoc} }{% \documentclass[draft]{ltxdoc} \overfullrule=0pt }% \usepackage{xdoc2} -\usepackage{reflectgraphics}[2014/08/29] +\usepackage{reflectgraphics}[2015/07/07] \usepackage{microtype} \usepackage[defaultlines=2,all]{nowidow} \usepackage{titlesec} @@ -88,6 +88,7 @@ % \changes{v0.1}{2013/10/28}{Initial version} % \changes{v0.2}{2013/10/31}{Support for options 'scale' and 'angle'} % \changes{v0.2b}{2013/11/25}{Fixed 'angle' for values <0 and >90} +% \changes{v0.2c}{2015/07/07}{Replaced non-free Lenna image} % % \DoNotIndex{\newcommand,\newenvironment} % @@ -218,7 +219,7 @@ % graphic:\\ % \begin{minipage}[t]{\textwidth} % \begin{verbatim} -% \reflectgraphics{lenna.jpg} +% \reflectgraphics{example.jpg} % \end{verbatim} % \end{minipage} % @@ -227,12 +228,12 @@ % \option{scale} option:\\ % \begin{minipage}[t]{\textwidth} % \begin{verbatim} -% \reflectgraphics[width=4cm]{lenna.jpg} -% \reflectgraphics[height=4cm]{lenna.jpg} -% \reflectgraphics[scale=0.25]{lenna.jpg} +% \reflectgraphics[width=4cm]{example.jpg} +% \reflectgraphics[height=4cm]{example.jpg} +% \reflectgraphics[scale=0.25]{example.jpg} % \end{verbatim} % \begin{center} -% \reflectgraphics[width=4cm, height=4cm]{lenna.jpg} +% \reflectgraphics[width=4cm, height=4cm]{example.jpg} % \end{center} % \end{minipage}\bigskip % @@ -240,10 +241,10 @@ % specified explicitly:\\ % \begin{minipage}[t]{\textwidth} % \begin{verbatim} -% \reflectgraphics[width=4cm, height=2cm]{lenna.jpg} +% \reflectgraphics[width=4cm, height=2cm]{example.jpg} % \end{verbatim} % \begin{center} -% \reflectgraphics[width=4cm, height=2cm]{lenna.jpg} +% \reflectgraphics[width=4cm, height=2cm]{example.jpg} % \end{center} % \end{minipage}\bigskip % @@ -254,27 +255,27 @@ % reflection add up.\\ % \begin{minipage}[t]{\textwidth} % \begin{verbatim} -% \reflectgraphics[width=1.5cm, angle=45]{lenna.jpg} +% \reflectgraphics[width=1.5cm, angle=45]{example.jpg} % \end{verbatim} % \begin{center} -% \reflectgraphics[width=1.5cm, height=1.5cm, angle=15]{lenna.jpg} -% \reflectgraphics[width=1.5cm, height=1.5cm, angle=30]{lenna.jpg} -% \reflectgraphics[width=1.5cm, height=1.5cm, angle=45]{lenna.jpg} -% \reflectgraphics[width=1.5cm, height=1.5cm, angle=60]{lenna.jpg} -% \reflectgraphics[width=1.5cm, height=1.5cm, angle=75]{lenna.jpg} +% \reflectgraphics[width=1.5cm, height=1.5cm, angle=15]{example.jpg} +% \reflectgraphics[width=1.5cm, height=1.5cm, angle=30]{example.jpg} +% \reflectgraphics[width=1.5cm, height=1.5cm, angle=45]{example.jpg} +% \reflectgraphics[width=1.5cm, height=1.5cm, angle=60]{example.jpg} +% \reflectgraphics[width=1.5cm, height=1.5cm, angle=75]{example.jpg} % \end{center} % \end{minipage}\bigskip % % To trim and clip graphics together with the corresponding reflection (e.\,g.\ -% to show Lenna's face only), one can straightforward proceed the same way as +% to highlight the olives only), one can straightforward proceed the same way as % using |\includegraphics|, except that the \option{clip} option can be % omitted:\\ % \begin{minipage}[t]{\textwidth} % \begin{verbatim} -% \reflectgraphics[trim=115 60 80 100]{lenna.jpg} +% \reflectgraphics[trim=115 60 80 100]{example.jpg} % \end{verbatim} % \begin{center} -% \reflectgraphics[width=1.55cm, height=2cm, trim=115 60 80 100]{lenna.jpg} +% \reflectgraphics[width=1.55cm, height=2cm, trim=115 60 80 100]{example.jpg} % \end{center} % \end{minipage}\bigskip % @@ -284,10 +285,10 @@ % only $20$\,\% of the graphics height, set the following values:\\ % \begin{minipage}[t]{\textwidth} % \begin{verbatim} -% \reflectgraphics[opacity=0.75, length=0.2]{lenna.jpg} +% \reflectgraphics[opacity=0.75, length=0.2]{example.jpg} % \end{verbatim} % \begin{center} -% \reflectgraphics[width=4cm, height=4cm, opacity=0.75, length=0.2]{lenna.jpg} +% \reflectgraphics[width=4cm, height=4cm, opacity=0.75, length=0.2]{example.jpg} % \end{center} % \end{minipage}\bigskip % @@ -300,10 +301,10 @@ % \begin{verbatim} % \newlength{\len} % \setlength{\len}{4cm} -% \reflectgraphics[height=\len, distance=0.1\len]{lenna.jpg} +% \reflectgraphics[height=\len, distance=0.1\len]{example.jpg} % \end{verbatim} % \begin{center} -% \reflectgraphics[width=4cm, height=4cm, distance=0.4cm]{lenna.jpg} +% \reflectgraphics[width=4cm, height=4cm, distance=0.4cm]{example.jpg} % \end{center} % \end{minipage}\bigskip % |