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

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 ...
12
votes
2answers
578 views

TikZ: shade also the border of a node

I would like to shade a node and the border of the node. The following code works but I don't like it very much that I have to draw something after the node on the background layer. I would prefer a ...
5
votes
1answer
197 views

How to create a shade box that covers the whole footnotes area?

I would like to shade the whole footnote area (bottom of the page). Does anyone know, if it can be done ? Edit : Using the answer provided, the text direction commands \setRL and \setLR, from the ...
8
votes
1answer
380 views

TikZ shadings and printing incompatibility

I would like to use some effects provided by the shadings library of tikz. More specifically, I am trying to use the ball and radial shadings (tikz 2.10 manual, p. 412-). The resulting pdf looks ok ...
12
votes
2answers
184 views

TikZ/PGF - switching off shading

Is there a way to switch off shading for one node, in a scope where the nodes are shaded? In other words, I want something like shading=none, but did not find it. Motivation: \documentclass{article} ...
5
votes
3answers
181 views

Is it possible to shade an area of a picture using the xcolor package?

I want to shade an area of of picture I have created in the environment \picture. Is there anyway I can shade this by setting it between co-ordinates? i.e. could I shade in blue the area between ...
4
votes
1answer
602 views

Filling area between two lines and an arc

I have the following diagram I would like to convert (approximately) to tikz: So far, I've succeeded at doing everything except the shading. I am a newbie to tikz and learning the best I can so ...
13
votes
1answer
1k 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 ...
17
votes
3answers
1k views

TikZ: radial shading of a ring

I would like to have a radial shading of a ring, from inner color (red) at inner radius r1 > 0 to outer color (white) at outer radius r2 > r1. But with \filldraw[even odd rule,inner color=red,outer ...
4
votes
1answer
197 views

Getting rid of a thin framing line when shading a triangle

I am trying to draw a shaded triangle with tikz, using the following code: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \fill[top color=green!40,middle ...
5
votes
1answer
303 views

Table alignment with inner table and hline

There are 3 issues with this table. After much experimenting, I can sort of resolve 1 or 2 of them but never all 3 at the same time. I have a very picky customer (aren't they all) and I have to get ...
13
votes
3answers
680 views

Shading an area bounded by curved paths between nodes

I am drawing a graph of sorts in TikZ, and I have several connected nodes in a cycle, and I would like to shade the area bounded by paths between those nodes. My problem is that the shading is not ...
5
votes
1answer
251 views

How can I remove the shade in this TikZ picture to get white filling?

I want pure white fill so that upper most circle becomes incomplete. But black shade comes in the figure. Is there any easier way to do this? \documentclass{article} \usepackage{tikz} ...
3
votes
1answer
293 views

Beamer shadows are different in pdfLateX and XeLaTeX

I am getting different results on the shadows beneath the boxes (title page and all others) depending on whether I compile with pfdLaTeX or XeLaTeX. When compiling with pdfLaTeX the shading works as ...
12
votes
1answer
1k 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 ...
4
votes
1answer
493 views

Change colors/contrast in beamer navigation between active and dimmed section

The code below gives the following output for the head: Here the first section on the left is active and the others not, but the difference is quite small, I would like the active section to be in ...
4
votes
1answer
550 views

Shading a block of my text

I would like to surround some source code in my beamer presentation with a lightly shaded box. More specifically in the C++ source code given below, I would like to shade the code block of the ...
4
votes
1answer
689 views

How can I change the shading of beamer's \tableofcontents[currentsection]?

I like to use \tableofcontents[currentsection] as an orientation at the start of a new section. But in my experience (depending on the projector), the default shading of the other sections can be to ...
8
votes
1answer
861 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 ...
2
votes
1answer
582 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: ...
2
votes
2answers
938 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 ...
2
votes
0answers
95 views

Inconsistent shading [duplicate]

Possible Duplicate: How can I avoid compiling twice? I am shading first page using following code. \begin{tikzpicture}[remember picture,overlay] \shade[left color=white,right ...
3
votes
1answer
2k 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} ...
8
votes
1answer
405 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 ...
9
votes
2answers
659 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
285 views

Shading over a single page

I want to generate shading color in background for a single page. How can I implement this?
5
votes
1answer
894 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
2k 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 ...
5
votes
1answer
999 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, ...
3
votes
2answers
446 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) -- ...
16
votes
3answers
3k 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 ...
10
votes
1answer
995 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
3answers
7k 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
443 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 ...
8
votes
3answers
316 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 ...
11
votes
2answers
4k 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 ...
3
votes
1answer
824 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 ...
6
votes
1answer
1k 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 ...
3
votes
4answers
6k 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 ...
4
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? Including fixing circle radius?