Hi guys
I want to produce a document (book) using a text font color different from black (I think is the default value), to say 90% gray.
Of course this is easily doable under latex! Can you guys point me to a good package for managing the colors? I read something about the color package, but got the idea that it was more suited to change the color of some sentences, not the overall text color.
Thanks,
N.
General ⇒ Defining color font for the whole document
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
Defining color font for the whole document
What about the xcolor package? Should be something like the \textcolor command. Just search the documentation for this.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Defining color font for the whole document
Great!
xcolor seems to manage colors better than color.
And answering my question, it's trivial
Just have to define the color, and b4 starting the real stuff, call the new color.
Just for the record:
Cheers,
N.
xcolor seems to manage colors better than color.
And answering my question, it's trivial

Just have to define the color, and b4 starting the real stuff, call the new color.
Just for the record:
Code: Select all
\documentclass[11pt,pdftex]{book}
\usepackage{xcolor}
\definecolor{bookColor}{cmyk}{0 , 0 , 0 , 0.90} % 0.90\% of black
\color{bookColor}
\begin{document}
...
N.