summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-05-11 20:52:45 +0000
committerKarl Berry <karl@freefriends.org>2015-05-11 20:52:45 +0000
commiteaf3393e6d9bac332929e5bcf9f9c661a02ed62c (patch)
tree37e3a174a6c68b05efb0d5746288febf03968471 /Master/texmf-dist/doc/latex
parentb2053c7ca17849fd767069669f95dcd244e63aef (diff)
colorspace (11may15)
git-svn-id: svn://tug.org/texlive/trunk@37329 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r--Master/texmf-dist/doc/latex/colorspace/README25
-rw-r--r--Master/texmf-dist/doc/latex/colorspace/colorspace.pdfbin0 -> 96854 bytes
-rw-r--r--Master/texmf-dist/doc/latex/colorspace/colorspace.tex128
3 files changed, 153 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/colorspace/README b/Master/texmf-dist/doc/latex/colorspace/README
new file mode 100644
index 00000000000..f5c998bc9f0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/colorspace/README
@@ -0,0 +1,25 @@
+colorspace
+-----------
+
+PDF color spaces. Currently, only spot colors and overprinting are
+supported (requires xcolor; only pdftex and luatex). To define a spot
+color, just say:
+
+\definespotcolor{foo}{BarTone 555 GN}{.3, .4, .5, .6}
+
+That's all. You can use tints as usual in xcolor, like:
+
+\color{foo!60}
+\colorlet{foo60}{foo!60}
+
+and even set tints from other tints. It seems to work with tikz.
+
+Mixing spot colors (with process colors or other spots colors) and
+other functions related to the PDF color spaces (like indexed colors)
+are not yet suported, but they are under study.
+
+Those docs, like the package itself, are still somewhat tentative, but
+the basic behaviour described here will be preserved in future
+versions.
+
+2015-05-11 \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/colorspace/colorspace.pdf b/Master/texmf-dist/doc/latex/colorspace/colorspace.pdf
new file mode 100644
index 00000000000..7ea9c65501a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/colorspace/colorspace.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/colorspace/colorspace.tex b/Master/texmf-dist/doc/latex/colorspace/colorspace.tex
new file mode 100644
index 00000000000..86cc87e25ce
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/colorspace/colorspace.tex
@@ -0,0 +1,128 @@
+% +--------------------------------------------------+
+% | Typeset this file to get the documentation. |
+% +--------------------------------------------------+
+%
+%% Copyright (C) 2015 Javier Bezos
+%% All Rights Reserved
+%% http://www.tex-tipografia.com
+%%
+%% This work may be distributed and/or modified under the conditions
+%% of the LaTeX Project Public License, either version 1.3 of this
+%% license or (at your option) any later version. The latest version
+%% of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is Javier Bezos.
+%%
+%% This work consists of the files colorspace.tex and colorspace.sty.
+\documentclass{article}
+
+\title{\textsf{colorspace}\\\large Version 1.0.0}
+
+ \author{Javier Bezos\\\texttt{http://www.tex-tipografia.com}}
+
+\raggedright
+\parskip=1ex
+
+\date{2015-05-11}
+
+\begin{document}
+
+\maketitle
+
+This package is essentially a reworking of the previous attempts to
+provide spot colors and other additional features by Jens Elstner,
+Stephan Lehmke and Siep Kroonenberg (with some inspiration from
+\textsf{ConTeXt}, too). It requires \textsf{xcolor}, which is loaded
+if it has not been before.
+
+It provides a clean user interface, with a single command for
+defining a spot color. It seems to work with \textsf{tikz}. Currently
+only \textsf{pdftex} and \textsf{luatex} are supported. Mixing spot
+colors (with process colors or other spots colors) and other functions
+related to the PDF color spaces (like indexed colors) are not yet
+suported, but they are\texttt{} under study.
+
+Those docs, like the package itself, are still somewhat tentative, but
+the basic behaviour described here will be preserved in future versions.
+
+For transparencies, see \textsf{transparent}, by Heiko Oberdiek.
+
+\section{Spot colors}
+
+Write, for example:
+\begin{verbatim}
+\definespotcolor{foo}{BarTone 555 GN}{.3,.4,.5,.6}
+\end{verbatim}
+
+That's all. Here \verb|foo| is the \LaTeX{} name, as used in
+\verb|\color| and the like, \verb|BarTone 555 GN| is the PDF name
+(multiple spaces are collapsed into one) as shown by PDF readers, and
+the four numbers are the CMYK equivalent. \LaTeX{} knows nothing about
+the PDF name, which is just a string to be written to the generated
+file, while the PDF knows nothing about the \LaTeX{} name.
+
+You can use tints as usual in \textsf{xcolor}, like:
+\begin{verbatim}
+\color{foo!60}
+\colorlet{foo60}{foo!60}
+\end{verbatim}
+and even set tints from other tints, but this is the only operation
+currently supported. Something like \verb|spot!10!black| (mixing inks)
+does not work.
+
+The special PDF names \verb|All| (for all plates) and \verb|None| work
+as expected:
+\begin{verbatim}
+\definespotcolor{registration}{All}{1,1,1,1}
+\end{verbatim}
+
+Internally, only CMYK is used, but you can define the equivalent color
+with another name space, which is then converted:
+\begin{verbatim}
+\definespotcolor{foo}{BarTone 555 GN}[rgb]{.5, .4, .3}
+\end{verbatim}
+
+To change the color space for a page and the subsequent ones, you can
+set something like:
+\begin{verbatim}
+\pagecolorspace{name1,name2,name3}
+\end{verbatim}
+(It can be empty.) To return to the default color space, which
+contains all the defined spot colors, use \verb|\resetpagecolorspace|.
+
+\section{Overprinting}
+
+This is usually a pre-print task, but by setting it in the document you
+will get a better idea of how the colors are actually
+overlapped. However, remember the effect produced is device-dependent,
+and colorant overprint decisions should be made at output time
+(according to the PDF reference).
+
+Very often, it is set for the whole document with the package options
+\verb|knockout| (no overprint), and \verb|overprint|. By default, the
+overprint mode is 1, but it can be changed with \verb|opm=0|.
+
+Once set the overprint state for the whole document, you can use
+something like:
+\begin{verbatim}
+{\overprintstate{1}text}
+\textoverprint[1]{text}
+\end{verbatim}
+(or \verb|0|, or \verb|no|; default in \verb|\textoverprint| is
+\verb|1|, except with the package option \verb|opm=0|).
+
+Since the color stack is used, pdf\TeX{} $\ge$ 1.40 is required.
+
+\end{document}
+
+
+
+
+
+
+