Using Pantone/Spot Colors in XeLaTeX

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}

enter image description here


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}

enter image description here


You can use the xespotcolor package. You need the latest version of xdvipdfm-x.

Tags:

Xetex