It is possible to use pantone color in XeLaTeX. I have found only PdfLaTeX in Using Pantone/spot colors and TikZ together. I have both CMYK and Pantone color and must use XeLaTeX because many OTF Fonts are used in my book. How to do?
Asked
Active
Viewed 2,563 times
2 Answers
7
Update
LuaLaTeX and xspotcolor don't work a the moment but XeLaTeX and xespotcolor still do:
\documentclass{article}
\usepackage{xespotcolor}
\NewSpotColorSpace{PANTONE}
\AddSpotColor {PANTONE} {PANTONE3035PC} {PANTONE\SpotSpace 3035\SpotSpace PC} {1 0 0.05 0.72}
\SetPageColorSpace{PANTONE}
\definecolor{PANTONE3035PC} {spotcolor} {PANTONE3035PC,1.0}
\definecolor{PANTONE3035PCA} {spotcolor} {PANTONE3035PC,0.5}
\definecolor{grey} {gray} {0.5}
\begin{document}
Examples:
\begin{itemize}
\item This is not Pantone
\item \textcolor{PANTONE3035PC}{This is PANTONE 3035 PC}
\item \textcolor{PANTONE3035PCA}{This is PANTONE 3035 PCA}
\item \textcolor{grey}{grey}
\end{itemize}
\end{document}
LuaLaTeX works with xspotcolor and you can use OpenType fonts. Maybe you should consider using it instead of XeLaTeX.
\documentclass[a4paper]{article}
\usepackage[autodefine]{xspotcolor}
\NewSpotColorSpace{PANTONE}
\AddSpotColor{PANTONE} {PANTONE3035PC} {PANTONE\SpotSpace 3035\SpotSpace PC} {1 0 0.05 0.72}
\definecolor{PANTONE3035PCA}{spotcolor}{PANTONE3035PC,.5}
\definecolor{grey}{gray}{0.5}
\usepackage{fontspec}
\setmainfont{Linux Libertine O}
\begin{document}
\SetPageColorSpace{PANTONE}
Examples:
\begin{itemize}
\item this text is not Pantone
\item \textcolor{PANTONE3035PC}{dark blue}
\item \textcolor{PANTONE3035PCA}{light blue}
\item \textcolor{grey}{grey}
\end{itemize}
\end{document}

DG'
- 21,727
-
This same example works just fine with xelatex! The only difference is that one has to use the xespotcolor package. In addition, I am working on a version that will work just fine with the xcolor conventions. – Apostolos Syropoulos Dec 07 '15 at 18:14
-
@ApostolosSyropoulos The example does not seem to work, even after the change to "xespotcolor" as you mentioned, on either TL2016 or TL2017. Did anything change? – Paulo Ney Nov 16 '17 at 22:34
-
xspotcolordoesn't work with anymore, butxespotcolorstill does. I will update my answer. – DG' Nov 17 '17 at 11:32

pantonecolors in XeLaTeX. Provide link is aboutCMYKcolor. – Balaji Sep 20 '14 at 09:53