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