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

learn more… | top users | synonyms (1)

2
votes
1answer
20 views

change page number color of latex beamer

I need to change the page number color to black in latex beamer. What do I need to add to the following code? \defbeamertemplate{headline}{page number}{% \vskip1pt% ...
3
votes
1answer
48 views

How to color numbers in axis?

I want to color the numbers 3 in blue and -1 in green as show in the picture below. My code is this : \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} ...
5
votes
1answer
49 views

Highlight / color parts of text

LaTex newbie here. Currently using vim with solarized color scheme to edit .tex documents. When writing I often jump around to different parts of the document, leaving gaps behind to work on later. ...
1
vote
1answer
53 views

Problem with beamer documentclass: xcolor.sty not found [duplicate]

I am trying to run the following code: \documentclass[10pt]{beamer} \mode<beamer>{% \usetheme[hideothersubsections, right,width=22mm]{Goettingen} } \title{Simple Presentation} \author[D. ...
3
votes
1answer
41 views

Oversized colored row in beamer block

As a follow up to this question, I am trying to insert tables in my beamer presentation so that they have the same style as blocks. However, I want to avoid using rules in my tables, and I am trying ...
5
votes
1answer
33 views

How do I prevent \cellcolor from over effect of \hline

I'm trying to add HTML code based color to my table, like so: \usepackage[table]{xcolor} \begin{tabular}{ |>{\columncolor[HTML]{F2FAF8}}c| p{11cm} |} \hline CELL 1 & CELL 2\\ \hline CELL ...
3
votes
1answer
101 views

Emacs / AUCTeX — Customization of keyword highlight syntax

font-lock-keyword-face is used by AUCTeX for all keywords, and I have not been able to find a way to create a new keyword that is a different color. I have defined the foreground of ...
6
votes
1answer
188 views

Uncovering items with changing bullet color

In this case consecutive items get covered. How could I change this behaviour so that all items would be black and only bullets would get different colours? \documentclass{beamer} ...
2
votes
0answers
34 views

Citation colour with Beamer + Hyperref + Natbib

I'm using natbib for citation with a custom bibstyle. I'm working on a presentation using LaTeX beamer and for some reason the citation marker doesn't have the colour that is specified to hyperref. ...
3
votes
1answer
66 views

Question about beamer - Head shaded with CambridgeUS

Related to my previous question about beamer, now I have another one: How to change the color on the head shaded from the light gray to the light green.
0
votes
2answers
106 views

Color and efficient vector graphics

I want to use complex monocolor vector graphics but I would like to be able to specify the color inside my latex source. Solutions : Use a pdf, but I can't specify the color afterwards. Perhaps a ...
0
votes
0answers
23 views

XML with Listings: Different colors for attributes and elements

How can I make every attribute name in color X and every element name in color Y without adding keywords and stuff? What I did so far: \lstdefinelanguage{myXML} { morestring=[b]", ...
3
votes
1answer
30 views

titleformat has no effect!

I have tried to specify the color for my section as shown here, but it has no effect. What am I doing wrong? MWE: \documentclass[10pt,letterpaper]{article} \usepackage{lipsum} \usepackage{multirow} ...
3
votes
2answers
38 views

Breqn color and background options ignored?

I have this simple latex code: \documentclass{article} \usepackage{color} \usepackage{breqn} \begin{document} \begin{dmath}[background={red}] 1+1=2 \end{dmath} \end{document} However using ...
4
votes
1answer
95 views

Changing color and header of beamer with CambridgeUS

How to change the red color for - the titles - the topics How to adjust the position of the header1 and 2? \documentclass{beamer} \usetheme{CambridgeUS} % Set Color ============================== ...
5
votes
2answers
93 views

Error using Minted for syntax highlighting in custom document class

I am writing Master thesis in LaTeX and want to use minted package for source code syntax highlighting. I have installed it successfully and minimal example from minted documentation works just fine. ...
17
votes
2answers
285 views

If a letter is white on white background, does a printer see it?

In preparation for press printing, I would like to produce a version of a document for printing a glossy varnish layer, where all the text is "missing", but the images and other elements are at the ...
14
votes
1answer
208 views

How to divide document for black and color printing?

Most of my document is black text, but there is a color figure here and there. I would like to print the text on a black and white printer, and the figures on a color printer. I know i could just ...
1
vote
1answer
431 views

Opacity in TikZ, ruins whole structure in Beamer [closed]

I am making a presentation in beamer. I wanted to make a TikZ picture and change it's opacity, locally on specific items. When I did, the structure color changed... I will attach my preable as well ...
5
votes
2answers
69 views

Getting a particular kind of page border using background package

I am doing my project report using latex, and the format requires a particular kind of page border around each page. (Its a black thick box enclosing a thin box). I saw this question, Multiple border ...
2
votes
1answer
107 views

Beamer: how to change the mini frames coloring

I want to do the following changes to the mini frames coloring: All previous frames almost the same solid color as the background so that the squares are barely visible. The current frame and all ...
10
votes
2answers
143 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 ...
4
votes
2answers
30 views

How can I avoid the gap between \cellcolor-colored cells created by \tabucline?

I'm trying to partially separate rows from one another using \tabucline. The line encompasses column 3-6. Since the line's width is neither part of the upper, nor the lower row, there is going to be ...
1
vote
0answers
29 views

How to set foreground (text) color in xcolor table? [duplicate]

How do I pick the foreground (text) color in xcolor table for the whole row? such that the letters appear white with blue background in this table (instead of black which is bad for constrast): ...
6
votes
1answer
133 views

Beamer: how to change the mini frames from circles to rectangles

I would like to change the mini frames from circles to rectangles and also make the already viewed symbols the same color as the background and future symbols the color of foreground. ...
4
votes
1answer
76 views

Change TikZ nodes color to grayscale

Say you have some code like this: \documentclass{standalone} \usepackage{tikz} % \PassOptionsToPackage{monochrome}{xcolor} \begin{document} \begin{tikzpicture} % \selectcolormodel{gray} ...
5
votes
3answers
694 views

Change color and background behind text of all 'description' environments

I'm new with LaTeX and like to change some parameters of the description environment throughout the document. As minimum, I like to have two arguments: color of text of item and background-color ...
3
votes
2answers
1k views

\cellcolor overwrites table lines

I have a table which I want to fill with multiple colors, each cell possibly different from another. Which means, I can't make use of e.g. \columncolor (as in this post). While the table without any ...
4
votes
0answers
87 views

Getting Yellow Background color on link

can anybody tell me how to apply a yellow background color on pdf links (especially on hovering the mouse over the link). For example, I would like to have the same yellow background effect that ...
5
votes
1answer
151 views

Error showing up when using multicolumn and colors

I have a document that is creating the exact output I'm looking for, yet when I compile it I'm getting two errors. After tooling around for a little bit, I was able to pinpoint their location to the ...
2
votes
3answers
122 views

How to change the color of symbols (mobile, email, homepage, etc) in moderncv?

I'm able to style the contents (color, font size), but I can't change the color of the symbol. Here's the code I'm working with: \documentclass[10pt,a4paper]{moderncv} ...
3
votes
1answer
60 views

Matching Brackets in TeX output

Is there any ways or features to make pdf-files using one of TeX systems so that when I move the cursor to one of brackets (either open or closed brackets) in pdf, then the bracket and the other ...
39
votes
3answers
6k views

Block quote with big quotation marks

How can I create a block quote enviroment with big quotation marks similar to the Cquote Template of Wikipedia? Additionally it would be nice to place both quotation marks and quote in a colored box ...
2
votes
1answer
79 views

Beamer: changing footline background color

I would like to make the footline color black and the text white. I found this: Beamer: Background Color for Footline but didn't understand how it applied to my example. \documentclass{beamer} ...
4
votes
1answer
167 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 ...
3
votes
1answer
45 views

Center displayed, boxed equation within environment

I would like to center, with respect to the page margins, a displayed equation that is boxed and is within either an enumerate or itemize environment. Below is an example of what I have. Notice that ...
3
votes
1answer
81 views

Set the width of a fcolorbox

Hi a very basic question I'm sure, but is there a way to tell \fcolorbox in xcolor to draw the box of a certain width. For example with \fbox I would do \documentclass{article} \usepackage{xcolor} ...
10
votes
1answer
3k 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 ...
1
vote
1answer
97 views

opacity and shading of an ellipse

I am making a picture of the tidal force effects on the Earth. My current picture is decent but I would like where the bulging occurs on the edges to be little bit darker in blue, but I don't want ...
4
votes
1answer
77 views

LyX table border colour

I have a multi-row table in LyX, with black horizontal borders at the top and bottom of the table. I would like to insert other horizontal borders inside the table that are grey rather than black. ...
4
votes
1answer
54 views

colors in tablecells in LaTeX

I'm making a tabular and I want some of the cells to be colored. So I searched how to make colored cells. I now have the following: \documentclass{article} \usepackage{xcolor,colortbl} ...
5
votes
3answers
81 views

How can I make footnote text color match body text color?

How can I modify the following code to also make the footnote text blue (globally, for all footnotes), like the body text? \documentclass{article} \usepackage{color} \begin{document} \color{blue} ...
2
votes
2answers
66 views

Create a new environment that uses a verbatim environment

Consider the following: \documentclass{article} \usepackage{environ} \usepackage{verbatim} \usepackage{color} \NewEnviron{vred}{% \color{red} \begin{verbatim} \BODY \end{verbatim} } ...
9
votes
3answers
131 views

How to change the color of bullets in a list

How can I change the color of bullets in a book? \documentclass{book} \usepackage{pifont} \usepackage{xcolor} \definecolor{myblue}{RGB}{0,29,119} \begin{document} \begin{dinglist}{110} ...
4
votes
1answer
97 views

Creating additional color for moderncv

I'm trying to create an additional color for moderncv, but am seeing unexpected behaviour. I've created a file called moderncvcolorburgundy.sty, by copying the file for the purple color. I've changed ...
10
votes
1answer
86 views

Two colors in one hyperlink

As usual writing a few documents. As one can see having too much color and gloss in a document is never good. Therefore having boxes, and a myriad of colors in the hyperlinks is a bad idea. I really ...
6
votes
1answer
171 views

Included PDF gets corrupted after Acrobat’s color conversion

I found a strange error … I’m typesetting a musical score with Sibelius 7. And to add some text and notes I use LaTeX (i.e. xelatex but the error is the same with pdflatex). To get a complete PDF of ...
3
votes
1answer
111 views

Alternate Row colors in longtable

I am using the method proposed by Nikos Alexandris in "How to apply alternate row coloring in a longtable in LyX?" works to a limited extent but the shaded rows does not fill the whole width of page. ...
6
votes
1answer
75 views

How to use color in `caption` package?

I am using caption package to customize captions in my thesis. My current code is: \usepackage[width=0.6\textwidth ,font={small, sf,it},labelfont=bf, labelsep=endash, ...
4
votes
1answer
100 views

Good-looking luminosity function plot

I'm trying to make a good-looking photopic luminosity function plot. So I want to make colored plot, but its colormap should depend on X values. Is it possible with pgfplots? I'll also appreciate any ...

1 2 3 4 5 15