| 1 |
%% |
| 2 |
%% This is file `transparent-example.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% transparent.dtx (with options: `example') |
| 8 |
%% |
| 9 |
%% This is a generated file. |
| 10 |
%% |
| 11 |
%% Project: transparent |
| 12 |
%% Version: 2025-06-23 v1.6 |
| 13 |
%% |
| 14 |
%% Copyright (C) |
| 15 |
%% 2007 Heiko Oberdiek |
| 16 |
%% 2016-2025 Oberdiek Package Support Group |
| 17 |
%% |
| 18 |
%% This work may be distributed and/or modified under the |
| 19 |
%% conditions of the LaTeX Project Public License, either |
| 20 |
%% version 1.3c of this license or (at your option) any later |
| 21 |
%% version. This version of this license is in |
| 22 |
%% https://www.latex-project.org/lppl/lppl-1-3c.txt |
| 23 |
%% and the latest version of this license is in |
| 24 |
%% https://www.latex-project.org/lppl.txt |
| 25 |
%% and version 1.3 or later is part of all distributions of |
| 26 |
%% LaTeX version 2005/12/01 or later. |
| 27 |
%% |
| 28 |
%% This work has the LPPL maintenance status "maintained". |
| 29 |
%% |
| 30 |
%% The Current Maintainers of this work are |
| 31 |
%% Heiko Oberdiek and the Oberdiek Package Support Group |
| 32 |
%% https://github.com/ho-tex/transparent/issues |
| 33 |
%% |
| 34 |
%% This work consists of the main source file transparent.dtx |
| 35 |
%% and the derived files |
| 36 |
%% transparent.sty, transparent-nometadata.sty, transparent.pdf, |
| 37 |
%% transparent.ins, transparent.drv, transparent-example.tex. |
| 38 |
%% |
| 39 |
\documentclass[12pt]{article} |
| 40 |
|
| 41 |
\usepackage{color} |
| 42 |
\usepackage{transparent} |
| 43 |
|
| 44 |
\begin{document} |
| 45 |
\colorbox{yellow}{% |
| 46 |
\bfseries |
| 47 |
\color{blue}% |
| 48 |
Blue and % |
| 49 |
\transparent{0.6}% |
| 50 |
transparent blue% |
| 51 |
} |
| 52 |
|
| 53 |
\bigskip |
| 54 |
Hello World |
| 55 |
\texttransparent{0.5}{Hello\newpage World} |
| 56 |
Hello World |
| 57 |
\end{document} |
| 58 |
\endinput |
| 59 |
%% |
| 60 |
%% End of file `transparent-example.tex'. |