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

learn more… | top users | synonyms (1)

2
votes
1answer
133 views

Disabling colored borders in pdf with bookmark package

How do I get rid of the very ugly and annoying colored borders around all text in my pfd that is bookmarked? I am not using the hyperref package to make the bookmarks, because I cannot get than ...
5
votes
2answers
5k views

Change ref color of on the 'List of Figures'

In my 'List of Figures' Chapter the data is listed in red, and with a reference to appropriate part of the pdf file. I suppose this is due to \usepackage[colorlinks=true,linkcolor=red,citecolor=blue,...
2
votes
1answer
432 views

Bad colors in table using baposter

I'm trying to assign specific colors to table cells in a poster (baposter). Unfortunately they are reproduced different in the pdf. As they have to match the colors of my graphs I need precisely the ...
4
votes
2answers
94 views

Lighter midrule

I have a table that looks like \documentclass{article} \usepackage{booktabs} \begin{document} \begin{tabular}{cc} \toprule A & B \\ \midrule Q & M \\ W & N \\ E &...
1
vote
0answers
30 views

Define “no color” in a table cell

Is is possible to define a colour as no colour? This is for use in LaTeX tables for individual cells to override a defined \rowcolor. I've experimented with using a white colour, but then if the user ...
1
vote
1answer
41 views

Automatically coloring entries in toc if they contain only default images

Introduction I am working on a document with many images named in it. These images get inserted into the .pdf if they are located at the folder I told LaTeX to look in. If there is no such image it ...
4
votes
1answer
46 views

alternate row colors for only some columns

I'd like alternating row colors for only specific columns (and in a perfect world, also only a subset of rows), with a table using multirow and multicolumn. I've found that putting \rowcolor{COLOR} ...
6
votes
2answers
155 views

warning (pdf backend): pop empty color page stack 0

I've been receiving this warning and for the past several hours (erh, something like 12 hours now). I've been trying to narrow down what's been causing it, but to no avail. I managed to cut down the ...
2
votes
1answer
67 views

color packages change my spacing

I have a problem with loading color packages. I have started my document some time a go and I have around 90 pages. Just now I wanted to add some code listings with colors so I loaded color package. ...
0
votes
1answer
44 views

Annotate row and column highlighted in one table with different color by Tikzmark in Beamer

I found example for row only here: Annotate the table row highlighted by Tikzmark in Beamer Also found example for column only here: Annotate the table column highlighted by Tikzmark in Beamer but ...
3
votes
2answers
67 views

Komascript - Section after pagebreak has the wrong color

The following MWE shows that the second section is black instead of red. Even if this happens only if there is no text between these two sections: Is this a bug? \documentclass{scrartcl} \usepackage[...
2
votes
0answers
36 views

Change formatting of an element in ChoiceMenu

Is there anyway to change color in the \ChoiceMenu items such as Item 1, Item 2, etc.? Or even bolding individual choices would work... I tried \textbf{Item 1} and \color{blue}{Item 1} and they both ...
0
votes
0answers
30 views

graphics with baposter

I'm trying to include some plots into my poster. I would like the plot background to have the same color as my poster-boxes and the panel background to be white. Hence I create plot in R, but the ...
0
votes
1answer
70 views

Trims missing with colored page

I am using memoir and showtrims as an option. using \onepagecolor makes the trims disappear. Any ideas? Here is a MWE: \documentclass[12pt,showtrims]{memoir} \usepackage{lipsum} \usepackage{xcolor} ...
6
votes
3answers
87 views

How to create table with custom color borderlines?

I would like to learn how can I create on LaTeX a table like this: Please consider that the content of cells 9,17,25 and 13,21,29 are left aligned, not centered. Also, the width of border lines ...
4
votes
0answers
74 views

How can I prepare a PDF file for a colour overlay with `\color`?

I want to include colorised icons in a mdframed environment. Since I think that in the near future I will probably need the icons to have varying colours, I'd like to use the \color{...}{\...
27
votes
2answers
2k views

Can I alias a color?

I would like to define some colors and then define some aliases to them. For instance, if I define the following color: \definecolor{MyColorA}{rgb}{0.1,0.2,0.3} and then want to define an alias "...
2
votes
0answers
24 views

Table with colored cells using dcolumn and overlays

I found the very helpful question on how to add colors in a table using dcolumn here Colored text with dcolumn, but I would like to do the same thing using overlay such that the color only appears on ...
2
votes
0answers
32 views

How to make hyperlinks in bibliography without showing URL

This is my MWE: \documentclass{article} \usepackage{lipsum} \usepackage{natbib} \usepackage{bibentry} \usepackage{color} \usepackage{hyperref} % For hyperlinks in the PDF \hypersetup{colorlinks=...
1
vote
1answer
65 views

not showing define colour

\documentclass[10pt]{article} \usepackage{array, xcolor,graphicx} \usepackage[margin=3cm]{geometry} \usepackage{hyperref} \title{\bfseries\textbf\textit\underline{Anum Naeem Nagra}} \author{anaumnagra@...
0
votes
1answer
30 views

tabularx column text alignment color

I created a tabularx table with columns specifications. `\setlength\extrarowheight{5pt} %Augmente la taille des lignes du tableau `% \begin{tabularx}{1\linewidth}{| >{\columncolor{...
2
votes
1answer
28 views

changing color when lemma or theorem is cross-referenced

So, using hyperref I know how to change the color of "1" to blue when I say "using Theorem 1". But I want the entire "Theorem 1" to be blue. Similarly when I recall a lemma/theorem/proposition/...
12
votes
1answer
186 views

Generate coloured fancy Delaunay patterns in Tikz

Recently in the world of the Internet this very fancy coloured pattern appeared: I was thinking if it is possible to generate something similar with TikZ. I saw this first example here in Drawing ...
1
vote
1answer
40 views

Change Style of the Letterhead in Koma Script scrlttr2

I am using the scrlttr2 class of Koma Script and I would like to use a different color for the letterhead, which contains my address on the top of the page. Is there a simple way to apply the command ...
0
votes
1answer
50 views

All section titles in one uniform color in friggeri Latex CV

do you know how to change the colors of the section titles in the friggeri cv? I would like for them to be in one color and also the entire word, not only the first three letters. Is there any ...
4
votes
1answer
73 views

Customizing toc in book class (appendix and coloring sections depending on current chapter)

I'm trying to customize my TOC as in this post (second example) and I'm having two issues. The first one is documented but I can't figure out what I'm doing wrong : I want to write "Appendix" instead ...
1
vote
0answers
51 views

Tikz Pgfplot-Create user defined colorbar

I want to create only colorbar in Latex. Earlier I have used to Gnuplot to plot heatmaps along with colorbox(yeah, They are called colorbox in Gnuplot). The user defined colorbox in Gnuplot plot is ...
4
votes
0answers
49 views

Fill pgfplot bars with colorbrewer

I want to use colorbrewer in my project since it provides color cycle lists but I struggle to use them in the right way I think. Please have a look at my MWE: \documentclass{article} \usepackage{...
1
vote
1answer
28 views

Custom color between frametitle and top ribbon

I want to change colors for various elements in a presentation with Frankfurt style. I found how to change background and text color in the frametitle and outline ribbon, but I get two pale, ...
4
votes
1answer
67 views

define color in pgfplots

I want to plot funtions and data with own colors using \definecolor{<name>}{<model>}{<value(s)>}. If I use this command in \tikzpicture it works. But if I use this command in ...
6
votes
0answers
62 views

Xelatex, and strange textcolor behavior in tikz

Here is a minimal working example: \documentclass{beamer} \usepackage{tikz} \setbeamercolor{background canvas}{bg=black} \setbeamercolor{normal text}{fg=white} \begin{document} \begin{frame} \...
6
votes
1answer
70 views

Improper alignment in tabular environment when using xcolor table option

I came across weird behavior when loading xcolor=table option that affects the proper alignement in the tabular environment. The output of this MWE \documentclass{beamer} \usepackage{siunitx,...
4
votes
1answer
49 views

Overlays in beamer : itemize items from different colors

I have a problem with Beamer. I'm trying do use lists with items of different colors, appearing once at a time. Here's my MWE : \documentclass{beamer} \usetheme{Warsaw} \newcommand\coloreditem[1]{\...
4
votes
2answers
38 views

Single character keywords/operators with no spaces with listings package

I want to add a very simple macro language to listings. It uses single-letter keywords/operators, with no whitespace between. I can't see how to make keywords that don't require some kind of separator ...
60
votes
1answer
40k views

options for appearance of links in hyperref

If I use \usepackage[colorlinks]{hyperref} I get colored links for \cite (not good for printing or even viewing) but table of content looks fine. If I use \usepackage[colorlinks=false]{...
0
votes
0answers
35 views

How to change style and color of Table of Content in clean thesis?

I am using clean thesis for writing the thesis. I want to change color of Table of Content and references link in text. See image 1 i want to blue color or blackfor content and refrence color blue (...
2
votes
2answers
48 views

A lot of files are installed but not found by TexnicCenter

I have a classic install of MikTex, with all basic packages, but a lot are not found. Some managed to be found via the "package installation" window at compilation, but xcolor.sty just doesn't want to ...
2
votes
1answer
48 views

Beamer tikz uncovering with different fill colors

Consider the following slide: \documentclass{beamer} \mode<presentation> { \usetheme{Madrid} \usecolortheme[RGB={0,0,0}]{structure} } \usepackage{amsmath,amsfonts,graphicx} \usepackage{...
0
votes
0answers
17 views

New colored box environment [duplicate]

Is there someone who can do the followig: I would like to define a new environment for a colored box with a title that I can call as follows: \begin{mybox}{*Title*} ** Text ** ** Math ** \end{mybox} ...
1
vote
1answer
67 views

How to improve text readability on noisy, colorful background?

I have a noisy, colorful background, and I am writing text into it. The problem is that depending on the background color, part of the text is difficult to read. This is a TeXified question of this ...
1
vote
1answer
44 views

New environment special colored box

I would like to construct a new environment that I can call like: \begin{Box}{*Title of Box*} ** Text ** ** Math equations ** \end{Box} It shall have the following properties: The box ...
5
votes
2answers
125 views

Tikz fill color

At the moment I'm using this command in the preamble to fill the color of the specified row with grey: row 2/.style={ nodes={fill=gray!10} } Unfortunately I have to write this ...
5
votes
2answers
56 views

Colorbox does not linebreak

I'm new here, so I'm sorry for any mistakes or error in from my part. I am trying to make colored textboxes that refer to colored blocks in a figure. My problem is that the colored box does not ...
1
vote
0answers
34 views

Color aliases in lecturer.tex

It is my understanding that lecturer.tex uses its own strategy to manage named colors, but I would like to manage my own color palettes, so that I can just "switch" them; so, I would need an "alias" ...
17
votes
3answers
575 views

Why does xcolor lighten a color when mixed

I'm trying to create a smooth gradient between cyan and blue connecting two shapes, one drawn in cyan and one in blue. For that I use a simple mix of the two colors in a \foreach loop. However, in ...
2
votes
2answers
81 views

How to use colors from a pgfplots colormap in pie chart?

I like the pie chart from http://www.texample.net/tikz/examples/pie-chart/, but it's in grey color. Then I found the modified version to add colors by "Sigur" here:How to give different color to each ...
3
votes
1answer
55 views

Setting a custom RGB background color in beamer

I believe I've correctly followed the manual in defining a custom background color in the example below. But as the example shows, the background color is black rather than an extremely pale beige....
4
votes
1answer
44 views

Misplaced noalign when using rowcolor

I am trying to create a table with colored rows and colored hrules between the rows, but I am getting a "Misplaced \noalign. \rowcolor" error. The following example reproduces this problem: \...
3
votes
1answer
45 views

How to color just the section numbers in the Toc in the tufte-book class?

This is a follow-up question to How to color section numbers in the TOC? How to adopt the answers in the link above to work in the tufte-book class? here is my MWE: \documentclass[notoc,...
4
votes
2answers
91 views

How to color section numbers in the TOC?

In the following MWE, how can I color just section numbers in the TOC? \documentclass[a4paper]{book} \usepackage{color} \makeatletter \renewcommand*\l@section{\@dottedtocline{1}{0em}{2.3em}} \...