{color} is about using color in (La)TeX documents. Popular packages are color and xcolor.

learn more… | top users | synonyms (1)

0
votes
0answers
24 views

Colour correcting a presentation for a projector

Projectors are notoriously bad at showing images and I'm wondering if anyone has been able to correct the colours/brightness in a pdf to compensate for this? In my case I've got access to the ...
1
vote
1answer
33 views

How to do sidewaystable

I have a very broad table in one of my appendices LaTeX so I wanted to have it sideways. However, when I use sidewaystable, the table is placed on another page directly after my appendix, leaving my ...
3
votes
2answers
73 views

A single row background colour

Below is my code. How do I add a background colour to the first row (only the first row, please)? \begin{table}[!htb] \centering \begin{tabular}{c c c} \toprule ...
0
votes
1answer
25 views

Can I change linenumber colour?

I've tried adding the lineno package to my document. It's nice but I would like to make the numbers a different colour, like a light grey or blue, if possible. Can I do this in my style document ...
1
vote
1answer
51 views

how to construct table inside table in latex

I would like to construct a table look like the picture below in latex:
0
votes
1answer
40 views

How to use color declarations in titles?

How can I use color declarations when setting the title of a document? I tried \title{\color{blue} Colors in typesetting} but I get an error from LaTeX. Update: The error reads as followed: ...
0
votes
0answers
27 views

Font color affects spacing

I'm in the process of doing some changes to a paper based on the review comments. I want to have a command that simply highlights with red color the changes that I do, but when the command is changed ...
2
votes
2answers
64 views

Color text in a table

Is there a way to color text in an entire table without using environment tabu? For example, change the color of text in every cell to red.
1
vote
1answer
50 views

Align colored numbers in table

How to align colored numbers in the last line with other numbers in the same column? \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} ...
2
votes
1answer
9 views

How are the colors for certain schemes defined in moderncv?

Unfortunately, I'm not able to find this information in moderncv.cls... There is only written: % colors %------- \definecolor{color0}{rgb}{0,0,0}% main default color, normally left to black ...
1
vote
2answers
22 views

Changing color of cites with hypersetup not working

I'm trying to change the colors of my cites. I would like to get a light blue color for them. I tried using hypersetup but it seems not to work. Here is my MWE: ...
3
votes
2answers
61 views

Color of the navigation bar in beamer (theme Goettingen)

How can I change the color of the navigation bar in beamer? I am using "Goettingen" theme. I tried several changes, but that did not work... CODE: \documentclass{beamer} ...
0
votes
0answers
22 views

problem colour image in latex [beamer]

I have a problem : I'm using pdfLateX in beamer presentation. Build and view is: DVI->PS->PDFCHAIN also have this in preamb: \usepackage{graphicx} % Allows including images When I'm importing a ...
0
votes
0answers
12 views

Kile - change color scheme for panels

I'm trying to configure kile on my ubuntu 14.04. I have changed the edito color scheme to a dark one and it looks nice but the side panel, konsol, and other windows are still bright white which ...
3
votes
1answer
29 views

Refering to colors using numbers

I want to create a command allowing me to colour arbitrary text with a color designed by a number (e.g. 1 = Green, 2 = Blue, etc). To that purpose, I create a first command, giving the name of the ...
1
vote
0answers
32 views

texstudio non-english text is black

I'm trying to change my color scheme and used this answer. My document is in persian so I downloaded this spell checker dictionary from OpenOffice website and also in texstudio changed he dictionary ...
8
votes
2answers
5k views

Understanding xcolor color mixing model

I fail to understand the color mixing of xcolor. I want to have a lighter and a darker version of a color defined as \definecolor{BlueLUH}{cmyk}{1.0,0.7,0,0} My approach of lighter and darker is ...
4
votes
1answer
28 views

File ended while scanning use of \multicolumn

