3
votes
1answer
70 views

How to color numbers in axis?

I want to color the numbers 3 in blue and -1 in green as show in the picture below. My code is this : \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} ...
0
votes
2answers
108 views

Color and efficient vector graphics

I want to use complex monocolor vector graphics but I would like to be able to specify the color inside my latex source. Solutions : Use a pdf, but I can't specify the color afterwards. Perhaps a ...
5
votes
2answers
78 views

Getting a particular kind of page border using background package

I am doing my project report using latex, and the format requires a particular kind of page border around each page. (Its a black thick box enclosing a thin box). I saw this question, Multiple border ...
4
votes
1answer
87 views

Change TikZ nodes color to grayscale

Say you have some code like this: \documentclass{standalone} \usepackage{tikz} % \PassOptionsToPackage{monochrome}{xcolor} \begin{document} \begin{tikzpicture} % \selectcolormodel{gray} ...
1
vote
1answer
103 views

opacity and shading of an ellipse

I am making a picture of the tidal force effects on the Earth. My current picture is decent but I would like where the bulging occurs on the edges to be little bit darker in blue, but I don't want ...
4
votes
1answer
102 views

Good-looking luminosity function plot

I'm trying to make a good-looking photopic luminosity function plot. So I want to make colored plot, but its colormap should depend on X values. Is it possible with pgfplots? I'll also appreciate any ...
5
votes
1answer
121 views

Filling the arrow tip and not the path using two different colors

I have a small problem with some arrows but I can't seem to find a solution. Please note that this question is different from Setting fill color for TikZ arrow tips only (and not the path itself), ...
13
votes
4answers
575 views

Color the faces of a graph

I want to modify the image (see code below) by shading in the regions formed by the dashed lines that contain a black dot. The goal is to obtain something like How can I shade these regions? ...
0
votes
0answers
70 views

bug(?) with certain colors in mindmap TikZ [closed]

Bug: For a specific concept color, one node (first child) is drawn (sometimes partly) white. Image describing the bug The same problem should occur for east1, but for the fact that I found a hack ...
1
vote
0answers
68 views

How do I debug the message “Argument of \XC@definec@lor has an extra }” [closed]

Can anyone provide me with some intuition about what might cause an error like this? Argument of \XC@definec@lor has an extra } I am unable to produce an MWE that demonstrates the error, as it ...
5
votes
1answer
130 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 ...
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 ...
9
votes
1answer
214 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} ...
12
votes
1answer
212 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} ...
3
votes
1answer
157 views

How to make hyperlinked tabs with specific colors?

I modified this project How to print section titles like tab-list? in the following way: usletter, 8 tabs on the edge of paper, odd pages only, text within the tab is set by the user (\TabText), ...
7
votes
2answers
151 views

How to keep hue from going beyond 300° in xcolor/pgf? (Doing math in pgfplotstable)

Ok, this is probably an incredibly trivial question for anyone who knows more about xcolor or pgf or TikZ or whatever really. I tried to use a hue scale for a heat map/color matrix with values ...
3
votes
0answers
129 views

I need to provide a duotone pdf, what do I need to do with my figures?

I need to provide a duotone pdf (say black and cyan). My figures are made with tikz, pgfplots and asymptote (3D but no prc), some with opacity effects. I compile with pdftex and luatex. What do I ...
7
votes
1answer
199 views

tikz and colorboxes in plain tex

I recently discovered that I could use tikz in my plain tex documents using \input tikz. I'm happy with it and began to experiment the drawing of some pictures. But, when trying to compile some ...
0
votes
0answers
137 views

TikZ plot leaves empty space when using a predefined color [closed]

I am using matlab2tikz to plot some matlab graphs, turn those to pdf using the standalone document format, and combine them side by side in a latex document. Whenever I predefine fill color with ...
15
votes
1answer
279 views

xcolor black isn't black enough

I'm making a poster (using baposter) where I wish to include some microscopy images. To make the fluorescent signals stand out better, I changed the background of that cell to "pitchblack", which I ...
1
vote
1answer
439 views

Opacity in TikZ, ruins whole structure in Beamer [closed]

I am making a presentation in beamer. I wanted to make a TikZ picture and change it's opacity, locally on specific items. When I did, the structure color changed... I will attach my preable as well ...
1
vote
0answers
144 views

Drawing multiple lines with TiKz darkens background? [closed]

When I draw multiple lines with TiKz, the background of my tikzpicture darkens (i.e., from white to light gray). Interestingly, the more lines I draw, the more the white darkens. This is the code of ...
3
votes
1answer
483 views

Create custom colored PGFPlots ybar with consistent spacing

I am trying to create a ybar graph that has consistent spacing between a set of columns. I have obtained the color scheme I need in the following example, based off guidance from this question on ...
5
votes
2answers
293 views

Make tikzpicture white on black

I have a simple gantt chart made using tikzpicture. How can I invert the whole thing so it is white on black? If I change the node lines to node[anchor=north west, text=white, fill=black] then this ...
3
votes
1answer
228 views

Monochrome in Tikz [duplicate]

Possible Duplicate: how to create PDF in grayscale mode or TikZ figure only? How to convert tikz figure in monochrome? Example: \documentclass{article} \usepackage{tikz} \begin{document} ...
3
votes
2answers
428 views

using grid from Tikz in Texmaker

I use Tikz for creating figures. But there is a problem. If I use for example \begin{tikzpicture} \draw[->] (0,0)--(10,0); \draw[->] (0,0)--(0,10); \draw[help lines] (-0.1,-0.1) grid (9.9,9.9); ...
7
votes
1answer
489 views

