Questions tagged [tikz-fadings]

{tikz-fadings} is for questions about the fadings library for TikZ which allows for “shading-like” transparency.

Filter by
Sorted by
Tagged with
1 vote
0 answers
25 views

Why does setting a tikzfading style from within a tikzpicture increase the boundary box?

I am using tikz with the tikz library "fadings". I am drawing a tikzpicture that involves looping through a sequence, and performing an action for each term of the sequence. One such action ...
Adam Higgins's user avatar
0 votes
0 answers
44 views

Relative Fade Direction with Tikz Fading

I have a custom function that creates a tikzpicture that has been rotated via \begin{tikzpicture}[rotate=angle] ... \end{tikzpicture} where "angle" is an argument to the function so that ...
Adam Higgins's user avatar
1 vote
0 answers
40 views

Difficulty with passing the value of a tl to the tikzfading function

In the LaTeX tikz library "fadings", there is a function called \tikzfading that allows one to define a custom fading style. For instance, the following is an MWE showing a line fading out ...
Adam Higgins's user avatar
1 vote
1 answer
27 views

Data outside canvas not removed when using fadings with pgfplots

I have a weird problem and was able to track it down to the use of fadings in my plot. My workflow uses pgfplots for plotting my data and after compilation I use gs to convert the pdf file with some ...
John Miller's user avatar
2 votes
1 answer
39 views

Line in Tikz environment showing thicker and giving "Dimension too large" error when using path fading

I am trying to draw a neural network with a gradient with Tikz. I have the code without errors for the normal neural network, but when I add path fading for the gradient a couple things go wrong. ...
Marta Matute de Amores's user avatar
10 votes
1 answer
225 views

Fade out of plot without affecting the grid

I'm trying to achieve a fade-out effect of my plot curve to the sides without affecting the grid. However, as I'm using path fading with white, the grid is also affected. Ideally this would be done by ...
Dwarfworld's user avatar
1 vote
1 answer
102 views

TikZ - Combining fading and fill opacity

I am trying to have a transparent fill as well as set the total transparency of the shape. The bottom example should be a combination of the two above. How can I manipulate the transparency value of ...
M. Al Jumaily's user avatar
0 votes
0 answers
38 views

TikZ: Fading boxes in absolute coordinates

I'm trying to draw a curved line, and then apply some custom fading to it by using \pgfdeclarefading and \pgfsetfading following https://tikz.dev/base-transparency#pgf.back/pgfsetfading. However, the ...
RobVerheyen's user avatar
1 vote
1 answer
160 views

3D pyramid diagram by tikz

How to draw this by tikz? I need to draw one but I have no idea.
kalakay's user avatar
  • 2,469
3 votes
2 answers
285 views

Transparency, not opacity, is needed as fading for plotting a surface over a lattice

I can, to some extent, define a new color map for a 3d-surface and import some tikz picture as a node inside the 3d-plot. I want to put the 3d-surface over the inserted node object where one of the ...
Physor's user avatar
  • 421
2 votes
1 answer
86 views

tikzfadingfrompicture with fit fading=false (Potential bug)

