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

learn more… | top users | synonyms (1)

3
votes
2answers
582 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
902 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
731 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
194 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 ...
15
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
507 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
809 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
134 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
402 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
203 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
769 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
235 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
247 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
508 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
988 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
292 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 ...
11
votes
4answers
439 views

How to construct a logic argument with colored hline with length under control?

How to construct a logic argument like this one? I can construct it like this: Latex of my argument: \documentclass[10pt]{article} \usepackage{newtxtext} \usepackage{newtxmath} ...
6
votes
1answer
3k views

How to change style and color of Table of Content?

I want to change style and color of my Table of Contents to match this: Note that I use the minitoc package for creating my Table of Contents on a per-chapter basis.
5
votes
1answer
2k views

Light up table of contents in beamer

I am trying to color ToC in beamer. By default when ToC appears all entries are gray, but I want them to becoloured as my theme. How can this been done? A MWE is the following ...
14
votes
1answer
3k views

Option clash for package xcolor

Im doing a report, and having a rather large table in my appendix. And want to emphasize some specific values by coloring some single cells. I'm trying to do it with xcolor. But receiving the error: ...
6
votes
1answer
2k views

How to change hyperlinks color {Lyx}

I am using Lyx and i would like to change the color of hyperlinks on my bibliography. The default color is pink (at least on report layout , which i am using) Is it possible to change it, to blue ? ...
7
votes
2answers
3k views

Change background colour for entire document

I would like to change total document background colour; for example to Yellow: I have used two packages: \usepackage{colour} \usepackage{xcolour} But I am unable to get my output, is there any ...
2
votes
1answer
969 views

Overline in text mode, Background Color

I've got the following code below to mimic a TI83 Calculator screen, but I'm stuck on adding a couple of things I'd like to add. I'd like to make the \overline{x} in text mode. I tried \={x}, and ...
0
votes
1answer
192 views

Turning off all colors and background images in beamer

Is there a command to turn off all colors in beamer ? I have a tex file (beamer) where I have used a lot of colors. Just in case, the colors don't show well on the projector, I wanted to turn off all ...
13
votes
1answer
2k views

Background color gradient for entire document

Is anyone aware if it's possible to change an entire document's background to a fading color? In other words, can you take silver and slowly fade it to white from left to right and have this same ...
5
votes
1answer
161 views

Remove Formatting in Table of Contents

I have custom colouring in the section headings, i.e. \section{\textcolor[red]{Heading}}, so when I use \tableofcontents it prints the table of contents including all the unnecessary colouring. Is ...
35
votes
2answers
1k views

Partially coloring cell background to fake histogram

Excel has a cool feature called "data bar" conditional formatting that allows the user to partially fill a cell background to create histograms based on cell contents. Here is a screen clip example ...
6
votes
2answers
261 views

I need to provide a duotone pdf, what do I need to do with my figures?

I need to provide a duotone pdf (say black and cyan). My figures are made with tikz, pgfplots and asymptote (3D but no prc), some with opacity effects. I compile with pdftex and luatex. What do I ...
4
votes
1answer
466 views

Missing number, treated as zero with nested tabu

I have this minimal example: \documentclass{article} \usepackage{colortbl} \usepackage{longtable} \usepackage{tabu} \begin{document} \begin{longtabu} {|ll|} a & \begin{tabu}{l} 1 \\ ...
3
votes
2answers
269 views

Display colored text in Adobe Acrobat Reader

Hello everybody out there using TeX, Sorry for molesting you with a question involving closed-source software, but Adobe's Acrobat Reader on Ubuntu 12.04 doesn't display colored text within my ...
10
votes
2answers
621 views

How to highlight all words of the form [0-9][A-Za-z0-9]* immediately following an equal sign?

I am using the Latex Listings package to include code in a document. I need to implemented syntax highlighting similar to what you see in a standard IDE. I've been able to assign colors to comments, ...
7
votes
1answer
477 views

lstlisting border bug when breaking lines

I have a certain bug regarding listings. I have used the \lstset command to configure my lstlisting environment. Somehow, when I have a line that is too long to fit into one row the listing breaks ...
4
votes
1answer
381 views

How to use color by number?

I'm trying to use Bettini's QSource Highlight IDE to colorize my python code. Generated LaTeX output is something like: \noindent ...
4
votes
1answer
888 views

Coloring rows and columns in a tabular environment

I'm trying to put together a series of tables that show row reduction with simplex method (operations research concept). I'm trying to highlight the rows and columns used in simplex method, and these ...
13
votes
1answer
2k views

Changing color of already printed text

For making a small quiz in class I am working on a presentation in beamer. I want to change the color of statements to red (wrong statement) or green (right statement) but only after my class ...
8
votes
1answer
1k views

Different color for individual bar in bar chart & adding bar labels

Please consider the following MWE. There are three things I would like to do: Individual colouring For the last element ("not rejected") I would like to fill the bar with another color (e.g. ...
1
vote
1answer
587 views

Marker color in legend

Since I updated to TexLive2012 yesterday, I can't get ant colored markers in my legend. Where as first I could put the following in the \addlegendentry options, it now won't work. ...
6
votes
2answers
860 views

Included pdf (wallpaper, or includegraphics) has different colors [duplicate]

Edit: Duplicate-clickers, please read on - I believe this case is different, for the following reasons: a) As I said in original post, I am not printing with Acrobat, but using Skim and Mac OSX ...
6
votes
2answers
226 views

Adding borders to an entire row in a table

I have a table with multiple rows (a regression table). I would like to add a coloured border highlighting one particular variable. I have found a way to border one cell at a time but is there a way ...
7
votes
1answer
372 views

tikz and colorboxes in plain tex

I recently discovered that I could use tikz in my plain tex documents using \input tikz. I'm happy with it and began to experiment the drawing of some pictures. But, when trying to compile some ...
5
votes
1answer
3k views

Is there a way to change the font color of a piece of text ONLY on beamer mode?

I'm building a beamer presentation and would like to have some parts of the text shown as red on specific slides, but ONLY on beamer mode (as opposed to handout mode). I have tried the following: ...
9
votes
2answers
319 views

How to make colored swatches inside text?

The following is an image of a sub-section of the documentation of the package xcolor. How to insert such a color swatch within text? I need it to explain the functionality of different parts of a ...
5
votes
1answer
1k views

Creating new colors in xcolor for use in listings

I'm trying to include some code using \usepackage{listings}. However the default look is not very pretty, so I want to customize it a bit. I've read some of the other posts about changing the layout ...
1
vote
1answer
233 views

Color lines tabularx add padding? [duplicate]

Possible Duplicate: Color changes cell height in tabular The following latex table contains two rows. The rows are identical, except for the greeen color in the first cell in the second ...
1
vote
0answers
154 views

beamer color changes from slide to slide [closed]

I have a problem with colors that is rather weird. I wrote this presentation in beamer, and while I set all the color of the text with \setbeamercolor{text1}{fg=SeaGreen!80!black} and I use them ...
4
votes
2answers
622 views

How to highlight math environments with colored background?

How to highlight maths environments (in-line mode excluded) with a coloured rectangular background e.g. grey? A \textwidth rectangular behind the \begin{equation} environment.
2
votes
1answer
653 views

ADDING white space to an image?

I'm new to beamer and am trying to make a presentation. When inserting an image, the output is satisfactory, except when I try to insert a .pdf! The white space in the image disappears. Initially, the ...
4
votes
1answer
298 views

How can I make a custom \item for use in a list?

I would like to change the color of an \item in a list and I would like the item to look like a regular item. \begin{itemize} \item item one \reditem item two \item item three \end{itemize} and ...