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

learn more… | top users | synonyms (1)

8
votes
1answer
824 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
1k 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
367 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
563 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{...} ...
26
votes
1answer
2k 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
386 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
196 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) ...
5
votes
1answer
997 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
177 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
686 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
368 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
499 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
431 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
186 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
224 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
812 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
5k 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
156 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
368 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
152 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
582 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 ...
1
vote
1answer
357 views

Classicthesis chapter number gets black

The chapter number is black, but it should be light gray. I have not modified anything in the layout files and have downloaded fresh one. Has anyone got a clue where I can change to adjust the color ...
18
votes
1answer
210 views

Why does a color meant for the first typeset line *only* (with package magaz) affect the *entire* document?

I am trying to make a nice layout that gives a different style to the first line in a section using the package magaz. All examples I have seen feature some variation of small caps {\scshape text} or ...
11
votes
1answer
447 views

What is the difference between \textcolor and \color?

I would like to define a new command to work as an alert command. If I want to alert some part of my text I would simply write \alert{}. But I want the result in red color. What is the best way to ...
2
votes
2answers
222 views

How to color the text-line-background in a table?

I'd like to color the background of a single line of text in a some cells of a table. I need to obtain a result like this: I have tried with \columncolor and \cellcolor but they don't leave me a ...
3
votes
2answers
618 views

Change font color of scrbook titlepage

I have the following code: \documentclass[a4paper,landscape,12pt,oneside]{scrbook} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{xcolor} ...
26
votes
4answers
949 views

How to change color of edge of characters? [duplicate]

Possible Duplicate: Outlined characters There are many ways how to change whole character color. I want edge color to be different from body color of character. How to do it? It is ...
6
votes
1answer
788 views

Is there any AMS TeX or LaTeX macro for background color in math-mode

Is there any way to display math expressions with a background color (highlight) using AMS-Tex or AMS-LaTeX . For example, using AMS-TeX/LaTeX, we can display a math expression in font color using ...
5
votes
3answers
200 views

Is it possible to shade an area of a picture using the xcolor package?

I want to shade an area of of picture I have created in the environment \picture. Is there anyway I can shade this by setting it between co-ordinates? i.e. could I shade in blue the area between ...
16
votes
1answer
2k views

Colored symbols

First of all, I apologize if this is a repetitive question. I searched, but couldn't find it. I was wondering if I can change the color of symbols in latex. For example \ast always give me a black ...
5
votes
1answer
523 views

colored full width box with some verbatim text inside?

I would like to create a text box of "reminders" for my readers. I'd like the box to be gray, go full text width, and have both normal and verbatim text in it. Reminder ensure blah blah ...
8
votes
1answer
849 views

Changing the colour of the text with itemize

I'm creating my own beamer theme. I can change the colour of the bullets using \setbeamercolor{}. But how can I change the colour of the text after the bullets? I would like to use it in a .sty file. ...
7
votes
1answer
135 views

Are nath and xcolor incompatible?

I have a file that compiles fine. It uses nath and color packages: \documentclass[10pt,a4paper]{article} \usepackage{color} \usepackage{nath} \delimgrowth=1 \begin{document} \begin{equation} A ...
6
votes
1answer
1k views

How can I set the background of a slide with a background image?

I have a background image for one of my slides which is partially transparent. I'd like to set the background color for this slide to black, but it does not work. Example: \documentclass{beamer} ...
4
votes
2answers
447 views

Warnings and errors highlighting when compiling in Bash environment

I'm processing a large document, using Latexmk in a Bash environment. It would be very helpful if error and warning messages were somehow highlighted or coloured, in order to facilitate spotting them. ...
9
votes
1answer
209 views

Coloring Arab suffix without losing connection

How can I change the color of Arab word endings without losing the connections? It's just ugly and loses readability. I'm using Tex Live 2012: arabxetex with xelatex but any package and/or engine is ...
0
votes
2answers
814 views

Problem in Bibliography Style (apalike) and table of content COLOR

I am using Latex for my thesis, and in Bibliography and table of content I have faced number of problems: 1-I am using natbib package and apalike style. I would like to cite references in following ...
3
votes
1answer
241 views

How to make hyperlinked tabs with specific colors?

I modified this project How to print section titles like tab-list? in the following way: usletter, 8 tabs on the edge of paper, odd pages only, text within the tab is set by the user (\TabText), ...
7
votes
2answers
252 views

How to keep hue from going beyond 300° in xcolor/pgf? (Doing math in pgfplotstable)

Ok, this is probably an incredibly trivial question for anyone who knows more about xcolor or pgf or TikZ or whatever really. I tried to use a hue scale for a heat map/color matrix with values ...
3
votes
2answers
531 views

multicols within colorbox

i'm trying to get a gray background for an entire multicols environment and get errors with this "minimal" working example: \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} ...
0
votes
0answers
34 views

Open source workflow to represent a number in a table cell by its background color [duplicate]

Possible Duplicate: Parametrize shading in table through TikZ Drawing heatmaps using TikZ I know this isn't strictly speaking a LaTeX question, so please move this somewhere else if you ...
2
votes
2answers
1k views

Class moderncv doesn't work with purple

I've only recently started to work with LaTeX. I've seen the nice CV that it is possible to do with moderncv, however I'm not able to change the color to purple. I do not understand why.. It works ...
2
votes
1answer
300 views

Highlight the next uncovered part in beamer

I have created the code below to highlight the parts where something need to be completed by the students. It works, but instead of frames there should be a light colored background this background ...