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

learn more… | top users | synonyms (1)

4
votes
1answer
201 views

How to style all instances of a certain word?

In my document I want to change the colour of every instance of the * character to red. How can I style every instance of a single word or character without interfering with the document's other ...
0
votes
1answer
118 views

Putting titles in color boxes [duplicate]

I'd like to know how I can a Chapter title into a color box and change the style and personalize it. The only thing I could do, at the moment, is... What I like to do is change the style of the ...
3
votes
1answer
134 views

two-coloured hyphenation

I want to teach a child reading German. For that purpose I want to produce texts in which the different syllables are marked in two different colours, a common technique to facilitate reading for slow ...
2
votes
1answer
53 views

Change the colour of citations in the Tufte book class

How can I change the colour used for margin citations in the Tufte book class to grey? I'd like for the citations to take a visual back-seat to margin notes and figure/table descriptions.
0
votes
0answers
52 views

xeCJK - CJK text colors for customized commands not changing as specified

I'm using the template Deedy-Resume to create my resume. English version works fine, however I'm not sure how to create a Chinese version properly. I used the package xeCJK. The fonts are rendered but ...
4
votes
1answer
76 views

How to handle a color key in pgfkeys

I'm trying to use pgfkeys to parse the arguments in a set of macros. I need to use some arguments for color. But, I get an error with the xcolor package saying that the key I defined is not a valid ...
0
votes
1answer
242 views

colorbox doesn't wrap the text correctly [duplicate]

There is a problem with using \colorbox command. As you can see in the example and its output, the statements in the \colorbox doesn't correctly wrapped. Is there any suggestion for that? ...
1
vote
1answer
73 views

TikZ is colored despite having \setupcolors[state=stop]

In the following MWE I get a red square, but I want it to be gray, as in the also provided LaTeX-document: % ConTeXt MWE \setupcolors[state=stop] \usemodule[tikz] \starttext ...
3
votes
1answer
103 views

How to change/add column background colors in Lyx? I can easily change/add colors of rows, but not columns

Bear with me, this isn't a duplicate question. I can successfully change the row color in tables using the instructions here: http://wiki.lyx.org/LyX/Tables (A similar question exists here: ...
0
votes
1answer
30 views

Unintended caption coloring

