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

learn more… | top users | synonyms (1)

11
votes
0answers
398 views

Changing colors of included cmyk jpg

I am trying to convert a pdf containing grayscale pictures and black text into shades of a single color in cmyk color space (for printing). I was thus very happy to learn, from a side remark in one ...
6
votes
0answers
211 views

colour cells in a table according to the value

I have seen the following code in response to another similar question that works when the numbers in the table are between 0 and 100. How do I have to modify this code so that it works for numbers ...
6
votes
0answers
270 views

TikZ Chromaticity Diagram

I'm trying to make a chromaticity diagram in tikZ, does anyone know how to make one? I want this My issue is not in forming the spectral locus that I can do, right now I'm only using three points ...
5
votes
0answers
111 views

Is there a package for automating equation colorization?

I'd like to have the equation colorization process be somewhat semantic, i.e., I can still type equations or math the ordinary way, except they occur in an environment in which the colorization ...
4
votes
0answers
118 views

Draw a transparency gradient arc over a rectangle with tikz

Consider the following code: % DOCUMENT TYPE \documentclass[12pt,a4paper]{article} % PACKAGES \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} ...
4
votes
0answers
94 views

Create PDFs that assume different colours on screen and on paper

I'm a little bit surprised to find that my exact question doesn't already exist on stack exchange. It is quite general and thus doesn't require a minimal working example. I would like to know if ...
4
votes
0answers
178 views

ConTeXt: Use url parameter to hyperlink bibliography title references

Background A technical design document includes a number of citations. It would be convenient to include hyperlinks to the cited documents in the bibliography. The bibtex entries include articles, ...
4
votes
0answers
211 views

Latex - picture color and minted color

I'm using minted package. If logo (top-picture) contains green, code color change. \definecolor{codecolor}{RGB}{108,247,10} ...
3
votes
0answers
30 views

Bad interaction between xcolor and chronosys package

I use the excellent chronosys. For some reason all of my colored charts became black. After a protracted debugging exercise I traced this to the use of HTML as one model in the xcolor package. Am I ...
3
votes
0answers
26 views

What is the best approach regarding .cfg files for the LaTeX graphics bundle?

The manual for the 'graphics' LaTeX bundle includes instructions for setting up the right conditions for the use of colour and the inclusion of graphics in documents. For example, on page 2, it says ...
3
votes
0answers
158 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 ...
3
votes
0answers
112 views

Cross-referencing on 2 kinds of end-footnotes (separated and with different coloured numbers)

In the beginning I used parnotes and endnotes to distinguish between the 2 seperated kinds of end-footnotes: Attention: to be able to compile the first "grey box" of trial code, one must download ...
3
votes
0answers
42 views

Specifying Colors Per Page

Using the leaflet package, I am trying to create a flyer for a document. I have specified the background color NavyBlue for pages 1, 2, 4, and 5. Unfortunately, the default text color, black, is ...
3
votes
0answers
212 views

Fancy slides latex

I am using fancy slides for a presentation. The problem is that I want to be able to specify some colors with xcolor. When I try to do the usual \usepackage[usenames,dvipsnames]{color} I get an ...
3
votes
0answers
99 views

TikZ: Printing press cannot print document due to RGB colors, layers and transparency

The place I print my thesis needs the PDF file to conform to certain demands. Demands I was not aware of prior to sending them the document. So, here is the challenge: Using PGF/TikZ how can I bulk ...
3
votes
0answers
154 views

How to color groups of bars in a graph, coming form an external file?

I have a graph displaying bars and error bars, the numbers comming from an external .dat, being simply black and white. And this is how I got there: \documentclass[12pt]{report} ...
3
votes
0answers
661 views

Changing the colour of Beamer \titlepage using a .sty file

I've been looking for an answer everywhere to this, but so far, nothing seems to have worked. What I would like to do is change the background colour and font colour of the \titlepage command, but to ...
2
votes
0answers
23 views

Listings - Getting the colors right for custom language

I have lots of bookkeeping transactions that I would like to typeset in a color coded format. I am using the listings package to accomplish what I want. I tried the following code. ...
2
votes
0answers
39 views

Python console code with minted

I am using minted to highlight source code in my document. I have defined \definecolor{codeyellow}{RGB}{255,251,204} \newminted{python}{linenos,breaklines,frame=lines,bgcolor=codeyellow} in the ...
2
votes
0answers
54 views

'parula' colormap in pgfplots

