diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/opacity-pro/examples/op1.tex |
Initial commit
Diffstat (limited to 'macros/latex/contrib/opacity-pro/examples/op1.tex')
-rw-r--r-- | macros/latex/contrib/opacity-pro/examples/op1.tex | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/macros/latex/contrib/opacity-pro/examples/op1.tex b/macros/latex/contrib/opacity-pro/examples/op1.tex new file mode 100644 index 0000000000..9b325141af --- /dev/null +++ b/macros/latex/contrib/opacity-pro/examples/op1.tex @@ -0,0 +1,59 @@ +\documentclass{article} +\usepackage{xcolor} +\usepackage{graphicx} +\usepackage{opacity-pro} + +\thispagestyle{empty} +\addtolength{\textwidth}{20pt} + +\parindent0pt + +\begin{document} +\begin{center}\large + An \texttt{opacity-pro} Demo File\\[3pt]D. P. Story +\end{center} + +The \textsf{opacity-pro} pretty much needs distiller with +the \textsf{Adobe PDF Settings} set to process the transparency +operator. For your convenience, the \textsf{Adobe PDF Settings} file +\texttt{Standard\_transparency.joboptions} is included in the +distribution. Place this file wherever distiller looks for the +\texttt{.joboptions} files.\footnote{Go to \texttt{Settings > Edit +Adobe PDF Settings ...} in the Distiller application window, then +click the \texttt{SaveAs} button. A \textsf{Save Adobe PDF Settings +As} dialog box opens, and you can then see where Distiller likes to +save its \texttt{.joboptions} file. Copy the provided +\texttt{.joboptions} to the folder and restart Distiller, the +\texttt{Standard\_transparency} should now be visible in the drop +down \textsf{Default Settings} list.} + +\bigskip + +\makebox[0pt][l]{\smash{\rotatebox[origin=lb]{-45}{\colorbox{yellow}{\parbox[c][.5in]{5in}{\hfill\vfill}}}}}% +\hspace{1in}\smash{\rotatebox[origin=lb]{-45}{\colorbox{blue}{\parbox[c][.5in]{5in}{\hfill\vfill}}}} +\begin{center}\sffamily\Huge\bfseries +\begin{settransparency}{.5}{.5}\relax + \includegraphics{digis/adobedon} +\end{settransparency}\\[3pt] +\settransparency*{.3}{.3}{D. P. Story} +\end{center} +\begin{settransparency}[Lighten]{.4}{.4} +\makebox[0pt][l]{\smash{\rotatebox[origin=lb]{45}{\colorbox{green}{\parbox[c][.5in]{5in}{\hfill\vfill}}}}}% +\hspace{1in}\smash{\rotatebox[origin=lb]{45}{\colorbox{magenta}{\parbox[c][.5in]{5in}{\hfill\vfill}}}} +\end{settransparency} + +\vspace{30pt}\noindent +The yellow and blue boxes are under the picture, which has opacity +of 0.5 and the text which has opacity of 0.3, and blend type +\texttt{Normal}, the default. The green and magenta boxes are on top +the picture with opacity of 0.4 and blend type of \texttt{Lighten}. + + +\bigskip\noindent +This demo file uses only the most basic of packages: \textsf{color}, +\textsf{graphicx} and \textsf{opacity-pro}. The other demo files +assume the use of the \textsf{web} package, some use the +\textsf{graphicxsp} package. Be sure to download all the latest +versions of these. + +\end{document} |