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

learn more… | top users | synonyms (1)

2
votes
0answers
27 views

Setting color text to improve eye movement from the of one line to the start of the next? [duplicate]

The web site http://www.beelinereader.com/ provides a chrome browser extension which colorizes paragraphs so that moving your eyes from one line to the next is much quicker than with just black ...
5
votes
2answers
32 views

Changing \eqref colors in Beamer

I want to change my equation reference color to \usebeamercolor[fg]{structure}. I use it as {\usebeamercolor[fg]{structure}\ref{eqn1}} but I want to make this as my default color and just use ...
3
votes
1answer
32 views

TikZ won't support HSB color model hsb in article document class

I'm trying to use the wave color model in a tikz picture using the document class article. When I do, I get the error message "Unsupported color model 'hsb'". Consider the code below. ...
7
votes
1answer
63 views

Creating a smooth gradient between two colors on an edge in TikZ

I'd like to have a two-colored edge between two nodes of different colors. I'm hoping to make the edge fade from one color into the other in an even way. The solution I've found so far is a bit ...
5
votes
4answers
602 views

Creating a rainbow color macro

I'm trying to draw a picture in tikz whose code is generated by another computer program. The program outputs hundreds of numbers in between 0 and 100, and I'd like to color objects in the picture on ...
4
votes
1answer
68 views

How to change the paper color(background color) in tikz class

How to change the paper color(background color) in tikz class kindly help me to change color \documentclass{scrartcl} \usepackage[usenames,x11names,dvipsnames,svgnames]{xcolor} ...
5
votes
2answers
68 views

Different colors for itemize in blocks and outside, in Beamer?

I would like to obtain what I describe in the following MWE, that is the itemize symbol should be black outside blocks; blue in normal blocks; red in alert blocks; green in example blocks. MWE: ...
0
votes
0answers
17 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 ...
2
votes
2answers
51 views

Bicolored font (main color and background)

I want to write some text on tikzpicture with bi-colored font: each character will be display in main color but each character will be doubled (like bold) with an other color. The result I want to ...
2
votes
1answer
41 views

Table with different colors removes vertical and horizontal lines

I have a table in my documentation, where i'm switching the rowcolor between white(default) and gray. Those rows, where the color is changed with \rowcolor{gray}, disabling the horizontal and vertical ...
4
votes
3answers
162 views

Simplest way to get a colored rectangle behind text? [duplicate]

I'd like to display a grey rectangle behind text, so that certain parts of the text are more recognisable. I will do this to highlight problems' body. I found various packages, like fancytooltips or ...
1
vote
1answer
52 views

Problem in listings, colored split command