I try to implement 'parula' Matlab colormap in pgfplots drawings. Here is the MWE for that palette with 10 points for interpolation: \documentclass{article} \usepackage{pgfplots} \pgfplotsset{ ...
2
votes
0answers
78 views

Listings: color numbers only out of keywords

With the listings package, I would like to color the integers out of strings and comments and out of keywords too. The question for coloring numbers has been asked several times. Some answer handle ...
2
votes
0answers
68 views

how can I load a tableplot, put random colors, and the legends automaticaly using a foreach?

\begin{tikzpicture} \begin{axis}[scaled x ticks={real:1e3},xtick scale label code/.code={$\cdot 10^3$}, axis lines=left, %xticklabel={$\pgfmathprintnumber{\tick}\lambda$}, pone lambda al lado del tikz ...
2
votes
0answers
256 views

Problem with framelines in tables

I am having a problem with LaTeX at the moment, which I seem completely incapable of solving. I am trying to create a simple table which has 4 columns and (should have in the end) 36 rows, including a ...
2
votes
0answers
78 views

change math color except in titles in beamer

I have used \setbeamercolor{math text}{fg=blue} to turn all my text in mathmode in blue. However I have also math in titles (and subtitles) and I would prefer the formulas to have the same color as ...
2
votes
0answers
156 views

Background colour of LaTeX template

How to change the background colour of LaTeX file template? Not the output file. I have a white background and white font. So I am not able to see the text I am typing.
2
votes
0answers
318 views

XeTeX Arabic vowels

I would like to demonstrate declension in the Arabic language by coloring a single vowel or letter. I found some solutions to color a single letter, however the connections would break. So again I'm ...
1
vote
0answers
26 views

Define listings for PHP

Problem: 1) Getting the following error messages: (a) Package Listings Error: Couldn't load requested language (b) Package Listings Error: language phpalsodigit undefined. 2) Unable to figure out ...
1
vote
0answers
23 views

Can't change the color for citations in elsevier style

I wish to change the color by default of the citations in the Elsevier template without having to touch the style sheet. Is this possible? Here is a MWE: ...
1
vote
0answers
41 views

texstudio non-english text is black

I'm trying to change my color scheme and used this answer. My document is in persian so I downloaded this spell checker dictionary from OpenOffice website and also in texstudio changed he dictionary ...
1
vote
0answers
34 views

How to color in tex image

http://tex.z-dn.net/?f=\color{red}{\frac{2}{3}} I have been struggling to get expression colored in that site. It doesn't seem to understand \color command... I am new to tex. Do I get help ? Thanks! ...
1
vote
0answers
33 views

Using xcolor package and inserting figures

I have a report with figures. The code that I'm using is very basic and looks like this: \begin{figure} \centering \includegraphics[scale=0.5]{Figures/pic} \caption{Title} \label{fig:name} ...
1
vote
0answers
43 views

How do I change the color of average in boxplot n pgfplots?

I have a simple graph using boxplot and I'm trying to customize the look. I'm part way there, but am having trouble with the average. where I have changed the color of the box and the median, but the ...
1
vote
0answers
27 views

Color of dash gaps in tabular and dash endpoint alignment?

I am using the \usepackage[table]{xcolor} and the \rowcolors{...}{...}{...} command to get rowwise alternating background colors in my tables. Now i wanted to have dashed vertical lines and came ...
1
vote
0answers
51 views

Coloring single cells in tabular

I've for a while tried to color single cells in a tabular enviroment. So far, I've tried the following \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{color, ...
1
vote
0answers
90 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 ...
1
vote
0answers
282 views

How to draw a squeezed ellipse with fading color on a sphere surface with TikZ?

Ideally, I would like to draw something like part (c) of the image below: . Here, I narrow down the question to how to draw an ellipse on the surface of a sphere with fading color as shown on part (b) ...
1
vote
0answers
102 views

How to make colored labels in feynMF/feynMP

There are several ways of adding a label to the vertex, e.g. as in code below. It is documented how to make the colored polygons or lines, as done for the V2, but I couldn't find anything about making ...
1
vote
0answers
144 views

Bad colors in table using baposter

I'm trying to assign specific colors to table cells in a poster (baposter). Unfortunately they are reproduced different in the pdf. As they have to match the colors of my graphs I need precisely the ...
1
vote
0answers
61 views

Disabling colored borders in pdf with bookmark package

How do I get rid of the very ugly and annoying colored borders around all text in my pfd that is bookmarked? I am not using the hyperref package to make the bookmarks, because I cannot get than ...
1
vote
0answers
140 views

Table of ybar plots with specific colors

I am trying to use specific coloring in an table of ybar plots. Maybe someone can help me out here. I have read other threads concerning the coloration of ybars but none of them really worked. This ...
1
vote
0answers
44 views

Colorising a table based on the content

It can be hard for humans to recognise strings of numbers as being the same. Consider the table below If cells that had the same content were each colours the same, then it is much more clear. ...
1
vote
0answers
111 views

Switch to complementary colors [black <---> white]

I've decided to work the most I can in dark mode with the applications that I use. So I would like to commpile my LaTeX documents by echanging all the colors to their complementary ones : black --> ...
1
vote
0answers
162 views

prevent color from overlapsing cell border

All question I have looked to doesn't help me to solve my problem. Here's my code : \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage[frenchb]{babel} \usepackage{color} ...
1
vote
0answers
132 views

Displaying authors in color bibtex

If I call a reference by \citet{xxx}, it appears in my document as Author [number], where the number appears in the color I defined in \hypersetup{citecolor=red} while Author and [] appear in black ...
1
vote
0answers
165 views

Using `\hhline` coloring cells of a table

Sorry for this simple question. I am trying to color some cells of my table. Unfortunately, if I color two neighbouring cells, the lines of the table disappear. I have found some questions about this ...
1
vote
0answers
281 views

Why are my hyper references pink?

I have this in the heading of my document: \usepackage[unicode=true, colorlinks=true, linkcolor=blue]{hyperref} Yet the links look like this: Why the pink color ...
1
vote
0answers
141 views

Convert color SVG / PDF to greyscale, using hatching patterns

I have a couple of charts which are in PDF or SVG format. I want to embed them as figures, but I want to replace colors with different types of hatching patterns. Is it possible to do this with LaTeX? ...
1
vote
0answers
676 views

Packages multirow and columncolor give ugly stripes

I have two problems on one slide. This is an example: \documentclass{beamer} \usepackage{graphicx} \usepackage{tabulary} \usepackage{colortbl} \usepackage{multirow} \usepackage{xcolor} ...
1
vote
0answers
197 views

floatfoot with ffigbox gives warning

I use a (I believe correct setup) of floatrow, to generate multiple subfigures, which uses \ffigbox and I would like to use \floatfoot to generate a longer text below the caption for the group of ...
0
votes
0answers
26 views

Understanding some tabu code

I'm catching up on LaTeX after a period away. Herewith part of a programme: \documentclass[12pt]{report} \usepackage{tabu,multirow,hyperref,colortbl,xcolor} \begin{document} \begin{tabu} ...