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

learn more… | top users | synonyms (1)

2
votes
1answer
66 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. ...
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
23 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 ...
4
votes
0answers
73 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{...}{\...
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 ...
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 ...
2
votes
0answers
29 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=...
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
25 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/...
11
votes
1answer
182 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 ...
4
votes
1answer
72 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 ...
3
votes
2answers
66 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[...
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 ...
3
votes
0answers
45 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, ...
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
47 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
1answer
66 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 ...
0
votes
0answers
33 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
1answer
45 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{...
2
votes
2answers
46 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 ...
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
39 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 ...
1
vote
1answer
62 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@...
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
124 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
55 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
33 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" ...
3
votes
0answers
36 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} ...
2
votes
2answers
79 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 ...
4
votes
1answer
43 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
90 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}} \...
6
votes
1answer
35 views

Beamer color doesn't match

I am trying to get the color R0, G130, B202 into beamer. It should look like this: But the following Beamer document: \documentclass{beamer} \definecolor{PMSProcessBlue}{rgb}{0,130,202} \...
3
votes
1answer
50 views

How to make a layout with colored boxes around sections

I am trying to reproduce the following layout with latex: Is there any package or document class made for such a layout? The example is made in word using tables. But I think using tables in latex ...
0
votes
0answers
18 views

Coloring citations in the text

(possible duplicate) hi, i try to color my citations using hyperref package. here is my preamble: \usepackage{geometry} \usepackage{setspace,scrextend,sectsty,microtype,endnotes,xcolor} \usepackage{...
2
votes
1answer
52 views

How to color an semiplane delimited by one axis?

In my code below I made an complex plane with the real axis and imaginary axis CODE: \documentclass{article} \usepackage[brazilian]{babel} \usepackage{tikz} \begin{document} \begin{...
0
votes
1answer
42 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 ...
0
votes
1answer
44 views

Set color of \emph{} in beamer

How can I set the color of the \emph{}-tag in beamer? I tried something like \setbeamercolor{emph}{fg=red} inside of beamercolortheme.sty but it had no effect.
3
votes
1answer
28 views

How to increase background color of a node to input text

Obviously I need a background color for the rightsided text. Code is from the Tantau manual, p.45. It's a riddle for me at the time. Something wrong with the node which keeps the text? For any answer ...
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 ...
5
votes
5answers
156 views

How to style href's (underlined and coloured) throughout the document

Let's take the following MWE: \documentclass{article} \usepackage{hyperref,xcolor} \begin{document} \href{http://any-URL}{\color{blue}{\underline{Some URL}}} \end{document} Let's assume I would ...
5
votes
1answer
86 views

Beamer: How to use “beamercolor” in a tikz picture

How might it be possible to change the font color of a tikzpicture element to the value of a particular beamercolor, e.g. block title?-- For example: \documentclass{beamer} \usepackage{tikz} \begin{...
1
vote
1answer
61 views

How can I color one cell of a table using a tikzpicture?

I want to draw a table, and color one cell in another color. As I'm not that experienced in latex, I found this example: \usepackage{tikz} \usetikzlibrary{calc,matrix} \usepackage{amsthm} \usepackage{...
0
votes
3answers
48 views

LaTex - Change color of section

I want to change the color of a single section, and that color must not be changed in Table of Contents. \subsubsection{{\color{red} Embedded Design}} This is the code I used, but the color will ...
0
votes
0answers
32 views

Column color overwrites hline in array

Please help. Why does color column overwrite just the second \hline? How do I rewrite it? \begin{document} $$P=\left[ \begin{array}{>{\columncolor{red}}c>{\columncolor{red}}c>{\columncolor{...
2
votes
1answer
37 views

Overwrite point meta value after explicit definition

I want do some surface/mesh plots in pgfplots with a kind of logarithmic axis for positive and negative values. This is sometimes called a symlog colormap transformation, i.e. a logarithmic axis for ...
0
votes
0answers
12 views

How to read a beamer color from the theme? [duplicate]

I want to put some tikz drawings into my beamer slides. I would like to colour the things in the tikz drawing the same as other things in the slide. For example, I want to fill in a box with the ...