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

4
votes
1answer
426 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
73 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
268 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
227 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
395 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
181 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
601 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
108 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 ...
25
votes
4answers
875 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
364 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
782 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
415 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 ...
1
vote
0answers
34 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 ...
13
votes
2answers
873 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
231 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
497 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
209 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
211 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
852 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 ...
18
votes
3answers
2k 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
263 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
350 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
845 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
312 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
316 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 ...
4
votes
1answer
710 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
690 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 ...
14
votes
2answers
3k views

Set table background hatched and shaded using tikz

I am looking for a convenient way to set the background of tabular cells. I'd like to do two things: (1) Set the background shaded in a color (2) Set the background hatched I learned that the TikZ ...
4
votes
1answer
981 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 ...
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 ...
2
votes
1answer
740 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: ...
13
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
491 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
738 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
362 views

Shading over a single page

I want to generate shading color in background for a single page. How can I implement this?
31
votes
4answers
6k 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
489 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, ...
6
votes
3answers
10k 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
492 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
340 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
920 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 ...