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

learn more… | top users | synonyms (1)

0
votes
0answers
30 views

Fonts and color CMYK facing problem on TeXShop

Question 1 I am using LaTeX on Mac OS X with Classic. I have many four color (CMYK) projects in LaTeX. I use colors in CMYK mode. I am attaching three pages our projects. Now, I am using TeXShop on ...
4
votes
2answers
205 views

How can I print multiple pdf pages on top of each other?

I have two pdf pages with text and/or images. I would like to print them on top of each other, on one single page. Text and/or images have to be plotted over each other, transparent (white) regions ...
3
votes
2answers
79 views

Tikz circle edge color not showing

I am trying to plot some circles with a black edge and white face color. The circles are placed on the edge of an ellipse. I cannot figure out why this code is not working: \documentclass{minimal} ...
3
votes
1answer
90 views

Font and background color in LaTeX

I am currently trying to write up some math notes in LaTex, and I would like the background to be that 'sand'-colored background that is often used by some publishers of (especially classic) ...
3
votes
2answers
103 views

PGFPlots: point meta colormap index as fill value

I have the following simple PGFPlots sample \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} \begin{tikzpicture} \begin{axis}[ xmin=0, xmax=1, ymin=0, ...
9
votes
1answer
135 views

definecolorset of xcolor — problem with color values starting with “f”?

I am trying to write a script (that will be easy) to create a xkcd color set for the package xcolor. Look at this MWE: \documentclass{article} \usepackage{xcolor} % \definecolorset{HTML}{xkcd}{}{% ...
2
votes
0answers
27 views

colored column in tabularx [duplicate]

In a tabularx, I try to set the text color for a complete column as follows: \documentclass{article} \usepackage[papersize={60mm,60mm},margin=5mm]{geometry} ...
4
votes
1answer
52 views

Use frametitle.fg as color scheme does not work on second slide in beamer-class

I get a very strange phenomenon I don't understand here is a MWE \documentclass{beamer} \usetheme{Boadilla} \title{Title} \begin{document} \begin{frame}[plain] \titlepage \end{frame} ...
2
votes
1answer
115 views

Numbering color in align environment

I have a long series of equations in an align environment and I want to highlight only the last one (final result) using \color{red}. However, the label number stays black (unlike to what happen in ...
21
votes
6answers
842 views

How to change color of operators (lim, log, etc.)?

How can I change the color of operators like "log", "lim" or the root symbol of \sqrt command?
5
votes
1answer
73 views

Trouble nesting multiple commands using \newcommandx

First Question in this forum, so go easy on me :) I made a few meeting minutes documents for my business and I wanted a custom command for adding a note in a document. I wanted the color of the text ...
2
votes
2answers
93 views

Inline verbatim with line breaks, colored font and highlighting

I'd like to be able to use inline verbatim text with the following features: Line breaks, as provided for example by package spverbatim, command \spverb; Colored font, as provide by package color; ...
0
votes
1answer
99 views

Annotate the table column highlighted by Tikzmark in Beamer

I would like to highlight columns in my table using Tikzmark in Beamer. Here bellow is an example which does the same thing but for the table rows. I would like to know if is it possible to do the ...
1
vote
0answers
53 views

Device CMYK Color ratio should be need by default pdf output

I am using xelatex. My need is by default pdf output should be DeviceCMYK color throughout the file. But I can't get this by default xelatex pdf output. MWE: \documentclass[twocolumn]{article} ...
2
votes
0answers
52 views

Ink usage of white text background

I am working on a project that contains a lot of colorboxes and floats with background color. This consumes a lot of ink, which makes me consider making a separate copy available that uses transparent ...
4
votes
2answers
78 views

Beamer: Using a defined color for setting another one

I want to use the color template "block title bg" to make a box around the title of my presentation. My code is \setbeamercolor{title}{bg=block title.bg} but I get the error Package xcolor Error: ...
2
votes
1answer
29 views

Theoremstyle not applied

I'm writing some exercises, and wanted to add some style to my theorems for fun, it was working well until I opened it today: it doesn't work anymore I don't know why I spend an hour to search why the ...
5
votes
1answer
44 views

Color list not respected

I imposed a new color list but it is not respected in my code (that is the following). Every group of marks and the own line should have one color of the list. This is the result I have: ...
4
votes
1answer
33 views

Color Inside an Array

I am using the packages amsmath and color. The following works to color an entire array blue: \documentclass{article} \usepackage{amsmath} \usepackage{color} \begin{document} \[ {\color{blue} ...
7
votes
0answers
72 views

\selectcolormodel{gray} not applied to \draw

Today I found something weird. When I use \selectcolormodel{} in a TikZ drawing the model is only applied to \fill and not to \draw[fill=]. Does anyone know why? \documentclass{article} ...
0
votes
0answers
30 views

Broken when transparent not greater than 35 in beamer

MWE goes first. \documentclass{beamer} \setbeamercovered{transparent=35} % \definecolor{emphcolor}{RGB}{196,0,100} % \newcommand{\myemph}[1]{\textcolor{emphcolor}{#1}} ...
4
votes
2answers
67 views

Change color of endnotes markers

Following the question Change the color of footnote marker in LaTeX, how can the color be "transfered" to endnotes markers? Specifically, when using \usepackage{endnotes} \let\footnote=\endnote? Is ...
1
vote
2answers
322 views

How can I fill the grid cell with color in this grid?

I have got a grid which looks like this \tdplotsetmaincoords{60}{125} \begin{tikzpicture} [tdplot_main_coords, grid/.style={very thin,gray}] \foreach \x in {-2.5,-2.25,...,2.5} ...
0
votes
0answers
37 views

Horizontal line overlapped by colored cells in table

I am unable to get a horizontal line visible after I have applied color to the cells. Also, the text "After Fault Clearance" doesn't seem to be vertically centered. Below is a sample of my problem: ...
0
votes
2answers
54 views

Problems with highlighting a single row in an array block

As shown in the image below, I am trying to create a simplex table by highlighting the pivot row and pivot coloumn. However I come across an issue when I highlight the pivot row as the command fills ...
3
votes
1answer
99 views

Change color of QED symbol

I wanted to know how to change the color of the QED symbol. Here is my code where I would like the QED symbol color to be changed to my defined color: \documentclass{book} ...
7
votes
1answer
320 views

How to colour \hrule

I am trying to display a coloured \hrule. This discussion implies wrapping the \hrule in a \textcolor should do, but that adds an ugly extra vertical space above the \hrule. Other questions on LaTeX ...
1
vote
1answer
66 views

How can I print the color values of a color definition (without explicitly typing them again)?

I would like to define a group of colors and print the values of those colors without explicitly defining them again. xcolor Definitions \definecolor{colora}{cmyk}{0,.5,1,.3} ...
2
votes
1answer
128 views

Complete 3-part header from fancyhdr inside a single colored box

There're other previous questions about using a color background with fancyhdr so that you get a colored header and/or footer. However, they discuss either using a different color box for each part of ...
6
votes
1answer
311 views

TikZ, coloring edge segments with different colors

In TikZ, I am looking for a way to color segments of a single edge with different colors, like the edge aba->bbb in the picture below. Any ideas? For a presentation (I use the beamer package), I ...
2
votes
1answer
55 views

Can anybody help me to make space between the letters in a column?

I try to make the table same as the image but texstudio highlights me errors in the compilation. I hope anyone of the masters can help me with comments especially in the use of \multirow and how to ...
6
votes
2answers
87 views

Environment color within mdframed change after page break

I am creating teaching notes with examples and solutions. At the begining of the course, I provide to the students the lecture notes with the examples but blank solutions so they can fill the box ...
1
vote
1answer
45 views

Transparancy/color gradient not displayed in every PDF viewer [closed]

For my CV I used headlines with color gradients. Now I recently discovered that the headlines are not displayed in some PDF viewers (e.g. the gmail preview of an pdf). On my Mac in the Preview App or ...
0
votes
1answer
84 views

Why my Tikz can not show color in standalone document class ? But the color do show in article class

Why my Tikz can not show color in standalone document class ? But the color do show in article class. Here is the code which I follow from Example: Rusting Iron % Rusting Iron % Author: Jason ...
1
vote
1answer
97 views

Changing font colors within a beamer theme [closed]

I'm using the Stockholm (sthlm) Beamer theme. The template for this theme shows how to use its Light Yellow font color: \setbeamercolor{sthlmLightYellow}{fg=sthlmLightYellow,bg=white} ...
2
votes
1answer
81 views

Tikz shading doesn't produce proper RGB colors. RGB = 1,1,1 gives a dark gray, not white

I am trying to shade a dirac cone in tikz, but the color definitions give me a headache as RGB colors are way too dark. Setting all colors to{rgb:red,1;green,1;blue,1} would five a dark grey instead ...
3
votes
2answers
73 views

How to color section number and section name with different colors?

I want to use different colors for section number and section name in \documentclass{book} using sectsty package. The section number must be put in color box. Give me an idea.
1
vote
1answer
52 views

overriding \everymath color: Is there an efficient way to apply color on every line for all arrays, and doing the same for cases as well?

TLDR; How does one efficiently apply color on every line of every array to override the color by \everymath? i.e from to (A compilable example of this is at the bottom) Is there a way to ...
3
votes
2answers
79 views

How to add a Thin Vertical Border Line (left side of each page) in PDF Docs

How to add a thin vertical border line (left side of each page) in PDF documents. Please see the attached image for more information. Thank you
1
vote
1answer
75 views

Pgfplots Cycle List results in no Colors

I'm trying to use cycle list name = MyCyclelist in order to give my graphs all the same color/style scheme. However all lines are shown in black. I hope, somebody can help. Many thanks! I've defined ...
2
votes
2answers
100 views

Colored background in listings environnement

I would like to make my listings environnements more readable by coloring the background of some keywords with a specific color. Like this : I thought using the \colorbox function from xcolor ...
0
votes
0answers
18 views

Colouring tables [duplicate]

\begin{table}[htpb!] \centering \begin{tabular}{|{>{\columncolor[tudelft-cyan]}c}|c|c|c|c|c|} \hline Number&Feed&Direct flow of carrier gas (Nl/min)&Swirl flow of gas (Nl/min)&Total ...
6
votes
1answer
66 views

Providing alternate stroke styles for black and white printing in PDF

I would like to produce from LaTeX (MiKTeX, TeXnicCenter) both a black and white, and a colored version of my document. It contains vector graphics with several lines in one plot. In the color ...
3
votes
2answers
55 views

Split row distance between two colored table rows

I would like to add some space between the lines the improve the readability of my booktabs table. I already colored every second line therefore but I cannot achieve equal rows and the centered text ...
3
votes
1answer
42 views

Issue with cref and color names, generally and in theorem environments

I am trying to use \cref from the cleveref package with in a theorem environment. I also want my theorem names colored, say red. Now if one tries to use \cref within a colored environment, e.g. ...
2
votes
0answers
43 views

Cells in tabu move vertically when \color begins the cell

When I use \color in the beginning of a cell in tabu, the contents of the cell are shifted downwards: The issue does not occur when there is any character in front of the \color, but a \null does ...
3
votes
1answer
103 views

Addplot doesn't accept color

I tried to plot a sequence with pgfplots but I cannot set the color: \documentclass[tikz]{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \pgfmathsetmacro{\Start}{1} %% ...
2
votes
2answers
137 views

Coloring elements of a block of a matrix

Assume I have the matrix A = [ a_11 a_12 a_13 a_14; a_21 a_22 a_23 a_24; a_31 a_23 _a33 a_34; ] where a_ij are numbers and I want to draw in red color the elements of the 3 x 3 ...
0
votes
1answer
58 views

Hyperref package and color - can I choose a dark green for citecolor?

Using the Hyperref and color links, I find that the Green color for the citecolor is very pale when printed on a B/W printer. Can I darken the Green color and how can I do this, please? I would ...
3
votes
1answer
115 views

Listings style for INI (conf) files

I'm trying to create a simple style for Windows INI files using the listings package I'd like this results: purple [sections] tags red assignment operators (= and :) gray comment lines starting ...