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

2
votes
1answer
918 views

Shadings in head

I am currently trying to code in beamer the following image. So far I got the three beamercolorbox but I can't get the shaded background. Here is the aspect I want: ...
14
votes
1answer
2k views

TikZ, 3d library and circle fading

I'm using the 3d library to put a circle on the z=0 plane, and other things. I'd like to fade this circle radially, but the result isn't as I would expect because the fading is not proportional to the ...
3
votes
1answer
3k views

Tikz: How to shade a node

I have made a graph with TikZ and now I would like to apply a shading to some of the nodes but I can't seem to find out how to do that. This doesn't work: \documentclass{article} \usepackage{tikz} ...
16
votes
1answer
2k views

How to create a ball shading and to customize 3D lighting manually?

TikZ shading=ball will create a perfect 3D ball perspective, but it has no option to change the lighting angle, the contract, radius of light, etc (or I am not aware of). I tried to create a 3D ball ...
8
votes
1answer
559 views

How to use ball shading on non-circle shapes?

If using ball shading on non-circle elements, it will well apply the shading effect, but it will use the default blue color. How to use ball shading with the element color. \node[text ...
8
votes
1answer
1k views

How to shade mindmap concepts?

I tried to add a shade on my mindmap's concepts with \begin{tikzpicture}[mindmap, text=white, every concept/.append style={circle,shading=ball, ball color=black!20!white!20}] but the problem is ...
9
votes
2answers
859 views

Is lualatex supposed to be a superset of pdflatex? (regarding production of PDF)

In other words, is it a bug if lualatex cannot compile a document that pdflatex can? Based on the answers to this question How to expand TeX's "main memory size"? (pgfplots memory ...
9
votes
1answer
427 views

Shading over a single page

I want to generate shading color in background for a single page. How can I implement this?
32
votes
4answers
7k views

How to draw a shaded sphere?

Andrew Stacey pointed out that the Rosetta Code entry "Draw a Sphere" doesn't have a TikZ entry yet. Is there a way to draw a "properly" shaded sphere using TikZ? The ball shading would seem an ...
5
votes
1answer
1k views

how can I shade an area in a beamer frame?

I have a beamer frame, and I want to shade a whole area with some color - i.e. that the whole area (rectangular) will be using a single grey color switched from any color (except for white) appearing ...
4
votes
1answer
3k views

Beamer round blocks without fading

I want to define a custom block in beamer. Here are my definitions: \documentclass[svgnames]{beamer} \usepackage{xcolor} \setbeamertemplate{blocks}[rounded] \setbeamercolor{block ...
3
votes
2answers
527 views

Polyline shading in TikZ

Is it possible to apply a shading effect on one side of a polyline in TikZ? I have the following simple code \begin{tikzpicture} \draw (1.06,9.56) -- (1.44,9.78) -- (1.78,9.56) -- (2.14,9.79) -- ...
10
votes
1answer
1k views

Shaded continuous across new enumerate environment

I'm trying to write up solutions where I include the original problem text, in a light gray shaded box. I had been creating the shading with the 'framed' package shaded environment, but some of the ...
5
votes
1answer
1k views

beamer: shading the block environment

I want the block environment to be shaded in blue, because now it is hardly noticeable. The LaTeX code I'm using is \documentclass[10pt]{beamer} \mode<beamer>{% \usetheme[hideothersubsections, ...
7
votes
3answers
13k views

How to change the background color of \framebox?

I'm trying to change a picture drawn using the plain picture environment and I need to change the background color of certain \framebox to lightgrey. Is it possible? I know that there are more ...
4
votes
4answers
554 views

How to make shaded pages and still see memoir's trim frame?

I am using memoir and I have the showtrims setting activated which I want visible on my pages. I am trying to toggle shading of entire pages and so far I am not having any great success. I have looked ...
9
votes
3answers
370 views

How to learn to create General (Functional) Shadings wifth pgf?

In the section called General (Functional) Shadings in the PGF/TikZ manual, there is an "explanation" of the command to create a general functional shading. The author of this section assumes that ...
3
votes
1answer
1k views

Beamer: Vertical shading + plain frame leaves white strip at top of page

I've created my own beamer theme which uses a vertical shading for the background, but whenever I'm using a plain frame a thin white strip is left at the top of the page. I've created a minimum ...
11
votes
2answers
5k views

Cylinder shading with PGF/TikZ

I'm trying to create a cylinder with 3D shading effects. The cylinders in the picture are standing vertically, and have a body and an end. I'd like the body to be shaded so that it varies uniformly ...
2
votes
2answers
1k views

It's possible to remove the internal shading from a beamer rounded box?

I'm trying to modify a Beamer template in order to have at the same time: 1) rounded boxes 2) shadows around the box 3) a defined line (without shading) between block title and block body (as in ...
7
votes
1answer
2k views

Fading a path in TikZ

I want to draw a path/plot in TikZ whose shade depends on the coordinate. For example, I want say something like \draw[color=black!\x] plot coordinates{ coord1 ... coord100}; i.e. the shade of the ...
4
votes
4answers
8k views

Beamer: How to remove shadow under the title on a given frame?

On one particular frame I would like to remove the shadow that the theme I am using inserts under the title. The reason is that with a black background (which I use only on this frame), it looks quite ...
19
votes
3answers
4k views

Is there a way to tune ball shading in TikZ ?

I want to create a Go stone in TikZ. "ball color" option in node style is almost OK. Here is my result: But I don't like the stones, they are "too balish". The "reflection" should be less spot-on ...
5
votes
1answer
2k views

TikZ: How to encapsulate shade in node?

I have this shaded circle: \shade [ball color=black!80!white] (0,0) circle (1); Is it possible to encapsulate it with node style and fixing the circle radius?