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

learn more… | top users | synonyms (1)

11
votes
0answers
354 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
182 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
232 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
109 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
86 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
154 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
203 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} ...
4
votes
0answers
503 views

Why \nointerlineskip if background of Beamer-color frametitle is empty?

I'm trying to read the source of Beamer default outer theme (the file beamerouterthemedefault.sty). In line 144 there is this code: \defbeamertemplate*{frametitle}{default}[1][left] { ...
3
votes
0answers
20 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
138 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
33 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
197 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
91 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
142 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
584 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
100 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 ...
2
votes
0answers
69 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
60 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
161 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
73 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
151 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
307 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
23 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
49 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
65 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
233 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
91 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
51 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
103 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
42 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
101 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
143 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
123 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
143 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
63 views

Error message when using memoir and xcolor together

I'm running TeX Live 2013 on OS X (Mavericks) and I'm seeing a bizarre error when using memoir and xcolor together. Here's my MWE: \documentclass{memoir} \usepackage[usenames]{xcolor} \title{A ...
1
vote
0answers
216 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
133 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
588 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
185 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
21 views

Coloured box around page number extending to border of page

My documentclass is 'scrreprt' with the option 'twoside' I would like to put a coloured box around the page numbers that extends to the right or left border of the page, without changing the width of ...
0
votes
0answers
24 views

Footline formatting - spacing and color of the shortitle

I am having trouble with the footline - I couldn't find the answer. How can I make the space between my name and affiliation (bottom left)? How do I change the color of "Introduction and ...
0
votes
0answers
24 views

Missing files with color (graphics) and xcolor packages?

I've tried this in the preamble: \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} Obtaining this a demand for: tex\latex\xcolor\svgnam.def I checked, it wasn't in the xcolor folder downloaded ...
0
votes
0answers
34 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 ...
0
votes
0answers
25 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 ...
0
votes
0answers
66 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 ...
0
votes
0answers
55 views

Reducing space & Auto coloring equations in gather environment

Following the solution in Problem with vertical spacing of equations in itemize after the first \item, I have another (side-effect) problem in colouring equations. Please help. The problem is ...
0
votes
0answers
63 views

Biblatex: Change color of journal title without removing DOI links

I want to change the colour of all journal titles (the ones with hyperlinks and those without) to a blue colour but at the same time keep the hyperlink that uses the DOI of the journal article to link ...
0
votes
0answers
35 views

How can I change the colour of the author of an article?

I have seen I could use the package xcolor, but I did not understand how. In general, what is the best, most efficient and simpler way to change the colour of the text?
0
votes
0answers
130 views

Gear or cogwheel tikz graphic

I found the code that permits the design of a gear. But what I want is to be able to Control the distance between teeth so I can increase their numbers. Fill each tooth with different colour. Be ...
0
votes
0answers
35 views

Ref using \hyperref[]{}, no color

I am using the hyperref package and are currently trying to reference using: \hyperref[label]{text and \ref{something}} The ref works fine, however, my other ref's (using eg. \ref{tab:no1}) are set ...