| 1 |
% |
| 2 |
% testspot.tex |
| 3 |
% platex testspot.tex |
| 4 |
% dvipdfmx testspot |
| 5 |
% |
| 6 |
\documentclass{jsarticle} |
| 7 |
\usepackage[hks,pantone]{xespotcolor} |
| 8 |
\begin{document} |
| 9 |
\color{blue} |
| 10 |
\bf\Huge カラーパッケージを用いた青いテキスト |
| 11 |
|
| 12 |
\clearpage |
| 13 |
\pagecolor{white} |
| 14 |
|
| 15 |
\SetPageColorSpace{PANTONE} |
| 16 |
\SpotColor{PANTONEGreenPC}{1.0} |
| 17 |
\bf\Huge Pantone スポットカラー |
| 18 |
|
| 19 |
\clearpage |
| 20 |
\SetPageColorSpace{HKS} |
| 21 |
\SpotColor{HKS68N}{1.0} |
| 22 |
\bf\Huge HKS スポットカラー |
| 23 |
|
| 24 |
\clearpage |
| 25 |
\NewSpotColorSpace{SOMECOLORSPACE} |
| 26 |
\AddSpotColor{SOMECOLORSPACE} {SOMECOLOR} {Spot\SpotSpace Color\SpotSpace Name\SpotSpace in\SpotSpace PDF} {0.5 1.0 0.51 0} |
| 27 |
\SetPageColorSpace{SOMECOLORSPACE} |
| 28 |
\definecolor{Spots}{spotcolor}{SOMECOLOR,1.0} |
| 29 |
|
| 30 |
\SpotColor{SOMECOLOR}{1.0} |
| 31 |
\bf\Huge ここで定義したスポットカラー\\ |
| 32 |
シェーディングも可能:\\ |
| 33 |
\SpotColor{SOMECOLOR}{1.0}\rule{1cm}{1cm}\\ |
| 34 |
\SpotColor{SOMECOLOR}{0.9}\rule{1cm}{1cm}\\ |
| 35 |
\SpotColor{SOMECOLOR}{0.8}\rule{1cm}{1cm}\\ |
| 36 |
\SpotColor{SOMECOLOR}{0.7}\rule{1cm}{1cm}\\ |
| 37 |
\SpotColor{SOMECOLOR}{0.6}\rule{1cm}{1cm}\\ |
| 38 |
\SpotColor{SOMECOLOR}{0.5}\rule{1cm}{1cm}\\ |
| 39 |
\SpotColor{SOMECOLOR}{0.4}\rule{1cm}{1cm}\\ |
| 40 |
\SpotColor{SOMECOLOR}{0.3}\rule{1cm}{1cm}\\ |
| 41 |
\SpotColor{SOMECOLOR}{0.2}\rule{1cm}{1cm}\\ |
| 42 |
\SpotColor{SOMECOLOR}{0.1}\rule{1cm}{1cm}\\ |
| 43 |
\SpotColor{SOMECOLOR}{0.0}\rule{1cm}{1cm} |
| 44 |
|
| 45 |
\clearpage |
| 46 |
\pagecolor{Spots} |
| 47 |
\SpotColor{SOMECOLOR}{0.1} |
| 48 |
背景色としてのスポットカラー |
| 49 |
|
| 50 |
\clearpage |
| 51 |
\pagecolor{white} |
| 52 |
\colorbox{Spots}{日日日} |
| 53 |
\end{document} |