The shading operation consist of let a background picture be rendered with different gradients of colors or light/dark. The {shading} tag is related to questions in which a shade operation is required.

learn more… | top users | synonyms

6
votes
1answer
77 views

How to use i.e. left, middle and right color when using draw as an argument instead of a command?

I'm forced to define colors within my tikzset for one of my projects. This requires me to use the draw command within my tikzset to set a color. Normally I can just use, say \draw command to just ...
3
votes
1answer
57 views

Different shading for multi-parted tikz node

Please consider MWE below: \documentclass{standalone} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage{tikz} \usetikzlibrary{positioning,shapes,shadows,arrows} \usepackage{lipsum} ...
4
votes
0answers
60 views

Combining shading and transparency in TikZ

With this code: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \fill[shading=radial] (0,5) circle (2); \fill[top color=black] (5,3) rectangle (9,7); ...
3
votes
1answer
62 views

I am trying to shade in-between the two lines

The lines were created from points, can anyone give any suggestions on how to do this. Thanks! \documentclass{article} \usepackage{graphicx} \usepackage{siunitx} ...
9
votes
2answers
218 views

3D font in LaTeX

This is an unusual question regarding rendering of a font with a specific 3D-esque style in LaTeX, XeLaTex, or any other TeX flavor. I was looking at some fonts the other day and I came across one of ...
5
votes
3answers
112 views

Drawing aligned boxes with shaded section

I would like to draw several boxes with vertical line split but so far have not been very successful. Here's the code I attempted so far \documentclass{article} \usepackage{tikz} ...
5
votes
1answer
114 views

How to make halo around node with shading?

I am trying to do this (do not pay attention to red line above blue node and line in the node): By so far i have this: With this code: \documentclass[tikz,12pt]{standalone} ...
6
votes
1answer
174 views

Shaded box with section number

The code below is not working. This is because, I have savenotes in my TeX file, it works when I remove savenotes. Is there a way that I can get the code working without removing savenotes? Here is ...
4
votes
2answers
113 views

How to highlight a paragraph containing a tikzpicture

I'm trying to highlight an entire paragraph that contains a figure drawn with tikz. I'd like to highlight the text and also the blank space around the figure, while the figure itself should have the ...
3
votes
2answers
196 views

Halftone shading with TikZ

I try to do a cover for a documentation. For this, I need to do a shading between two colors. And to be more elegant I would like to make a halftone shading with TikZ, like shown in the picture.
8
votes
1answer
319 views

“Countryball” comic with TikZ. How to shade a 3D object with different stripes on it?