MWE: \documentclass[a4paper,11pt]{book} \usepackage{color} \usepackage{listings} \lstdefinelanguage{mytex}[LaTeX]{TeX}{ alsoletter={\\}, morekeywords=[3]{\\mbox,}, ...
2
votes
1answer
75 views

How to color these circles in TikZ? [duplicate]

How can I color the output of this MWE like the screenshot? \documentclass{book} \usepackage{tikz} \begin{document} \begin{center} \begin{tikzpicture} \draw [thick] (3.25,-2) circle (1.5cm) ...
2
votes
1answer
69 views

Colored LaTeX command in verbatim

MWE, \documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \title{} \author{} \begin{document} \maketitle \tableofcontents \chapter{} ...
6
votes
4answers
214 views

How to define lighter/darker color from already defined color in TeX?

I am new in TeX, so question may be little silly. Is any chance to use already defined color to define new color which will be darkner or lighter? I want to use only TeX. So i have defined color like ...
3
votes
0answers
49 views

Color functional groups in chemfig syntax

I want to color simple functional groups in organic molecules using the chemfig package. I've come up with a solution that achieves what I want (MWE), but I find it very cumbersome. I thought it could ...
4
votes
1answer
52 views

Is it possible to color only one side of a cube in PSTricks?

I have this cube, implemented as follows: \documentclass[class=minimal,border=0pt]{standalone} \usepackage{pst-plot} \usepackage{pstricks-add} \usepackage{amsmath} \usepackage{pst-ob3d} ...
6
votes
1answer
51 views

Changing FONT color in headline

I am wondering how can I change the font color in the headline of my presentation? I saw from Beamer how to change color of infolines and frame title how to change the color of the bar but not the ...
4
votes
1answer
54 views

Remove color of acronyms used in an equation

I use the acronyms package to define mathematic symbols like this: \begin{acronym}[long] \acro{v}[$\vec{v}$]{View direction vector} \end{acronym} I do this with lots of others where it is faster to ...
2
votes
1answer
53 views

Control colors and shading of navigation circles in Beamer top line

I am preparing a presentation in Beamer using \useoutertheme{miniframes} and \useinnertheme{circles}, and my own modded version of the default colortheme. I want to have a Frankfurt-like navigation ...
2
votes
1answer
70 views

pgfplots: Color a 3D surf plot based on y-value

I'm not sure if things have changed since version 1.7, but this is the closest thing I could find. I'm wondering if there's an easier way to use the y-value with a colormap to determine the color, or ...
1
vote
0answers
42 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 ...
2
votes
1answer
42 views

CMYK and RBG in one document

Imagine the PDF file that you create from the tex sources has to have all colors defined in RGB because the PDF is meant to be read on screen. One would do: ...
3
votes
2answers
65 views

Define command that either does \kill or \textcolor

I have some paragraphs in my thesis, that will stay in there until just before it is finished. They should be marked as non-important to my supervisor. Then I'd like to remove those paragraphs all at ...
3
votes
2answers
53 views

Color in Table with Multicolumn and Multirow - How to achieve?

Yet another question, this time with coloring the table. This is the code for the table I got with your help here: \documentclass{article} \usepackage{multirow} \begin{document} \begin{table}[h] ...
6
votes
2answers
149 views

\cellcolor is taking too much space in a matrix

I would like to highlight a row, a column and a specific cell in a matrix. I ended up using \cellcolor. My problem is that \cellcolor is taking too much space, therefore the matrix borders are being ...
3
votes
0answers
119 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 ...
5
votes
3answers
147 views

Change default colour used in Boadilla

I am making a beamer presentation using Boadilla style. However, I would like to change the default blue colour. Is there a quick fix for this, please? Thank you! The following is my code. ...
2
votes
1answer
25 views

Having several different colored borders for internal links

My question is: Is is possible to change the color of the borders of one or several internal links in LaTeX, without changing them all? I know it is possible to define a different colored borders for ...
2
votes
1answer
44 views

Typeset colored terminal output using minted

I need to reproduce the output of a command in a LaTeX document. The command uses ANSI escape codes to produce colored output. I'd like to use minted, but using \inputminted{shell}{coloredoutput} ...
3
votes
1answer
81 views

How to put equation side by side equations?

My MWE, \documentclass[a4paper,11pt]{article} \usepackage{empheq} \usepackage[svgnames]{xcolor} \definecolor{backcolor}{RGB}{255,255,170} \newcommand*\mybox[1]{% ...
1
vote
1answer
24 views

How to make a custom legend with a squared box followed by a text?

I'm trying to make one of that legends that we can find in some graphics such as bar plots. Just to clarify, I'm not displaying a plot. I have to present a schedule, which is defined trough a ...
0
votes
0answers
38 views

Framing and colorizing a LaTeX command [duplicate]

I normally use \verb|\LaTeXe| to typeset the command \LaTeXe in my document. But now I want to frame or/and colorize the command \LaTeXe. How can we do that? \documentclass{article} ...
4
votes
1answer
86 views

Colors in xcolor and color models

I did an experiment on the different color models available in xcolor together with the predefined colors. I observe that the colors vary alot depending on the color model. WHY? Why does the colors ...
3
votes
1answer
39 views

How to change the color of bibitems?

I'm showing my references at the end of my beamer presentation. \documentclass[compress]{beamer} \begin{document} \frame{ \begin{thebibliography}{1}\scriptsize \bibitem{Test} Test, Me, ...
9
votes
6answers
298 views

Can one avoid typing double quotes in this TikZ-involving macro?

I need to draw many similar complicated colored shapes; I made a macro for them, and it works, but to call it I seemingly have to place several color names in double quotes. Can I avoid this? The ...
1
vote
1answer
23 views

How to change the color of \StageDir in Dramatist?

I'm writing a play and I would like to give the directions different colours. However, when trying the obvious: \usepackage{xcolor} \\\ \def\stdir{\color{red} \StageDir} \\\ \begin{drama} \\\ ...
2
votes
1answer
67 views

How can I write a conditional coloring command that distinguishes variables within titles vs within the body text with titlesec/titletoc/tocloft?

Question Is it possible to write a conditional statement for commands that change them based on where they appear in the document, yet is fully compatible with the titlesec package and the tocloft ...
7
votes
2answers
193 views

How can I write a conditional coloring command that distinguishes variables within sectioning commands vs those within the body text?

Question Is it possible to write a conditional statement for commands that change them based on where they appear in the document? Example Situation When command appears in the body, it should be ...
1
vote
1answer
73 views

Different style/color for some specific references using natbib

I need to differentiate some specific references from the others, for both the text and the reference list at the end of the document. Let's say I want the "regular" ones in blue and the specific ...
4
votes
2answers
60 views

New line inside color area

I'm trying to enter new line inside colour area like this $\color[rgb]{0,0,1}{P(A) = a +\newline b +\newline c +\newline d}$ But it does not work, why? And how do I solve it? Thanks!
4
votes
2answers
106 views

Color-filled box in text area with size corresponding to font size

Is it possible to construct a small, color-filled box in text among ordinary text? The size of the box should correspond to the font size. I need it because I need to construct a legend for some ...
3
votes
2answers
125 views

Coloured swatch per chapter

I know that this should be possible, but I'm not sure how to go about it. I would like to have a small rectangle appear on each page (outside edge), which runs right up to the edge of the page, and ...
3
votes
2answers
53 views

Boxed caption and figure, with colored caption

I'm trying to recreate a figure and caption effect from a journal. An example of it can be seen on PDF version of Figure 1 from this article: It's basically a large grey bordered box that goes ...
4
votes
1answer
93 views

Plotting in random color within axis environment

I want to plot lots of (50, to be precise) function (Brownian motions, if you want to know) in one TikZ axis environment, with each line with a different randomly chosen color. I achieved to do it, ...
1
vote
1answer
47 views

How do I change the font color in my source window?

I am using Texshop 2.47 currently. Versions beyond that are not recommended for my OS. I'd like to change the font colors in my source window. In particular I want something easier on the eyes ...
11
votes
1answer
116 views

Reference a node's color by using node name

I am trying to use a node name to reference the node's color. I am not sure if this is even possible. I have a TikZ mindmap: \documentclass{article} \usepackage{tikz} ...
1
vote
1answer
51 views

Setting color theme and special characters

I'm pretty comfortable with LaTeX, but today I began to use the Beamer class and I'm finding some difficulties just right at the begining. So... I got two questions. But first I'll show you guys my ...
3
votes
2answers
82 views

Adjusting exact height of the table rows

I am trying to adjust exact height of the row in my table, but the output is not good: \documentclass[a4paper]{article} \usepackage{array} \usepackage{color, colortbl} ...
6
votes
1answer
108 views

Fully Customized Table in Latex

Is it possible to have a customized table in LaTeX that has the following features? Be able to define Width and/or Height for specific row/column Be able to highlight/color a specific row or column ...