I used http://www.tablesgenerator.com/# to create this table and loaded all of the needed packages. But it stil doesn't work. I really need this for my thesis. Can someone please help? My code is the ...
4
votes
0answers
95 views

Draw a transparency gradient arc over a rectangle with tikz

Consider the following code: % DOCUMENT TYPE \documentclass[12pt,a4paper]{article} % PACKAGES \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} ...
10
votes
2answers
190 views

conditional against font color

I want to change the text according to its current font color. I can test argument against font family \documentclass[a4paper,12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
1
vote
1answer
30 views

Make different color of few letters in the middle of the word

I tried to make the following word in Black and Red. \textbf{ trans{\textcolor{red}IT}ion'10} It gives me the following result - But I want both IT in red. Why the T is not being red.
1
vote
0answers
32 views

How to color in tex image

http://tex.z-dn.net/?f=\color{red}{\frac{2}{3}} I have been struggling to get expression colored in that site. It doesn't seem to understand \color command... I am new to tex. Do I get help ? Thanks! ...
4
votes
1answer
540 views

Why \nointerlineskip if background of Beamer-color frametitle is empty?

I'm trying to read the source of Beamer default outer theme (the file beamerouterthemedefault.sty). In line 144 there is this code: \defbeamertemplate*{frametitle}{default}[1][left] { ...
2
votes
3answers
52 views

Colored frame in includegraphics environment

I like using \includegraphics[<your options>,frame]{image} to create a tight border around my images. How can I change the color of the border? Minimal working example: ...
0
votes
1answer
35 views

Framesubtitle in a different color than Frametitle in Beamer?

I was wondering if it is possible to have a different colour for your framesubtitle than the colour your frametitle has? I found out how to change the fontsize seperately here: Set frame subtitle ...
1
vote
1answer
134 views

Using MikTeX how can we color some text

I am using MikTeX 2.9 on Windows 8.1. The PDF output of the Following TeX file does not display the word "example" in fore color or background color. I'm using TeXWorks editor - that comes with MikTeX ...
1
vote
0answers
26 views

Using xcolor package and inserting figures

I have a report with figures. The code that I'm using is very basic and looks like this: \begin{figure} \centering \includegraphics[scale=0.5]{Figures/pic} \caption{Title} \label{fig:name} ...
2
votes
1answer
45 views

Adding a different colored line to each row of a table

It is possible to get colored \hlines with the example provided below. However, there are several issues with this implementation: It needs a \newcommand for every color, which then has to be used ...
21
votes
1answer
275 views

How can I color parentheses depending on the nesting level (like emacs' rainbow-delimiters)?

Is it possible to have a custom setup for lstlistings for LISP-like languages and have matching parentheses coloured with a same colour taken from a palette? What I am looking for is something like ...
2
votes
1answer
38 views

Thumbnail style in note pages with beamer

I'm making a presentation with LaTeX beamer and editing some notes about the frames. I managed to change the background color of notes with \setbeamercolor{note page} but I still have a white ...
1
vote
0answers
34 views

How do I change the color of average in boxplot n pgfplots?

I have a simple graph using boxplot and I'm trying to customize the look. I'm part way there, but am having trouble with the average. where I have changed the color of the box and the median, but the ...
4
votes
2answers
2k views

How to color over/underline, or other ways to highlight substituted expressions in proofs?

I desire to "highlight" in equational proofs the expressions that are substituted for or transformed in each successive step. Since an expression may be transformed in both the prior step and the next ...
2
votes
1answer
34 views

Distinguishing \ref and \cref through different colors

I have the following problem with the hyperref, and the cleverefpackages. I would like to distinguish internal links (e.g. sections, etc) from mathematical links (e.g. definitions, theorems, ...
4
votes
1answer
34 views

How to change text color a particular reference in the bibliography in latex? (using ieee transactions bibliography style)

I want the a particular reference in the bibliography list to take on a different color, say, blue. These are some minimum working examples. This is my latex file: \documentclass{article} ...
0
votes
0answers
13 views

Colorizing lines in a longtable, but not the caption [duplicate]

I'm trying to colorize lines in a longtable, which is working except it is colorizing also the caption, like this - \documentclass[a4paper,12pt]{report} \usepackage[table,hyperref,dvipsnames]{xcolor} ...
8
votes
1answer
49 views

Color (CMYK) leakage when using precompiled format file?

EDIT3: Note - the below apparently demonstrates a bug with Ghostscript 9.02's tiffsep device (see comments); tested it with Ghostscript 9.16 and it doesn't display this problem (CMYK separations are ...
1
vote
1answer
58 views

How do I create a header that has a colored box with page number, Chaptername, and also a line across the textwidth after it?

I would like to create a fancy header that looks like this. I am writing a two-sided book with a5paper.
5
votes
2answers
103 views

Change the color of a single itemize item — command to do that?

My question concerns itemize items in Beamer slides. I want to obtain the following slide: This has been produced by the code: \documentclass{beamer} \begin{document} \begin{frame}{Title} ...
9
votes
4answers
177 views

Automatically colour previously defined strings of text

I'm creating some tables with conjugations for nouns, adjectives, etc., for certain languages. I wanted to colour certain endings of these instances but doing it manually is very tedious, so I tried ...
1
vote
2answers
42 views

Change color of numbers of sections

I want to change this box in which I have the section number to black, which I can do. But then the text is the same color and illegible. I need to make it white. I tried this but it didn't do ...
37
votes
2answers
2k views

Partially coloring cell background with histograms

Excel has a cool feature called "data bar" conditional formatting that allows the user to partially fill a cell background to create histograms based on cell contents. Here is a screen clip example ...
2
votes
1answer
34 views

Background color of the block of text

I want to have something like given in the picture. Borders above and below of the box are optional. I tried \colorbox, but it doesn't work. \documentclass{report} \usepackage{color} ...
4
votes
2answers
63 views

Table Row Color Covers Text

I am trying to create a table with alternating row colors using the xcolor package with the [table] option. The following example demonstrates that the row coloring (uncommenting the \rowcolors..) ...
2
votes
1answer
51 views

CMR Font selection and fancy header formatting?

I am trying to accomplish the following: Chapters like "Chapter1" in CMCSC10 font between two thin lines After that Chapter name like "Introduction" in CMR17 font The paragraph body in CMR12 font I ...
2
votes
0answers
31 views

Monochrome vs grayscale in scientific journals? [closed]

Many scientific journals accept only black&white articles. Does this mean that only monochrome (black and white only) articles or also grayscale (gray is OK) article are OK?
3
votes
0answers
23 views

Bad interaction between xcolor and chronosys package

I use the excellent chronosys. For some reason all of my colored charts became black. After a protracted debugging exercise I traced this to the use of HTML as one model in the xcolor package. Am I ...
2
votes
2answers
65 views

pstricks with “colorfunction” in a tikz loop

Trying to make a spiral of vectors (rotating arrow as a function of x-position) I came across tikz for making a proper loop. Concerning other loop solutions I had problems to apply more complicated ...
9
votes
2answers
10k views

Changing background color of text in Latex

How can I make change a text background in LaTeX? For example using Latex code \textsc{Extra Curricular Achievements}\\ I get However, I want the background of this heading to be changed so that ...
0
votes
2answers
35 views

Set color of title page with memoir

I'm writing a report with memoir and would like to set the color of the title page. The pagecolor package looks promising but I can't figure out how to set the color of only the first of two pages in ...
4
votes
1answer
43 views

Every \newtcbox{\FOO} with a certain text-color?

Imagine having a certain tcolorbox (manual) named FOO, called for via: \documentclass{article} \usepackage[most]{tcolorbox} \newtcbox{\FOO}{colback=red,colframe=blue} \begin{document} ...