summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/xespotcolor
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/xespotcolor')
-rw-r--r--Master/texmf-dist/doc/xelatex/xespotcolor/README4
-rw-r--r--Master/texmf-dist/doc/xelatex/xespotcolor/spotcolor-test.pdfbin70357 -> 4841 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/xespotcolor/spotcolor-test.tex78
-rw-r--r--Master/texmf-dist/doc/xelatex/xespotcolor/xespotcolor.pdfbin74284 -> 76507 bytes
4 files changed, 32 insertions, 50 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xespotcolor/README b/Master/texmf-dist/doc/xelatex/xespotcolor/README
index 97caebfd91b..3b34d1e4776 100644
--- a/Master/texmf-dist/doc/xelatex/xespotcolor/README
+++ b/Master/texmf-dist/doc/xelatex/xespotcolor/README
@@ -5,9 +5,9 @@ by Jens Elstner is a first attempt to introduce the use of
spot colors with pdfLaTeX. The xespotcolor package is a
reimplementation of this package so to be usable with
XeLaTeX or LaTeX+dvipdfmx. As such, it has the same user
-interface and the same capabilities. Version 2.0 adds
+interface and the same capabilities. Version 2.0a adds
support for the xcolor package and so one can use
spotcolors in TikZ pictures.
Apostolos Syropoulos
-2016/01/02
+2016/03/22
diff --git a/Master/texmf-dist/doc/xelatex/xespotcolor/spotcolor-test.pdf b/Master/texmf-dist/doc/xelatex/xespotcolor/spotcolor-test.pdf
index 07f8a255ba2..8e4de76e79f 100644
--- a/Master/texmf-dist/doc/xelatex/xespotcolor/spotcolor-test.pdf
+++ b/Master/texmf-dist/doc/xelatex/xespotcolor/spotcolor-test.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/xespotcolor/spotcolor-test.tex b/Master/texmf-dist/doc/xelatex/xespotcolor/spotcolor-test.tex
index d343d6bf575..8ae6277d3e5 100644
--- a/Master/texmf-dist/doc/xelatex/xespotcolor/spotcolor-test.tex
+++ b/Master/texmf-dist/doc/xelatex/xespotcolor/spotcolor-test.tex
@@ -1,50 +1,32 @@
-\documentclass{article}
-\usepackage[hks,pantone]{xespotcolor}
-\usepackage{xltxtra}
-\setmainfont[Mapping=tex-text]{Minion Pro}
+\documentclass{minimal}
+\usepackage{tikz}
+\usepackage[xcolor]{xespotcolor}
\begin{document}
- \color{blue}
- \bf\Huge Blue text color using the color package
-
- \clearpage
- \pagecolor{white}
-
- \SetPageColorSpace{PANTONE}
- \SpotColor{PANTONEGreenPC}{1.0}
- \bf\Huge Pantone spot color
-
- \clearpage
- \SetPageColorSpace{HKS}
- \SpotColor{HKS68N}{1.0}
- \bf\Huge HKS spot color
-
- \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 Self defined spot color\\
- Some shades are also possible:\\
- \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}
- A spotcolor as background color.
-
- \clearpage
- \pagecolor{white}
- \colorbox{Spots}{xxx}
+ % First define a new color space
+ \NewSpotColorSpace{MyPantone}
+ % Now define real colors using http://www.pantone.com/color-finder
+ % The numbers are the CMYK representation. For example, the CMYK
+ % representation of PANTONE 383 CP is 29 1 100 18 that translatex to
+ % 0.29 0.01 1 0.18
+ \AddSpotColor{MyPantone}{Blue}{Spot\SpotSpace Color\SpotSpace Blue}{0.92 0.24 0 0 }
+ \AddSpotColor{MyPantone}{Green}{Spot\SpotSpace Color\SpotSpace Green} {0.65 0 0.96 0 }
+ % Next we need to set the page color space
+ \SetPageColorSpace{MyPantone}
+ % Now we can define and use colors. Colors are defined as shades of a specific spot color.
+ \definecolor{AbsoluteBlue}{spotcolor}{Blue,1.0}
+ \pagecolor{AbsoluteBlue} %% Page color
+ \SpotColor{Green}{0.8} %% Color of letters
+ A spotcolor as background color.
+ \clearpage % Page 2
+ This is some more text. %Text appears in black.
+ \clearpage % Page 3
+ \pagecolor{white}
+ \colorbox{AbsoluteBlue}{Text in blue background}
+ \clearpage % Page 4 Tikz example
+ \definecolor{MyGreen}{spotcolor}{Green,0.5}
+ \definecolor{MyBlue}{spotcolor}{Blue,0.5}
+ \begin{tikzpicture}
+ \filldraw[color=MyGreen] (0.1,0.1) rectangle (1.9,0.9);
+ \draw[color=MyBlue, ultra thick] (0,0) rectangle (2,1);
+ \end{tikzpicture}
\end{document}
diff --git a/Master/texmf-dist/doc/xelatex/xespotcolor/xespotcolor.pdf b/Master/texmf-dist/doc/xelatex/xespotcolor/xespotcolor.pdf
index 2d9dbee1100..6df553415ed 100644
--- a/Master/texmf-dist/doc/xelatex/xespotcolor/xespotcolor.pdf
+++ b/Master/texmf-dist/doc/xelatex/xespotcolor/xespotcolor.pdf
Binary files differ