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

learn more… | top users | synonyms (1)

3
votes
1answer
3k views

Change color of itemize in beamer alertblock

How can I change the color of bullets in an itemize list within an alertblock in beamer? I use \setbeamercolor{itemize item}{<color>} to set the color of the bullets throughout the ...
9
votes
1answer
593 views

Heatmap of a triangular matrix (or a sparse matrix)

So let me first of all shamelessly steal heatmap code from this answer to Drawing heatmaps using TikZ \documentclass{standalone} \usepackage{colortbl} \usepackage{pgfplots} \usepackage{pgfplotstable} ...
2
votes
1answer
585 views

How do I change text color? [duplicate]

Possible Duplicate: How to change color for a block of texts? Wanting to change the text on the contacts frame from black to white. \documentclass[T]{beamer} ...
4
votes
1answer
1k views

How do I change the color of the author text in the Title (first) frame?

\documentclass[T]{beamer} \usetheme{Frankfurt} \usecolortheme{orchid} \usefonttheme{structuresmallcapsserif} \usefonttheme{serif} \usepackage{multicol} \usepackage{graphicx} \title{Example ...
10
votes
2answers
459 views

How to generate n points over a circumference and choose label and color

I would like to place n points over a circumference like Figure 3 of this file. I'd choose the label to be assigned to each vertex and color and I'd like to have the code in TikZ-pgf.
2
votes
1answer
707 views

change the color of an align environment

regarding this documentation ftp://ftp.dante.de/pub/tex/info/math/voss/mathCol/mathCol.pdf it should be easy to change the color of an align environment like this: \documentclass{article} ...
4
votes
1answer
804 views

Device Independent color

I am validating the following latex document with The 3-Heights™ PDF Validator Online Tool \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage[rgb]{xcolor} \begin{document} ...
2
votes
2answers
514 views

Framed floats and background colors for captions

i wanted to edit my floats. Found the package floatrow and got the desired frames easily for them. Now i would like to add a backgroundcolor to the captions. The problem is that the \parbox, i ...
3
votes
1answer
211 views

Style Parcolumns vertical bar

How can I style the vertical bar in parcolumns that appears when using rulebetween=true? I am trying to do something similar to what you can do with \vrule like the below: ...
12
votes
1answer
369 views

Highlighting chunks of text spiral

I use the code provided in this question to draw a text spiral and now I want to highlight each chunk separated with a comma in a different color. Is there a way to achieve that? ...
3
votes
1answer
135 views

increase length of a \node option and change its color

I would like to increase the vertical length of a node in a way that it can also stretch outside of my image. Moreover, I need to choose different color for each line. \documentclass{article} ...
3
votes
1answer
293 views

Custom vertical page border

I wanted to have a vertical colored bar running on all my pages, to the left of the page, in between the beginning of the sheet and the beginning of the text. Something like: |\| text | |\| text ...
4
votes
1answer
355 views

wrapping inline long lines and adding background color

Objective I'm trying to achieve the following output. Here's the code I used to produce it. I had to hack it \begin{document} \begin{description} \item In ...
4
votes
1answer
535 views

page background color for Part

I want to set the background color specifically for the page created for each "Part" section in my document (e.g. Part I xxx, Part II xxxx). I am using the book document class. Solutions for setting ...
17
votes
2answers
33k views

How do I color table columns and rows?

I've found question How do I fill table cells with a background color?, but the link to the documentation isn't helping me at all. I'd like to know how to color a table column given my column code, ...
2
votes
1answer
582 views

How to customize color for TOC, LOF and LOT in {article} class while using {tocloft}?

I have a document using article class (please not ask me why don't use report class). The article has TOC, LOF, LOT and Nomenclature. The MWE: \documentclass[12pt,a4paper,twoside] {article} ...
2
votes
1answer
184 views

custom color for handout

I want to print text I put in \only{TEXT} in another color, so I will spot my personal notes faster in the talk. What command do I need for this, please? I was thinking about creating a new command ...
1
vote
1answer
2k views

Problem with rowcolor in tables

Please help me. I have a problem with this table. I have other tables in my document, but rowcolor worked fine. Particularly, this code of my table has something wrong. I want the header colored with ...
0
votes
1answer
281 views

Adding color to table columns with alignment

I am trying to add color to certain columns in a table for highlighting purposes. In said columns, I have positioned the data presented to be aligned by the decimal point. However, when adding color ...
2
votes
4answers
1k views

PSTricks will not compile

\documentclass[12pt]{article} \usepackage[paperheight=9in,paperwidth=13.24in,margin=0in]{geometry} \usepackage{pstricks} \usepackage{graphicx} \begin{document} \thispagestyle{empty} \psset{unit=1in} ...
19
votes
2answers
478 views

Pros and cons: pdflatex+gs vs gs+pdflatex

I need to be producing two versions of documents I deal with: colour and grayscale. Of course the real issue are images. I'm not the author of the documents nor the images, I'm only the typesetter. ...
12
votes
1answer
185 views

Extra space added after equation when it is coloured

For some reason space is added after my equation when I colour it. This does not happen if the colour is added to text. Is there a simple way to prevent this from happening, like a global setting (I ...
8
votes
1answer
875 views

How to make a perfect colour filled threeparttable table?

A three line table is used for my report. I want to fill lightgray background color to the whole table, but there is white space between rows, how to eliminate this issue? Without \addlinespace: ...
3
votes
0answers
2k views

What's the difference between color and xcolor packages? [closed]

I am working off a template. I recently updated my TeXLive from 2009 to 2012. One issue I am having is with the following like \usepackage[usenames,dvipsnames]{color} When I use this I get now ...
3
votes
1answer
2k views

Changing color of text snippet in a verbatim environment

Is it possible to change color of part of the text that is in a verbatim environment? Lets say I have this verbatim section. I want to change the color of the marked lines into blue. ...
10
votes
1answer
374 views

Shaded Multicols

Does anyone know how to shade the background and put a border around a multicol environment, where page breaks are needed. There is a couple of posts around, most notably, multicols within colorbox, ...
5
votes
1answer
582 views

Undesired coloring of \graffito{…} in classicthesis and arsclassica

Is any of you familiar with the classicthesis and arsclassica packages? I am using them for my PhD thesis, they are great, but I encountered a minor problem. classicthesis defines the \graffito{...} ...
28
votes
1answer
3k views

When to use the xcolor package instead of the color package?

Can someone explain when to use the xcolor package instead of the color package? Unless you are creating your own specific colors, the differences between the packages seem to be fairly superficial. ...
13
votes
2answers
1k views

coloring entire row of tabular*

I would like to have the first row of all my tables colored with a certain color (below yellow) but somehow below thing is not working as expected This: \documentclass[a4paper, 12pt]{report} ...
3
votes
0answers
403 views

How to change color at beamer class using Luebeck theme and split outertheme? [closed]

I'm using the beamer class together with Luebeck theme and split outertheme. I already managed to adjust to color of the basic structure, if I use a dark color everything is fine, but now I have to ...
7
votes
1answer
198 views

xcolor and everycr-Problem

I'm trying to insert some \noalign-code in every row of a tabular by using colortbl and \everycr or \CT@everycr. In most cases it works fine, but not if there is a \rowcolors-command (from xcolor) ...
6
votes
1answer
1k views

xcolor package; color multirows

Consider the following table: \documentclass[a4paper]{report} \usepackage{multirow} \usepackage[table]{xcolor} \begin{document} \begin{table} \rowcolors{1}{gray!15}{gray!15} \centering ...
10
votes
1answer
2k views

A few words in a coloured/grey background box

How can I write a few words with a grey highlighting box in the background, as shown in the picture below ("TEXT 4")?
7
votes
2answers
5k views

How to change the shaded color of the \rule{…}{…} command?

To change the shaded color of the \rule{...}{...} command, one solution is \textcolor‎{‎blue‎}{\rule{2cm}{2cm}}‎ but I want to know how can I directly change the color of this command globally?
7
votes
2answers
1k views

Hyperref: Changing the linkcolor locally in the TOC

I found that the link-color for TOC text is identical to the link-color for Figures and Tables. When I change the color to black in the TOC also the color for Figures/Tables citation etc. is changed. ...
10
votes
2answers
178 views

\paragraphfootnotes with text colour

I am having some trouble with my footnotes becoming coloured in certain situations. In particular, I am wanting to use memoir's \paragraphfootnotes, but all the footnotes for a page become coloured if ...
13
votes
1answer
1k views

Problem with multicolumn color tables

edition might be grateful since i don´t know how to name this problem. English is not my native idioms. Also I don't know how to interpret this problem as well on so apologies in advance. I am ...
5
votes
1answer
716 views

Row colored with alternatingly with \taburowcolors is pink

I'm making a table with tabu having alternating row color, but I'm getting a pink row, which is not a color that I defined. The code: \definecolor{lightb}{RGB}{217,224,250} \begin{table} ...
11
votes
1answer
382 views

Changed all math text to red in beamer, now I can't make some math text black

When I try to make the checkmark black using the following code, it doesn't work; the checkmark shows up red. How do I make it black? \documentclass{beamer} \usepackage{amsmath, amsthm, amssymb, ...
7
votes
1answer
532 views

Change color of institute in the footer of a Latex presentation

I have a presentation that uses the theme Dresden with color theme beaver. Everything works fine, except for the name of the institute in the footer of the slides, which appears white on a very light ...
7
votes
1answer
440 views

Transparency with psSurface in pst-solides 3D

I'm trying to draw a graph with pst-solides3D with the option psSurface : The problem is as follows : I want to draw z = +/- (y^2-y^2), which should give a saddle-point graph with the lines x=y and ...
11
votes
3answers
191 views

Distinguish math symbols in the language and the meta-language

I'm writing some notes on logic and formal languages, and I would like to provide some visual cues to distinguish symbols in the formal language (e.g. predicate and logic symbols), from symbols in the ...
4
votes
2answers
226 views

colored table with some bold colored lines

How can I have a table with the following specifications: The top and bottom lines are bold and all other horizontal and vertical lines are normal. The whole table lines (including top and bottom ...
3
votes
1answer
861 views

How to change the color of the text in a theorem in beamer?

Hello I'm writing a beamer presentation and I would like to change the colour of the text in the theorem block from one place and it will affect my whole presentation. Is this possible? My example: ...
4
votes
1answer
6k views

Changing the color of itemize item in beamer

I would like to change the color of itemize item and itemize subitem (the bullet) throughout the presentation. I was wondering how I can do that. Here is my MWE: \documentclass [11 pt, ...
8
votes
1answer
160 views

Brace from {cases} environment disappears after rowcolors*{1}{…}{…}

I use rowcolors*{1}{...}{...} to color a table, then I use it again (with white as arguments) to reset the color. After that, braces look weird (they disappear slightly). If I use scrbook, book, ...
4
votes
1answer
3k views

Add a border to textblock

I'm pretty new to latex, and what I am trying to create a simple treemap, by simple I mean really simple. I have managed to produce a simple box at a given position and width, but I'm not too sure ...
5
votes
1answer
376 views

How to color the background of a table? [duplicate]

Possible Duplicate: Color entire table How can I color the background of a tabular environment? \documentclass{scrartcl} \usepackage[ngerman]{babel} \usepackage{color} \begin{document} ...
4
votes
1answer
154 views

Change color of links created with \in, \at, etc

By default the link color of references created with \in or \at is red. How can this color be globally changed, so that all links have the same color (e.g. blue)? \setupinteraction ...
7
votes
1answer
599 views

How to best set chapter title color in the memoir class's Hansen style?

I am tinkering with the Hansen chapter style for the memoir class, as reviewed and listed in texblog. The Hansen style is unfortunately not discussed in the memoir class documentation. I changed it ...