{color} is about using color in (La)TeX documents. Popular packages are color and xcolor.
6
votes
3answers
814 views
amsthm environment and colorbox
I'd like to customize the amsthm command a little bit but I cannot find the relevant lines in the (undocumented?) .sty.
How can I put a colorbox on the name of the environment
...
8
votes
5answers
2k views
Set \strut height
I'm using quite a few \colorbox and \colorfbox in a document but they weren't sitting at the same heights (because some words contained g and this seemed to push the box down.
The solution I found ...
2
votes
1answer
603 views
Two color line in gnuplot
Is there any way to plot a line graph where each series is plotted with two alternating colors? For example, say I was plotting the population of bees over time and I wanted the line to alternate ...
15
votes
2answers
6k views
beamer: change individual bullet color for pros and cons list
Is there a "nice" way to change the color of individual bullet points?
For example imagine a list like this:
\begin{itemize}
\item A
\begin{itemize}
\item pro 1
\item con 1
\item pro ...
11
votes
2answers
4k views
Link formatting: colors, underlines in moderncv
Following the excellent advice in this site, I have started using moderncv for writing the new version of my CV.
Unfortunately, after converting to PDF, my http links work (clicking on them leads to ...
5
votes
3answers
4k views
Change border color of a \boxed equation?
I recently asked this question. The solution worked for me but I have a problem. cropped images are as small as possible. I would like to have a gif that bounds to borders of box of the equation. so I ...
7
votes
4answers
912 views
How can I set the background color of the rows and columns of a matrix node in Tikz?
I have a matrix where some cells have nodes while others don't, with rows and columns of varying size depending on the biggest nodes in them. In this matrix, I would like to have the background of ...
5
votes
1answer
3k views
Color running over text in multirow column
I have a simple table with 2 multirow cells. However when I apply background color, it covers
the lower portion of the multirow cells and cuts through the middle of my text entry which is obviously ...
5
votes
1answer
2k views
Preparing a beamer poster: how to create a border box?
I am preparing a poster with LaTeX using beamerposter, following the examples of the beamerposter site. In these examples, the title is themed with a background color. I would like to have the title ...
3
votes
1answer
327 views
Color running over the doublerule separator in a table
I want to draw a simple colored table with 4 columns. First row is a multicolumn row which spans columns one and two. There is one doublespace between columns 2 and 3. When i apply color (blue in this ...
1
vote
0answers
487 views
Problem with losing some table borders when using colors [duplicate]
Possible Duplicate:
Is there a way to make standard LaTex PDF output look good on screen as well
I'm trying to make colored rows in my table but for some reason table borders become ...
3
votes
2answers
660 views
Figure environment not working with included file (extra } or forgotten endgroup)
I've spent hours on this issue. I hope someone can help me. I'm running into some kind of interference when I try to use the figure environment (Likewise for table, might be related to floats). I ...
14
votes
2answers
1k views
Option cmyk for xcolor package does not produce a CMYK PDF
I am trying to produce a CMYK PDF file to pass onto a printshop.
When I use the [cmyk] option for the xcolor package, the colours in the resulting PDF do look muted and less vibrant as is the case ...
22
votes
4answers
752 views
Coloring combining characters without changing color of a base character
Problem
I am trying to find out is there a good way to paint combining characters without changing the color of the base character they are combined with. My actual problem case is to make some ...
6
votes
3answers
4k views
Setting background colour for part of a page
I am designing a business card using the memoir class and hints given here and am trying out various background effects. Specifically, I would like to change the background for the last third of the ...
9
votes
2answers
991 views
How do I backcolor in verbatim?
I have some code I want to typeset as verbatim (lstlisting would be ok as well) - but I want to highlight some parts of it via a different background color, i.e. something like this:
\begin{verbatim}
...
12
votes
2answers
3k views
Conflict between color, graphicx and libertine
Compiling the following with pdflatex (TeXLive 2009/Debian on Ubuntu 10.04 "Lucid Lynx")
\documentclass{article}
\usepackage{ifpdf}
\ifpdf
\usepackage[T1]{fontenc}
\usepackage{libertine} % ...
1
vote
1answer
458 views
Using Sweave to include lattice graphics - issues with colour
I am using Sweave and the R package nlme: when including lattice graphics, (encapsulated in the print() command), the .eps files that are generated are all in black and white. The original graphic, ...
11
votes
1answer
3k views
Coloring columns in a table with colortbl and booktabs
I have created a rather complicated table with some columns that I want to color. For the table, I chose the booktabs and tabularx packages. For coloring the columns, I use colortbl.
The problem that ...
6
votes
3answers
246 views
Adding colour to table cells when decimals are aligned with arrays and {.} used in the column definition
I've got a table (below) that aligns the decimal points of my data - I wish to highlight a
value (2 adjacent cells), however this leaves a white space where the decimal point is! If I increase the ...
4
votes
2answers
2k views
Custom itemize environment which takes color as argument
Using beamer, I would like to change the color of the itemize bullet according to a passed argument, something like
\begin{myitemize}
\item[red] no
\item[green] yes
\end{myitemize}
Is ...
4
votes
1answer
1k views
Apply gradient (shading) background to algorithm listing
Background
A number of source files are included within floating algorithm boxes. The source files are PNG images with a transparent background. The document is edited using LyX.
Problem
The source ...
8
votes
2answers
669 views
Fill the left 1/3 of the title page with color?
This is my first time to try and write documentation by using LaTeX. The generated PDF is quite impressive, but there is one thing I have no idea of how to do it:
I would like to have the left 1/3 of ...
7
votes
2answers
3k views
Section and subsection colors using titlesec
Im trying to alter the colors on my section, subsection and subsubsection.
I do so using the titlesec page:
\titleformat*{\section}{\Large\bfseries\sffamily\color{red}}
...
2
votes
1answer
827 views
Colored chapter titles with the quotchap package
I already changed the chapter numbers using
\definecolor{chaptergrey}{}
But there must be some way to change the chapter titles also. Someone knows how?
2
votes
1answer
753 views
Change font colour of bringhurst chapterstyle in memoir
I would like to change the colour of chapter titles in bringhurst chapterstyle. The following should work, but apparantly I have misunderstood something and am not able to get it to work, and would ...
5
votes
2answers
6k views
Colored fancy boxes
I am trying to produce some fancy boxes. I have found the fancybox package that does the boxes I want.
What I can't find now is: How do I change their background color?
I would also like to make the ...
62
votes
1answer
3k views
PDF colour model and LaTeX
(Strictly speaking, this is a question about XeLaTeX and the xcolor package but I’m assuming that the issue is actually with the color model of PDF.)
I’m having the problem that colours in my PDF ...
12
votes
1answer
5k views
Changing style of alert environment in beamer
I would like to specify a background color in the alert environment. I can, for example, use
\setbeamercolor{alerted text}{fg=blue}
to change the colour of the alterted text to blue, but this
...
5
votes
2answers
141 views
How do I capture the existing color of a group?
My question is a follow-up of my answer to this question Color underline a formula
My answer would have been much better, if I could save the color of the text and then restore it. Is it possible ...
12
votes
4answers
3k views
Color underline a formula
I want to underline different parts of a formula with different colors. What is the best possible option? Soul seems only to provide one color per document.
1
vote
1answer
779 views
New command to insert a couple of red XXX as placeholder?
I seem to misunderstand the documentation, as
\newcommand\ph{\textcolor{red}{XXX}}
causes pdflatex to halt. I'm not sure if this is the error:
! Argument of \sf@@subfloat has an extra }.
And I ...
5
votes
2answers
892 views
Color merged and regular cells in a table individually
In a LaTeX table with merged cells, how can I color each cell with a different color?
%% LyX 1.6.7 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know ...
0
votes
1answer
431 views
Colors that work well with beamer color scheme albatross
Is there a color scheme made using \definecolor that defines colors that work well with the beamer color scheme albatross?
2
votes
1answer
1k views
In beamer use colors that are already defined in a given color scheme
I'm using a table with alternating colors in beamer. Is there a way to base the colors I use on the palette that is already defined? In this way if I switch color themes the colors should still go ...
10
votes
2answers
2k views
Use xcolor for colored tables in a beamer slide
How can I use a table with alternately colored rows like this in a beamer slide? There seems to be a conflict with beamer and xcolor. I am using LyX too, bonus marks for something that works well in ...
6
votes
2answers
1k views
19
votes
2answers
830 views
How can I put a coloured outline around fraction lines?
I use the contour package to put thick white outlines around labels in graphs, so they remain readable above the grid lines without taking up too much space.
Unfortunately, the package is not able to ...
8
votes
3answers
808 views
How to prevent Beamer from changing the normal text color when I change the footnote color?
When I change the footnote color in Beamer using \setbeamercolor{footnote}{fg=blue}, I end up also inadvertently changing the normal text color on all other slides. To make things even stranger, the ...
3
votes
2answers
1k views
Change the color of numberings in inline itemization
\begin{inparaenum}[1)]
\item number one item
\item number two item
\item number three item
\end{inparaenum}
Is it possible to change the color of the number, When I use ...
12
votes
2answers
9k views
Change the background color of a frame in Beamer
How can I change the background color of one frame in my Beamer document? I tried doing
\begin{frame}
\setbeamercolor{background canvas}{bg=violet}
% frame contents here
\end{frame}
but it ...
8
votes
1answer
9k views
Changing color and bullets in Beamer's table of contents
Does anyone know how to change the color scheme and/or bullets used in Beamer's table of contents (without changing the overall structure color or theme)? Unfortunately, the following doesn't work:
...
3
votes
2answers
460 views
Is there an \arrayrulecolor-like command to change the rule color of \fbox?
The question has been written above.
2
votes
1answer
737 views
How to redefine the color of table rules without interfering the content of its cell?
I attempted to change the rule color of my table to red. Unfortunately, the content in the table cell also got interfered as shown in the following figure. The margin frame rules also became red which ...
5
votes
3answers
801 views
How to set a certain color (other than white) to margin areas?
I want to set a certain color to the margin areas (which is the region outside the content box of \textwidth by \textheight but inside the paper of course :-) ).
How to change this from within the ...
8
votes
3answers
7k views
Height of colorbox
I'm trying to "highlight" two parts of a sentence by using a \colorbox like so:
\colorbox{red}{This is} \colorbox{blue}{a great sentence.}
The problem is that in the second part the height colorbox ...
4
votes
2answers
2k views
TOC Section & Subsection coloring
Is it possible to create a TOC with section headings in one color and subsection headings in different color.
\tableofcontents
\setcounter{tocdepth}{2}
I am using above lines to create TOC, do I ...
2
votes
1answer
3k views
beamer: How to change border size of beamercolorbox?
Is it possible to style a border of a "beamercolorbox"? Like in the theme Szeged, but with ONE thin line above the footer instead of the two thick lines.
19
votes
1answer
782 views
How to color just the wave produced by the ulem package
I am using \uwave{Some text here} to put a wave like emphasis under the text. Is it possible to change the color of only the wave and leave the text black?
5
votes
1answer
291 views
Change colour depending on counter
I have some text that I want to change colour depending on the current state of a counter. But I can't get this file to compile. (This is obviously simplified, since the texcolour command is actually ...