Countryball (if I'm not mistaken originally Polandball) is a web comic versing on crude political jokes, some of which I find hilarious. In some sense, the idea is analogous to the spherical cow ...
10
votes
1answer
279 views

Transparent shade using TikZ

I wonder whether it is possible to create a transparent shading effect (like the one below) without an exact specification of the fill color. This solution is good until I have to change the ...
9
votes
3answers
302 views

How can I shade from red to green along a curve?

Let's take the following picture as an example. I want to shade the fan-shaped area from red to green along the curve shown with the arrow in TikZ. How can I do this? Code: ...
3
votes
2answers
144 views

How to define the distance of color regions in radial shading using TikZ?

I am making a series of figures explaining the photolithographic process, and need to find a way to illustrate edge beads during spin coating. To show this I initially wanted to use radial shading, ...
1
vote
0answers
149 views

Beamer Frankfurt/Smoothbars Remove Shadow/Shading

\setbeamertemplate{title page}[default][colsep=-0bp,rounded=false] \setbeamertemplate{frametitle}[default][colsep=-4bp,rounded=false,shadow=false] \setbeamertemplate{blocks}[rounded][shadow=false] ...
5
votes
1answer
179 views

Creating a line separated gradient bar in Tikz

I am trying to create something similar to this in Tikz: I have been looking at using the \shadedraw macro, but have not found a way to create the color spectrum. It seems possible if I stack ...
15
votes
1answer
554 views

Path following color gradient in TikZ

How can I get a path following color gradient in TikZ? Here a quick example of the idea. On the left the result I'm looking for and on the right an example of a non path following gradient applied on ...
3
votes
1answer
220 views

Asymptote: How to create a radial shading or “elliptical” shading with intermediate color steps?

In Asymptote I can create radial gradient shadings using the radialshade function which defines a gradient varying smoothly from color A on a circle with center cA and radius rA to color B on a circle ...
10
votes
3answers
849 views

Tikz: shading region bounded by several curves

I know that my effort below can be improved upon considerably. In particular, there must be a way of shading the region in a single scope, as opposed to subdividing as I have done (thus necessitating ...
1
vote
1answer
84 views

Table cell/element color parameterization with xcolor

I have a table (implemented through tabular) that uses the xcolor package to shade certain cells. The shading I'm interested is both entire cell shading (e.g. \cellcolor{red}) and element shading ...
5
votes
1answer
196 views

Drawing a box with shading in pgfplots

As a follow-up to this question, or more precisely this answer, I'd like to know how to do the equivalent of \shadedraw [shading=axis,left color=green,right color=orange,color=blue,line width=2] ...
8
votes
1answer
232 views

How do I force tikz to use CMYK everywhere (also in shadings)?

I'm doing a poster with the baposter which uses tikz and at some point realized that some colors that should be identical are not. It turns out that tikz apparently resorts to RGB color space as soon ...
6
votes
1answer
233 views

Shading in TikZ calendar

I’ve produced the calendar below with TikZ but I think the colourings need to be made more salient by shading a box around the coloured dates (as there will be four of these years on a page and the ...
10
votes
1answer
438 views

Tikz: Shading a path without any filling

How can I shade a path witout filling? In particular, I wand to draw a curved arrow that starts colored blue and ends colored green, where in between it gradually changes its color. I can't find a way ...
9
votes
4answers
598 views

How do I shade an area in pgfplots?

How do I create a shaded area in a polygon created by plot intersections? In this case, up to the solid line without circle marks. \documentclass{article} \usepackage{pgfplots} ...
4
votes
1answer
210 views

How to avoid shading of connection bars in TikZ mindmap

I am trying very hard since a while to draw a mindmap where shading of connection bars is avoided and where the connection bar's color is specified by me. For instance, I would like to draw two green ...
3
votes
1answer
194 views

How to get horizontal black line when coloring cells?

I have the following table with an arrow showing the missing black horizontal black line: Here is the relevant code, I am wondering how do I get a black horizontal line where there is one missing? ...
26
votes
1answer
1k views

TikZ: drawing 3 intersecting circles and shading

How can I draw the three intersection circles/ellipse with that shading paradigm (not necessarily the same colors) effectively? It appears that the original image doesn't have overlapping colors ...
4
votes
1answer
82 views

Alternatingly shading rows with @{}

I want to alternately shade the rows in my table. I am aware of How to alternately shade rows in a table and similar questions. However, as my table is long and needs to be aligned very neatly in ...
3
votes
1answer
248 views

Putting shade in part of a figure in `picture` environment

I was trying to draw the some diagram by using the picture environment. I want to put shade certain part of the figure, namely inside of the rectangle (with curved corners) created in the left hand ...
5
votes
1answer
155 views

Patterned shading parts of a rectangle

Normally I try to have a skeleton at least before I ask a question, but this time I don't know where to begin, so my apologies for asking a cold question. I am trying to get parts of a rectangle ...
1
vote
0answers
80 views

Footnotes in tables and shaded environment [closed]

I have a problem with having my footnotes on the same page with the footnotemark. What I use to have them inserted into the table or a shaded box is \footnotemark and \footnotetext pair. But the text ...
6
votes
1answer
453 views

More on “Cylinder shading with pgf TiKZ”

In his answer to Cylinder shading with PGF/TikZ, Jake provides a code to draw a shaded cylinder with a not shaded top. This code draws a cylinder node (from shapes.geometric library) and after that, ...
1
vote
0answers
145 views

Shade background in pgfplots [closed]

I am using pgfplots package. I tried to use shade axis background. It is working in the .dvi output... But I don't see the shade when I convert it into pdf. Can anybody tell me the reason? I use ...
1
vote
1answer
704 views

Beamer - Shaded Background in Block environment

i would like to have a shaded coloured block title background in my beamer presentation. I could not figure out how to set the shading. Any solution? \documentclass[]{beamer} \usepackage{lmodern} ...
8
votes
1answer
193 views

Drawing balls in a rectangle

I am trying to replicate the following figure here and this is what I have so far \documentclass[12pt,a4paper]{standalone} \usepackage{tikz,tkz-euclide,pgfplots} \usetkzobj{all} ...
4
votes
1answer
262 views

tikz and mdframed + shadow drop and shading

I'm interesting in Boxed text between pages 2nd version: exercise box with mdframed. Ho to add to this : Vertically shaded frametitle and Vertically shaded box with dropping shadow? Yes i have seen ...
2
votes
1answer
68 views

how to extend shaded to full page width?

I use "shaded" to indicate the reader that the text is about something special. This works fine but i can not extend the box to the full page with. How is this possible? I use LYX and i can imagine ...
1
vote
1answer
182 views

Customize the size of the shaded box

I am using \begin{shaded} from \usepackage{framed}. The problem is I am using it for examples which come inside \begin{itemize}, the shaded box's margin does not begin with the \item margin instead ...
6
votes
1answer
180 views

Shaded multicols II

In extending a previous question, Shaded multicols, how can I put rounded corners on the multicol environment, for the outer 4 corners (ie the corners directly next to the page margins) This question ...
7
votes
2answers
322 views

TikZ shaded translated regions defined by boundaries of shape nodes and lines

Given a lattice made up of shapes, how do I shade the regions (and their translates) defined by the boundaries of these nodes and lines going through these shapes? In my particular case, I have a ...
2
votes
1answer
145 views

How to alternately shade rows in a table [duplicate]

I'm having trouble finding anything that will work with this checklist table that I have set up. I was hoping someone might have some suggestions. \usepackage{colortbl} \begin{center} ...
12
votes
2answers
417 views

Gaussian ellipsoids using tikz

I'm trying to draw illustrations of Gaussian ellipsoids using shaded ellipses. In simple terms what I'm after is a way to have a light shade throughout the outer edge of the ellipse and a darker shade ...
7
votes
0answers
103 views

How to create a line with “radial” shading? [duplicate]

How would you draw a black line with TikZ that shades to white/transparent radially (like this) between two coordinates? Shading is possible for rectangles (TikZ documentation, Ch. 46), though I can ...
16
votes
4answers
646 views

Can fuzzy borders be added to external pictures programmatically?

In my opinion, external pictures are often more pleasing to the eye on a white background when they have fuzzy rather than "sharp" borders. For instance, compare this to that Adding fuzzy ...
9
votes
2answers
272 views

Quoting styles, technical an appreciation questions

I know there has been some questions about the quote style, I loved the one with the big quote marks. What I'm trying to achieve it's a little simpler. Right now I have something like this: ...
1
vote
1answer
325 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 ...
7
votes
1answer
307 views

How to shade a line and how to offset a line?

Newbie here. Could anyone tell me how to (1) shade a line and (2) how to offset a line? I have a very simple graph, This is a mesh used in finite element analysis, I have already used tikz to build ...
29
votes
3answers
1k views

How to pimp my tube?

How can I pimp my tube? \documentclass{scrartcl} % needs logicpuzzle bundle v1.8 % http://mirrors.ctan.org/graphics/pgf/contrib/logicpuzzle/logicpuzzle.sty % or replace logicpuzzle -> battleship ...
0
votes
0answers
30 views

How do I get rid of the white background underneath my shadow? [duplicate]

I have selected a specific background for my beamer slides and I am using the theorem environment for my theorems. When I turn the shadows on for the blocks however, instead of giving me nice shadows ...