{color} is about using color in (La)TeX documents. Popular packages are color and xcolor.
4
votes
4answers
170 views
coloring every chapter name in the document
My question is directly related to post-processing using authoring packages like etoolbox for instance.
I've included the package as follow :
\usepackage{etoolbox}
what i try to do is to prepend ...
5
votes
1answer
50 views
color an entry in the list of figures
I have a command that prints an image and will be used inside a certain environment.
First I run a test if the file exists and is a valid image file
(see this question for the definition of ...
2
votes
2answers
146 views
coloring the page numbers in the table of contents
I try to color the page numbers of my table of contents.
I'm using the package hyperref along with the options :
\hypersetup{
colorlinks,
linkcolor=wine-stain % custom color
}
Here's the ...
9
votes
3answers
148 views
How to “bubble in”/color fill an item counter ((A),(B),(C),…) in an enumerated list
I'm trying to make an answer explanation guide for a test where the correct answer is "bubbled in".
I've tried using the enumitem package and tikz as shown in this post (Enumerated list with blue ...
1
vote
0answers
109 views
Lyx : change cross reference color [duplicate]
When i make a refference to a figure , the text appears black. How can i change cross reference's default black color to blye or cyan ?
I had the same issue with citations but i figured it out with ...
5
votes
1answer
122 views
LaTeX Error: Option clash for package xcolor, even If I put listings before
\usepackage{amsmath}
\usepackage{array}
\usepackage{booktabs}
\usepackage[draft]{pgf}
\usepackage{listings}
\usepackage[usenames,dvipsnames]{xcolor}
I want to use a color ...
18
votes
1answer
201 views
Strange disappearing colored rules in beamer
I have received a booktabs bug report of \cmidrules that disappear when coloured rules are used inside beamer (together with colortbl). The problem can be illustrated with the following simple code ...
5
votes
1answer
140 views
Multiple different meta for marker color and marker size
How do I set the color of a marker with one meta column in a table AND its size with another meta column?
So in this minimal working example, how can I set the marker size with 'w1' and the color ...
6
votes
1answer
289 views
Further customize color of hyperref links
I have tried to find a way to customize how internal links are colored, but I don't yet have the expertise in finding and redefining commands. In the LaTeX example below, I describe how I would like ...
7
votes
1answer
56 views
How to change only the color of curly brace made by \underbrace but keep the content color remain unchanged?
I have to set globally the color of every math to blue. However, if I need to annotate an expression by using \underbrace, the curly brace must be in black (for example).
The following are my MWE and ...
10
votes
1answer
183 views
Interaction of \boldmath and \not
It seems that using \boldmath (or \bm) along with the \not does not quite work so well. Here is an example using \not\subseteq and \not\le
where the line representing negation does not stretch ...
2
votes
2answers
162 views
Define a color for \title, \address and \phone commands of a CV
How can I define colors for a moderncv LaTeX file, for the following commands?
\address
\title
\phone
\mail
2
votes
1answer
149 views
White space between columns using \rowcolor{somecolor}
I have been using \rowcolor{color} command and I have noticed that there is always some white space between one cell and the next one in the row.
Here is my code:
...
1
vote
1answer
66 views
TikZ plot leaves empty space when using a predefined color (reopen)
This is a reopening of a question previously asked
here that was closed with an incomplete answer.
The problem is that using \definecolor in tikz picture leaves an empty space that causes ...
3
votes
2answers
73 views
Why does xcolor not like \fbox (or vice versa)?
This document would not compile and a rather cryptic ! Illegal unit of measure (pt inserted) pops up. Here's the MnWE:
\documentclass{article}
\usepackage{xcolor}
\renewcommand{\fboxrule}{0.9pt}
...
3
votes
1answer
159 views
How do I change the background color of a footer in beamer
I know just enough about beamer to be a danger to myself. I am trying to change the color of a footer in Boadilla and am struggling.
First, I have declared
\usecolortheme[named=black]{structure}
...
5
votes
1answer
296 views
pgfplots: color a (3D) surf using arbitrary RGB colors
I would like to color a surf using arbitrary RGB colors (unlike this question, which just colors the surf using the colormap).
In this minimal example (which plots the x+y function), I would like the ...
2
votes
0answers
58 views
What is the default saturation for a beamerposter HTML colour?
I'm making a poster using beamerposter, with a background defined by a html colour code 682860. I am drawing my pictures in Inkscape, filling the background of the picture with the same colour code. ...
1
vote
0answers
147 views
“Package xcolor error” shows up when a child doc has an embedded pdf [closed]
I am working on LyX Version 1.6.9.
While compiling ClassicThesis, I receive the following error message:
package xcolor error: undefined color 'Blue'/'Maroon'/'Black' etc
This only happens when ...
2
votes
2answers
97 views
coloring keywords in the whole document
Is there a way to color keywords into a document?
For instance, I want all the occurrences of a given word to appear in red in the whole document.
something like :
...
0
votes
1answer
41 views
how can I predefine the color of multicolumns?
I'm trying to use multicolum. In my table all the columns have a predefined color which will be overwritten by multicolum. So my question is how can I define own or some more custom multicolumn ...
6
votes
2answers
75 views
How to color diacritical marks?
I would like to have the diacritical marks stand out visually by being colored differently. For example, can I have â in which the circumflex is in red, and the 'a' is in black? When I use ...
3
votes
1answer
93 views
Change font color of multiple rows in a table
I found the following post to change the font color of a single row in a table:
How to color the font of a single row in a table?
My row is a long table with 70 rows and for about 25 the I want to ...
3
votes
1answer
54 views
coloring text in a dcolumn aligned cell of a table
I need to color some text red (not color the cell background) in cell in a table to highlight it. The numbers in the column are aligned on the decimal using the dcolumn package. The problem is that
...
2
votes
1answer
61 views
How do I change the color of one axis in pgfplots?
I know how to change the color for all axis in pgfplots:
\begin{axis}[blue]
\end{axis}
This makes all four edges of the plot blue. Another example is there: PGFPlots: Change the color of axis lines
...
4
votes
2answers
168 views
Set color to output from verbatim
I want to show the output from verbatim in blue color.
I have this:
\newcommand{\blockcode}[1]{\ttfamily\small#1}
{\blockcode \begin{verbatim}
alias vi="vim"
\end{verbatim}}
which works fine.
...
2
votes
1answer
146 views
Changing the color of \alert command in Beamer
Is it possible to change the color of \alert command in beamer. See, it is not the alertblock!
For example, I would like to change to color yellow, because the standard color is red, and my background ...
5
votes
1answer
86 views
Underscore should not force mathmode in macro
When trying to color words in arabic (transliteration), LaTeX wants me to be in mathmode (Missing $ inserted.), as there is an underscore in the transliteration. This is of course completely wrong as ...
3
votes
1answer
275 views
Change color of itemize in beamer alertblock
How can I change the color of bullets in an itemize list within an alertblock in beamer?
I use
\setbeamercolor{itemize item}{<color>}
to set the color of the bullets throughout the ...
9
votes
1answer
205 views
Heatmap of a triangular matrix (or a sparse matrix)
So let me first of all shamelessly steal heatmap code from this answer to Drawing heatmaps using TikZ
\documentclass{standalone}
\usepackage{colortbl}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
...
2
votes
1answer
91 views
How do I change text color? [duplicate]
Possible Duplicate:
How to change color for a block of texts?
Wanting to change the text on the contacts frame from black to white.
\documentclass[T]{beamer}
...
4
votes
1answer
143 views
How do I change the color of the author text in the Title (first) frame?
\documentclass[T]{beamer}
\usetheme{Frankfurt}
\usecolortheme{orchid}
\usefonttheme{structuresmallcapsserif}
\usefonttheme{serif}
\usepackage{multicol}
\usepackage{graphicx}
\title{Example ...
2
votes
1answer
71 views
change the color of an align environment
regarding this documentation
ftp://ftp.dante.de/pub/tex/info/math/voss/mathCol/mathCol.pdf
it should be easy to change the color of an align environment like this:
\documentclass{article}
...
4
votes
1answer
315 views
Device Independent color
I am validating the following latex document with The 3-Heights™ PDF Validator Online Tool
\documentclass{article}
\usepackage[margin=1in]{geometry}
\usepackage[rgb]{xcolor}
\begin{document}
...
2
votes
2answers
127 views
Framed floats and background colors for captions
i wanted to edit my floats. Found the package floatrow and got the desired frames easily for them. Now i would like to add a backgroundcolor to the captions. The problem is that the \parbox, i ...
3
votes
1answer
91 views
Style Parcolumns vertical bar
How can I style the vertical bar in parcolumns that appears when using rulebetween=true?
I am trying to do something similar to what you can do with \vrule like the below:
...
12
votes
1answer
210 views
Highlighting chunks of text spiral
I use the code provided in this question to draw a text spiral and now I want to highlight each chunk separated with a comma in a different color. Is there a way to achieve that?
...
3
votes
1answer
88 views
increase length of a \node option and change its color
I would like to increase the vertical length of a node in a way that it can also stretch outside of my image. Moreover, I need to choose different color for each line.
\documentclass{article}
...
2
votes
1answer
101 views
Custom vertical page border
I wanted to have a vertical colored bar running on all my pages, to the left of the page, in between the beginning of the sheet and the beginning of the text.
Something like:
|\| text |
|\| text ...
2
votes
1answer
120 views
wrapping inline long lines and adding background color
Objective
I'm trying to achieve the following output.
Here's the code I used to produce it. I had to hack it
\begin{document}
\begin{description}
\item In ...
3
votes
1answer
132 views
page background color for Part
I want to set the background color specifically for the page created for each "Part" section in my document (e.g. Part I xxx, Part II xxxx). I am using the book document class. Solutions for setting ...
2
votes
1answer
103 views
How to customize color for TOC, LOF and LOT in {article} class while using {tocloft}?
I have a document using article class (please not ask me why don't use report class). The article has TOC, LOF, LOT and Nomenclature.
The MWE:
\documentclass[12pt,a4paper,twoside] {article}
...
1
vote
1answer
96 views
custom color for handout
I want to print text I put in \only{TEXT} in another color, so I will spot my personal notes faster in the talk.
What command do I need for this, please?
I was thinking about creating a new command ...
1
vote
1answer
201 views
Problem with rowcolor in tables
Please help me.
I have a problem with this table. I have other tables in my document, but rowcolor worked fine. Particularly, this code of my table has something wrong.
I want the header colored with ...
0
votes
0answers
33 views
How to remove Caption name in table and figure? [duplicate]
Possible Duplicate:
How to remove figure label?
I m using caption for table and figure. But i always get Figure 1 or Table 1 then caption description. Is there any way to change the ...
0
votes
1answer
119 views
Adding color to table columns with alignment
I am trying to add color to certain columns in a table for highlighting purposes. In said columns, I have positioned the data presented to be aligned by the decimal point. However, when adding color ...
1
vote
3answers
190 views
PSTricks will not compile
\documentclass[12pt]{article}
\usepackage[paperheight=9in,paperwidth=13.24in,margin=0in]{geometry}
\usepackage{pstricks}
\usepackage{graphicx}
\begin{document}
\thispagestyle{empty}
\psset{unit=1in}
...
19
votes
2answers
356 views
Pros and cons: pdflatex+gs vs gs+pdflatex
I need to be producing two versions of documents I deal with: colour and grayscale. Of course the real issue are images. I'm not the author of the documents nor the images, I'm only the typesetter.
...
10
votes
1answer
113 views
Extra space added after equation when it is coloured
For some reason space is added after my equation when I colour it. This does not happen if the colour is added to text.
Is there a simple way to prevent this from happening, like a global setting (I ...
7
votes
1answer
272 views
How to make a perfect colour filled threeparttable table?
A three line table is used for my report. I want to fill lightgray background color to the whole table, but there is white space between rows, how to eliminate this issue?
Without \addlinespace: ...