On using beamer's colors in a Tikz picture

For once, my question is short and simple: How do I use a beamer defined color in a tikz picture. For instance, as beamer's documentation states, using beamer's colors is done as follows: This text ...
7
votes
3answers
285 views

No text=none in TikZ?

In TikZ, there are draw=none and fill=none options to turn off stroking and filling operations. However, there doesn't appear to be a corresponding text=none option. If I try \tikz \node[text=none] ...
7
votes
1answer
352 views

How to make correct shading with hsb color model?

I want to use hsb color model to shading. First rectangle shows a shading using rgb color model. Second rectangle shows a shading using hsb color model. But I don't understand why I don't obtain the ...
4
votes
1answer
503 views

RGB Colors in TikZ and conversion with ghost script to PNG

Since a few days I am trying to find a solution for the folowing problem: I am creating a Tikz picture with a simple rectangele and fill the rectange with a special RGB color. The code looks like ...
13
votes
2answers
2k views

Option clash with xcolor and TikZ

I want to draw some coloured circles, so I loaded tikz in my preamble. However, now xcolor is telling me that it has an "option clash". How should I fix this? \documentclass{article} ...
6
votes
3answers
412 views

Different background colors for lstinline

In the following code, I've decided to use the code from Colored background in inline listings so as to redefine \verb to have the possibility to use colors for the text and the background of the ...
5
votes
2answers
2k views

(TikZ or xcolor) lighten color

I am plotting some simple stuff using TikZ like circles and lines. They are colored. I know the color I want to plot with but would like create a new color that is a lighter version of the old. ...
4
votes
2answers
398 views

Nested labeled colored boxes with TikZ

I need nested boxes, as they are shown in this question, but colored ones. I tried both solutions. Using shapes.multipart I totally failed when tried to generate the nodeparts by a foreach command. ...
7
votes
1answer
392 views

Can \usepackage{color} and \input tikz work together in Plain TeX/eplain?

I use Plain TeX and Eplain. In my document I'm using both the color and url packages inside the \beginpackages..\endpackages block. Just now I tried adding \input tikz.tex (as the TikZ manual states) ...
0
votes
1answer
197 views

Different color display between Adobe Reader and Yap

Today I have been realized some drawings for my scientific article using PGF. After converting the DVI to the PDF file I have noticed that my grid which has been supposed to be gray was somewhat ...
4
votes
2answers
416 views

PGF/TikZ Clipping & Drawing: How to customize lines?

I have gotten some undesirable behavior with PGF/TikZ related to clipping and drawing paths with different color, say gray. So I tried with no success to exchange between \clip[draw=gray], ...
23
votes
2answers
941 views

Parametrize shading in table through TikZ

I wanted to do some shading in a table according to its values. For example, if you see the table below: a b c d a 90 10 0 0 b 0 80 10 10 c 0 0 95 5 d 0 10 5 85 I want to ...
7
votes
2answers
858 views

Tikz fit-library vs fill (overlaying nested node colors)

I am trying to figure out the best way of nesting tikz nodes having a different background color. I would like the "inner" nodes to "win" concerning the background color. Currently the "outer" node ...
3
votes
2answers
387 views

Changing colors of MATH functions and DRAWING lines

My problem is that I want my math functions and drawing illustrations to be in different colors. I want my colors to be defined at the beginning so they will automatically change the color of math and ...
5
votes
2answers
676 views

Pattern color differs from normal color?

I have the following code: \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{scopes,patterns,intersections,calc} \begin{document} \begin{tikzpicture}[thick] \path (-2,0) coordinate ...
8
votes
1answer
764 views

Fancy Theorem Environment and Colors

I'm trying to make a boxed theorem environment with colors. I thought I had done it, but I was mistaken--lists were the wrong colors. In the picture above, I would like the "list" to be the same ...
2
votes
1answer
315 views

Highlight entries in Table of Contents with coloured rectangles using TikZ an tocloft

The solution presented in How to highlight specific entries in a tocloft-formatted ToC did not work for colored background. There is a problem when using color because the colored rectangles are ...
1
vote
1answer
348 views

tikz color changing path

I have tried to answer the question from TikZ: changing colour of a path half way along with decorations - unsuccessfully. Maybe it is not possible!? Can someone tell me why scoped path color change ...
4
votes
2answers
476 views

Filling triangle doesn't seem to work with PGF/TikZ

I was wondering if anyone had any clue on why my triangles are not filled in red within the following piece of code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc,3d} ...
3
votes
1answer
478 views

No Color Showing in TikZ Drawing

I am trying to draw some pictures using TikZ within LaTeX. I have started by using simple examples, but I am having trouble getting colors to show. For example, I use the following commands, but only ...
4
votes
2answers
477 views

Using colors defined with spotcolor.sty in TikZ

I would like to specify pantone colors. spotcolor.sty seems to to the trick when compiled with pdfLaTeX: \documentclass{article} \usepackage{color} % \usepackage{xcolor} % Does not work ...
6
votes
1answer
543 views

CMYK ConTeXt colors in TikZ

Colors defined via the internal \definecolor macro in ConTeXt cannot be used in TikZ when the CMYK system is used. Is there a way to convert them or tick a setting so that TikZ can use them? Minimal ...
12
votes
2answers
644 views

how to create PDF in grayscale mode or TikZ figure only?

how to create PDF in grayscale mode? convert PDF color in PDF grayscale. I need the PDF in grayscale color. Or in TikZ figure only.

1 2