GeneralFont Color

General information and discussion about TeXnicCenter
Post Reply
ragh
Posts: 4
Joined: Sat Jan 12, 2013 8:45 pm

Font Color

Post by ragh »

Hi,
Whenever I build my output, I always get the font of the text similar to black, but not exactly black, more like gray. I am not changing any default property for color.
Attached you can see a comparison, the left "L" I created it by using the package color, and the right "L" is the default output. As you can see, the right "L" look more like gray in comparison with the left hand.

Any idea why?. I would like that always the text is generated in black like the left "L". Is there a way to set the default font color to black?, since it looks like gray.

This is what I am using (I am using Texniccenter):

Code: Select all

\documentclass[a4paper,12pt]{article}
\usepackage{color}
\begin{document}
\textcolor[rgb]{0,0,0}{L}
L\\
\textcolor[rgb]{0,0,0}{THIS IS BLACK} \\
THIS IS GRAY
\end{document}
Attachments
color_problem.PNG
color_problem.PNG (12.53 KiB) Viewed 10012 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Re: Font Color

Post by Stefan Kottwitz »

Check with a printer or a different PDF viewer. The default "black" color of your PDF viewer might be such a dark gray.

Stefan
LaTeX.org admin
ragh
Posts: 4
Joined: Sat Jan 12, 2013 8:45 pm

Font Color

Post by ragh »

Stefan_K wrote:Check with a printer or a different PDF viewer. The default "black" color of your PDF viewer might be such a dark gray.

Stefan
Hi, I am using SumatraPDF, any idea where to check for this?. You mean directly on sumatra, in this case, or in an option from Texniccenter commanding how to print?
I noticed that usind for example Latex > DVI > PDF gives a better black instead of the gray that I got from sumatra.
Is there a way to ensure the "blackest" possible output?
Thanks!
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Re: Font Color

Post by Stefan Kottwitz »

Just open the same created PDF file with another program, such as the Adobe Acrobat Reader or Foxit and compare.

Stefan
LaTeX.org admin
ragh
Posts: 4
Joined: Sat Jan 12, 2013 8:45 pm

Font Color

Post by ragh »

Stefan_K wrote:Just open the same created PDF file with another program, such as the Adobe Acrobat Reader or Foxit and compare.

Stefan
Yes that is what I did and that is why I noticed, I am trying to fix it so that I can keep using sumatraPDF or to ensure that I get the "blackest" output possible.
Any idea?
Thanks again!
Post Reply