I do have a command, which prints out part of the text in different color. \newcommand{\indexit}[1]{\index{#1}{\sffamily\color{NavyBlue}#1}} It works fine, but if pagination breaks #1, and a ...
2
votes
1answer
67 views

Multiple underlines with multiple colors

I would like to highlight the text that corresponds to many persons. I think underline is a good highlighting method. But I can put only one color for the underline. \usepackage{soul,xcolor} ...
9
votes
3answers
323 views

One single colored letter inside \spacedallcaps

I want to change the color of a single letter inside a custom \spacedallcaps command. This command makes the specified text uppercase and changes the letter spacing. When I introduce a ...
3
votes
1answer
80 views

Colorbox with changes package

I am working with the changes package. Modifying the color of the changed passages works well with \colorlet command. Is it possible to create colorboxes (with yellow color) only around the changes ...
4
votes
1answer
475 views

Customize colors in beamer Madrid theme

I have been trying to customize color themes in Madrid beamer theme for slide sections. I have checked the beamercolorthemedefault.sty file looking for the properties I should change to do so, and I ...
1
vote
1answer
96 views

cell colour overlaps cell borders

This is a question that seems to be asked quite often so I apologise for the repetition. I looked in the answers already given and tried out several of them, but none seems to be the solution to my ...
0
votes
0answers
17 views

Why row color overlaps with row border [duplicate]

I am using the following latex code to highlight some row of a table useing rowcolor command. However the table borders in those rows are overwritten by the row color. Why is it happening? How can I ...
2
votes
0answers
32 views

Setting color text to improve eye movement from the of one line to the start of the next? [duplicate]

The web site http://www.beelinereader.com/ provides a chrome browser extension which colorizes paragraphs so that moving your eyes from one line to the next is much quicker than with just black ...
5
votes
2answers
95 views

Changing \eqref colors in Beamer

I want to change my equation reference color to \usebeamercolor[fg]{structure}. I use it as {\usebeamercolor[fg]{structure}\ref{eqn1}} but I want to make this as my default color and just use ...
3
votes
1answer
89 views

TikZ won't support HSB color model hsb in article document class

I'm trying to use the wave color model in a tikz picture using the document class article. When I do, I get the error message "Unsupported color model 'hsb'". Consider the code below. ...
9
votes
1answer
217 views

Creating a smooth gradient between two colors on an edge in TikZ

I'd like to have a two-colored edge between two nodes of different colors. I'm hoping to make the edge fade from one color into the other in an even way. The solution I've found so far is a bit ...
7
votes
4answers
953 views

Creating a rainbow color macro

I'm trying to draw a picture in tikz whose code is generated by another computer program. The program outputs hundreds of numbers in between 0 and 100, and I'd like to color objects in the picture on ...
4
votes
1answer
233 views

How to change the paper color(background color) in tikz class

How to change the paper color(background color) in tikz class kindly help me to change color \documentclass{scrartcl} \usepackage[usenames,x11names,dvipsnames,svgnames]{xcolor} ...
5
votes
2answers
227 views

Different colors for itemize in blocks and outside, in Beamer?

I would like to obtain what I describe in the following MWE, that is the itemize symbol should be black outside blocks; blue in normal blocks; red in alert blocks; green in example blocks. MWE: ...
0
votes
0answers
30 views

Autocompletion colors in TexStudio

I am currently trying to customize my TexStudio editor to look a little bit more like what I'm used to from IntelliJ's Darcula theme. However I cannot find where I can change the colors during ...
2
votes
2answers
78 views

Bicolored font (main color and background)

I want to write some text on tikzpicture with bi-colored font: each character will be display in main color but each character will be doubled (like bold) with an other color. The result I want to ...
2
votes
1answer
187 views

Table with different colors removes vertical and horizontal lines

I have a table in my documentation, where i'm switching the rowcolor between white(default) and gray. Those rows, where the color is changed with \rowcolor{gray}, disabling the horizontal and vertical ...
4
votes
3answers
240 views

Simplest way to get a colored rectangle behind text? [duplicate]

I'd like to display a grey rectangle behind text, so that certain parts of the text are more recognisable. I will do this to highlight problems' body. I found various packages, like fancytooltips or ...
1
vote
1answer
72 views

Problem in listings, colored split command

MWE: \documentclass[a4paper,11pt]{book} \usepackage{color} \usepackage{listings} \lstdefinelanguage{mytex}[LaTeX]{TeX}{ alsoletter={\\}, morekeywords=[3]{\\mbox,}, ...
2
votes
1answer
114 views

How to color these circles in TikZ? [duplicate]

How can I color the output of this MWE like the screenshot? \documentclass{book} \usepackage{tikz} \begin{document} \begin{center} \begin{tikzpicture} \draw [thick] (3.25,-2) circle (1.5cm) ...
2
votes
1answer
104 views

Colored LaTeX command in verbatim

MWE, \documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \title{} \author{} \begin{document} \maketitle \tableofcontents \chapter{} ...
6
votes
4answers
349 views

How to define lighter/darker color from already defined color in TeX?

I am new in TeX, so question may be little silly. Is any chance to use already defined color to define new color which will be darkner or lighter? I want to use only TeX. So i have defined color like ...
4
votes
1answer
110 views

Color functional groups in chemfig syntax

I want to color simple functional groups in organic molecules using the chemfig package. I've come up with a solution that achieves what I want (MWE), but I find it very cumbersome. I thought it could ...
4
votes
1answer
73 views

Is it possible to color only one side of a cube in PSTricks?

I have this cube, implemented as follows: \documentclass[class=minimal,border=0pt]{standalone} \usepackage{pst-plot} \usepackage{pstricks-add} \usepackage{amsmath} \usepackage{pst-ob3d} ...
6
votes
1answer
208 views

Changing FONT color in headline

I am wondering how can I change the font color in the headline of my presentation? I saw from Beamer how to change color of infolines and frame title how to change the color of the bar but not the ...
4
votes
1answer
95 views

Remove color of acronyms used in an equation

I use the acronyms package to define mathematic symbols like this: \begin{acronym}[long] \acro{v}[$\vec{v}$]{View direction vector} \end{acronym} I do this with lots of others where it is faster to ...
2
votes
1answer
165 views

Control colors and shading of navigation circles in Beamer top line

I am preparing a presentation in Beamer using \useoutertheme{miniframes} and \useinnertheme{circles}, and my own modded version of the default colortheme. I want to have a Frankfurt-like navigation ...
2
votes
2answers
322 views

pgfplots: Color a 3D surf plot based on y-value

I'm not sure if things have changed since version 1.7, but this is the closest thing I could find. I'm wondering if there's an easier way to use the y-value with a colormap to determine the color, or ...
1
vote
0answers
104 views

How to place a color gradient text node inside a tikzpicture (absolute positioning)

I want to put a color gradient to a "Desired Text Only" but then I want to be able to position it inside a tikzpicure. I already checked this thread describing a way to put gradient color to a section ...
2
votes
1answer
62 views

CMYK and RBG in one document

Imagine the PDF file that you create from the tex sources has to have all colors defined in RGB because the PDF is meant to be read on screen. One would do: ...
3
votes
2answers
83 views

Define command that either does \kill or \textcolor

I have some paragraphs in my thesis, that will stay in there until just before it is finished. They should be marked as non-important to my supervisor. Then I'd like to remove those paragraphs all at ...
3
votes
2answers
89 views

Color in Table with Multicolumn and Multirow - How to achieve?

Yet another question, this time with coloring the table. This is the code for the table I got with your help here: \documentclass{article} \usepackage{multirow} \begin{document} \begin{table}[h] ...
6
votes
2answers
193 views

\cellcolor is taking too much space in a matrix

I would like to highlight a row, a column and a specific cell in a matrix. I ended up using \cellcolor. My problem is that \cellcolor is taking too much space, therefore the matrix borders are being ...
3
votes
0answers
169 views

Handwritten parchment. Quill style

I want to know a few fonts that look like this: I want to know what are the colors that were used to write with quill or some colors that could be used in the document. I would like to split the ...
5
votes
3answers
662 views

Change default colour used in Boadilla

I am making a beamer presentation using Boadilla style. However, I would like to change the default blue colour. Is there a quick fix for this, please? Thank you! The following is my code. ...
2
votes
1answer
37 views

Having several different colored borders for internal links

My question is: Is is possible to change the color of the borders of one or several internal links in LaTeX, without changing them all? I know it is possible to define a different colored borders for ...
2
votes
1answer
117 views

Typeset colored terminal output using minted

I need to reproduce the output of a command in a LaTeX document. The command uses ANSI escape codes to produce colored output. I'd like to use minted, but using \inputminted{shell}{coloredoutput} ...
3
votes
1answer
112 views

How to put equation side by side equations?

My MWE, \documentclass[a4paper,11pt]{article} \usepackage{empheq} \usepackage[svgnames]{xcolor} \definecolor{backcolor}{RGB}{255,255,170} \newcommand*\mybox[1]{% ...
1
vote
1answer
69 views

How to make a custom legend with a squared box followed by a text?

I'm trying to make one of that legends that we can find in some graphics such as bar plots. Just to clarify, I'm not displaying a plot. I have to present a schedule, which is defined trough a ...
0
votes
0answers
38 views

Framing and colorizing a LaTeX command [duplicate]

I normally use \verb|\LaTeXe| to typeset the command \LaTeXe in my document. But now I want to frame or/and colorize the command \LaTeXe. How can we do that? \documentclass{article} ...
4
votes
1answer
160 views

Colors in xcolor and color models

I did an experiment on the different color models available in xcolor together with the predefined colors. I observe that the colors vary alot depending on the color model. WHY? Why does the colors ...