On 15. des. 2010 13:09, Boguslaw Kluz wrote:
  Hi all,

I'm completely new to LyX (and LaTeX).
I just can write and compose books.
My question is this: how can I export a pdf file in CMYK colorspace? I
know there are several options in save/export but how to make sure it's
CMYK?

If all the colors you use in the document are CMYK colors, then the PDF file will be CMYK too.

LyX has some support for colors, you can use colored text. If you use this, LyX will use the color package.

You can read documentation for the color package, and any color you use (such as red text, blue text, ...) can be redefined as a CMYK color in the document preamble.

Example. Make a document with some red text in it. In the preamble, write this:
\definecolor{red}{cmyk}{0,1,1,0}

Each number is a fraction that goes from 0.00 to 1.00. In this case:
0 cyan
1 magenta
1 yellow
0 black
This combination looks red.  In the PDF, it is encoded using CMYK.


If your book has color illustrations, just make sure that each image is made with CMYK colors instead of RGB. Some image formats supports CMYK, so this is handled outside of LyX.

Helge Hafting

Reply via email to