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

learn more… | top users | synonyms (1)

3
votes
2answers
68 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
2answers
38 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
61 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
49 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
8 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
57 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
20 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
28 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 ...
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 ...
10
votes
2answers
187 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} ...
4
votes
0answers
93 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} ...
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! ...
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
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} ...
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 ...
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
33 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 ...
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, ...
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 ...
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} ...
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 ...
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.
9
votes
4answers
175 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 ...
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} ...
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
62 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
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?
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
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: ...
3
votes
0answers
22 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 ...
1
vote
1answer
30 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 ...
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 ...
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
40 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} ...
6
votes
1answer
190 views

Color RGB in LaTeX

Please, I'd like to use the blue color RGB (0,32,96) in LaTeX. How can I do this? I find this on the web: \definecolor{ultramarine}{rgb}{0.07, 0.04, 0.56} But it is not the right color I ...
2
votes
1answer
44 views

Colorful prebreak and postbreak tokens with listings package

I want to get colorful prebreak and postbreak tokens with listings package, but the following code doesn't work: \documentclass{article} \usepackage{xcolor,listings} \begin{document} ...
4
votes
2answers
83 views

Problems with pattern color

Why in the following MWE in all shapes the pattern color is as in the first one regardless that it is defined differently? %%%% pattern-color \documentclass[tikz,border=5mm]{standalone} ...
2
votes
1answer
50 views

How to change the color of TOC part font using tocloft

I have customised my toc using tocloft for everything from chapter down to subsection, but I cant work out how to change the color of the part font, how do you renew this command? I have read the ...
2
votes
2answers
90 views

How to change color?

How to change the colour of the ball in which the item numbers are written?. Help me please.
2
votes
1answer
53 views

Beamer background and text

I have provided a minimal example of the output I have shown below: \documentclass [compress]{beamer} \newcommand\Fontvi{\fontsize{6}{7.2}\selectfont} \usepackage{remreset} \usepackage{textpos} ...
0
votes
0answers
11 views

Coloured cells in Tabular printing over table lines [duplicate]

I'm using Tabular and XColor to color some cells of a table, but some of the coloured cells are "printed above" the lines of the table (see attached image, which shows part of the table). How could I ...
3
votes
1answer
52 views

Color Mixing/Overlapping Mechanism

Ideally I would imagine that if I overlap the red, yellow, blue three glasses, then I would see more or less a black color in the overlapped region. However by doing this in LaTeX, it seems I was ...