In the manual page 361 this is written about fit fading: /tikz/fit fading=⟨boolean⟩ (default true, initially true) When set to true, the fading is shifted and resized (in exactly the same way as a ...
hpekristiansen's user avatar
1 vote
1 answer
79 views

Producing a Glowing Star with the Transparent Package and Pdflatex

Consider the code: \documentclass{book} \textheight 8.5in \textwidth 5.75in \usepackage{xcolor} %\usepackage{transparent} \definecolor{darkpurple}{RGB}{48, 25, 52} \usepackage{tikz} \usetikzlibrary{...
mlchristians's user avatar
  • 7,724
2 votes
1 answer
57 views

Undesired line between "fill between" regions

i´m trying to make this plot: As you can see, I am having trouble on the right side. I want to make the colored regions disappear softly to the right. To make that I defined, for each color, two ...
DerSpanier's user avatar
2 votes
2 answers
325 views

How to fading transparent with tikz package

I want to fill small rectangle in below cover. My code is not fading color to background color. Please help me correct below code. \documentclass[12pt,a4paper]{article} \usepackage[margin=0pt,...
Nam Tran Le's user avatar
3 votes
0 answers
65 views

How to Produce a Rectangular Radial Glow

Consider the code \documentclass[a5paper,12pt,onecolumn,openany,final]{book} \usepackage[hmargin=0.7in,vmargin=0.75in]{geometry} \usepackage{tikz} \usepackage{calc} \usetikzlibrary{fadings} \...
mlchristians's user avatar
  • 7,724
1 vote
1 answer
38 views

Embedding a Pspicture within a Radial Fading Tikzpicture

The following MWE is taking some code from How to Produce a Colorized Aura About an Image and Which Resembles That Image which produces a "radiant" Norman Window. Consider, \documentclass[...
mlchristians's user avatar
  • 7,724
1 vote
1 answer
57 views

Followup to Restricting the Circular Span of a Radial Tikzpicture

This post is an extension of the post How to Restrict the Circular Span of a Radial Fading Tikzpicture Consider the code \documentclass{book} % Code can be compiled with Pdflatex or Xelatex \...
mlchristians's user avatar
  • 7,724
1 vote
0 answers
27 views

Centering an Image within a Tikzpicture that is Embedded in a Pspicture

I am trying to place an image (in this case, a red square) at the center of a radial glow (generated as a tikzpicture) all within a pspicture environment. Consider the code \documentclass{book} \...
mlchristians's user avatar
  • 7,724
0 votes
1 answer
48 views

How to Restrict the Circular Span of a Radial Fading Tikzpicture

Consider the code \documentclass{book} % Code can be compiled with Pdflatex or Xelatex \usepackage{tikz} \usetikzlibrary{fadings} \definecolor{darkamber}{RGB}{213,54,0} \definecolor{sunriseyellow}{...
mlchristians's user avatar
  • 7,724
0 votes
1 answer
120 views

Extending the Features of the Glowing Star Posted by User Sandy G

This following code extends a bit, an answer posted by the user Sandy G in How to Give Stars a Glow Effect which asked for a way to produce a glowing star with LaTeX. \documentclass{book} \textheight ...
mlchristians's user avatar
  • 7,724
2 votes
1 answer
130 views

An Efficient Method for Drawing a Constellation of Glowing Stars

As an application of the question posed in How to Give Stars a Glow Effect Consider the code \documentclass{book} \textheight 8.5in \textwidth 5.75in \usepackage{tikz} \usetikzlibrary{fadings, calc} ...
mlchristians's user avatar
  • 7,724
3 votes
2 answers
141 views

TikZ - Complete and progressive horizontal fading possible?

I'd like to fade some text, on its left and its right. I want the fading to be visually both : progressive complete (ie: when the fading ends, the text becomes invisible) I didn't find any example ...
Michaël's user avatar
  • 114
1 vote
1 answer
84 views

Precompiled preamble + TikZ fadings library

It seems that the fadings library is not compatible with precompiled preambles. MWE: %&mwe \documentclass{article} \usepackage{tikz} \usetikzlibrary{fadings}% Incompatible with precompiled ...
Bibi's user avatar
  • 1,532
1 vote
1 answer
75 views

pdfmanagement-testphase tikz babel and dvips

This code don't work with compilation in dvi->ps->pdf \RequirePackage{pdfmanagement-testphase} % load the package \DocumentMetadata{} % activate the PDF management (with options) \documentclass{...
Manuel Cart's user avatar
7 votes
1 answer
260 views

How to fade light rays by tikz

I would like to draw the light rays as below picture. The below MWE is not beautifull. Please help me correct it. Thank you in advance! \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{...
Nam Tran Le's user avatar
3 votes
1 answer
299 views

How to fading color the curve grid

I want to draw the curve grid as bellow picture. Please help me control the grid with the belly and fade the color. MWE \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \...
Nam Tran Le's user avatar
8 votes
4 answers
1k views

Shading a heart

I want to draw and fill the below heart with TikZ package. I use the shading option for the whole heart or two semi-heart curve. It seem the heart divided! Please help me correct the suitable shading ...
Nam Tran Le's user avatar
1 vote
1 answer
97 views

Proper use of TikZ fading to cut text from a box with rounded corners

Following up from this post, I am trying to build an illustration to look like this: It's important that the transparent text is indeed transparent, not white. When I compile the following MWE \...
Hansel's user avatar
  • 397