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

learn more… | top users | synonyms (1)

2
votes
2answers
63 views

Is there a possibility to colorize the pdf bookmarks in the sidebar of acrobat reader

I want to colorize my bookmarks in this way. Is there any chance to do this with the hyperref package? Thanks.
1
vote
1answer
148 views

Change cite color to blue in the Legrand Orange Book template

In the code below, that was derived from the Legrand Orange Book template, I wanted to be able to change the cite color. However, when I activated the colorlinks=true, the table of contents (TOC) got ...
1
vote
0answers
75 views

Change the color of the main title without redefining \maketitle

I'm looking for a way to change the color of the main title of a document without redefining the \maketitle. A google search only yields how to systematically change the section titles that does not ...
4
votes
2answers
262 views

plus-minus (\pm) in different colors

I'm trying to get the plus-minus sign (\pm) in different colors. I started with \newcommand{\rgpm}{~\overset{\mathbf{\displaystyle\color{green}+}} and probably could further adjust it with some ...
5
votes
1answer
104 views

Two problems with decimal alignment in tables: null entries and changing color

Output table from the MWE: Problems: 1) When the color of the numeric values are changed we also want the color of the decimal point to change. 2) We want the null entry (last entry in column 1) ...
1
vote
1answer
27 views

Decimal number coloring give unwanted space in lstlisting

I'm trying to set coloring for decimal numbers in lstlisting. Here is my code: \documentclass[border=2pt]{standalone} \usepackage{listings} \usepackage{color} \definecolor{codeblue}{rgb}{0,0,1} ...
2
votes
1answer
60 views

How to not override string style by literate in lstlisting?

I'm trying to do color code listing for java. I use this definition: \usepackage{listings} \usepackage{color} \definecolor{codeviolet}{rgb}{0.65,0.11,0.36} \definecolor{codeblue}{rgb}{0.1,0.21,0.57} ...
8
votes
3answers
311 views

Grey highlighted words

How can I make small, grey-highlighted code - words just like this one in this sentance. Is it possible to put some math in these boxes later? I tried to use soul package but I didnt manage to change ...
2
votes
1answer
45 views

Change pgfplots markers colors and shape

In my MWE below, I am not getting the markers of the plots to colors that I wanted. Also, I would like to change the red squares in the last plot to cyan circles. Thanks. Here is my code: ...
1
vote
2answers
79 views

PDF background color other than white: is it acceptable for formal documents?

In LaTeX, one can change the background color of the whole document easily through the pagecolor package. I was experimenting with it and I've found that setting the background color to be slightly ...
6
votes
1answer
139 views

How to use ConTEXt to typeset Arabic, and color diactrical marks?

I need to typeset Arabic and color different group of letters/diactrical marks in different color. For this purpose, I explored capabilities of XeLaTeX/ArabXeTeX environment, but could not obtain good ...
3
votes
1answer
55 views

How to do simple arithmetic computations with variables to manipulate other input parameters in latex?

I am trying to make a template for my CV. I need to make different color shades for headings, and subheadings many more. I figured out how to make variables in latex such as r,g,b shown in cod below ...
2
votes
2answers
64 views

How to combine \color and \MakeUppercase

I've been tinkering with a .cls file for a bit that defines what my "sections" look like. It looks like this at the moment: % Defines the rSection environment for the large sections ...
0
votes
0answers
32 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
246 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
111 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
120 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
171 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
147 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
66 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
163 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
870 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
86 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
124 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
137 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
90 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
69 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
112 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
34 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
49 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
37 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
92 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
34 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
79 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 ...
3
votes
2answers
191 views

Problem using \alert{} in Beamer title with metropolis theme

I'm trying to emphasize some words in the title of a beamer document. Ex : \documentclass{beamer} \usepackage[utf8]{inputenc} \usetheme{Warsaw}%\usetheme{m}%-->problem \usepackage{tikz} ...
1
vote
2answers
540 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
43 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
61 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
120 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} ...
11
votes
1answer
833 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 ...
1
vote
1answer
69 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
186 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
453 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
126 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
54 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
100 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
121 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
111 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 ...