Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

how to create PDF in grayscale mode? convert PDF color in PDF grayscale. I need the PDF in grayscale color. Or in TikZ figure only.

share|improve this question

2 Answers 2

up vote 19 down vote accepted

For TikZ figures, you can use the xcolor command \selectcolormodel{gray} before or at the start of your tikzpicture. This won't turn images that you import with \includegraphics to grayscale, though.

\documentclass{article}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}[radius=0.5cm]
\selectcolormodel{gray}
\fill [red] (0,0) circle;
\fill [green] (1,0) circle;
\fill [blue] (2,0) circle;
\end{tikzpicture}

\begin{tikzpicture}[radius=0.5cm]
\fill [red] (0,0) circle;
\fill [green] (1,0) circle;
\fill [blue] (2,0) circle;
\end{tikzpicture}

\end{document}
share|improve this answer
    
Thanks Jake!!!! –  Regis da Silva Aug 15 '11 at 3:32

In ConTeXt \setupcolors[state=stop] should do that.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.