9

I am submitting a paper to an Elsevier journal, and they ask that "For reproduction in black-and-white, please supply black-and-white versions of the figures for printing purposes."

My figures are all pspictures, and they are done with different colors. Is there a way to automatically make them appear in black-and-white?

2
  • 2
    It would help to post a MWE.
    – user30471
    Commented Aug 6, 2015 at 14:03
  • You could redefine all the colors to be shades of gray (in xcolor). Commented Aug 6, 2015 at 21:19

2 Answers 2

5

The following also works for included eps images.

RGB to CMYK Put the following code into your preamble if you cannot change the PostScript code yourself.

\AtBeginDocument{\special{ps:
/setrgbcolor { 
  1 sub neg /Y exch def 
  1 sub neg /M exch def
  1 sub neg /C exch def 
  /K 1 def
  C K lt { /K C def } if
  M K lt { /K M def } if
  Y K lt { /K Y def } if
  K 1 eq { 0 0 0 }{ % Black 0 0 0 1
    /K1 1 K sub def
    C K sub K1 div M K sub K1 div Y K sub K1 div } ifelse
  K setcmykcolor
 } def 
}}

or/and RGB to GRAY

\AtBeginDocument{\special{ps:
/setrgbcolor { 0.07 mul exch 0.71 mul add exch 0.21 mul add setgray } def 
}}
10

Thanks to John Kormylo, I found a simple solution: just add these two lines at the Document preamble:

\usepackage{xcolor}
\selectcolormodel{gray}

Note that this changes only the colors generated internally in the document (including pspictures). It does not change the colors of included external graphic images.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .