Skip to main content

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
0 votes
1 answer
74 views

Encoding Glowing Stars into a Tikzpicture with Fadings

The following code is based on the answer of @Tom posted here: Extending the Features of the Glowing Star Posted by User Sandy G which produces: I would like to add some of these glowing stars into a ...
DDS's user avatar
  • 9,768
5 votes
1 answer
201 views

Adding Multiple Titles with Gilded Effects

In Giving a Title a Gilded Effect, I asked how to give a "gilded effect" to the lettering in the title; to which, hpekristiansen gave a very nice answer in which both the title and ornaments ...
DDS's user avatar
  • 9,768
3 votes
1 answer
84 views

Positioning Multiple Fading Titles with Tikzpagenodes

The following code is adapted from the answer posted by hpekristiansen in Giving a Title a Gilded Effect: \documentclass[12pt]{book} %\usepackage[hmargin=0.7in, vmargin=0.75in]{geometry} \usepackage[...
DDS's user avatar
  • 9,768
0 votes
0 answers
30 views

Howto enable font embedding with tikzfadingfrompicture? (Use case: Text color gradient)

I want to display a (very big) partially transparent emoji in the background of a document with a color gradient on the emoji). So far, the only successful way for doing so seemed the following tikz ...
branleb's user avatar
1 vote
1 answer
127 views

Gradient colour fill with light and shadow effect on 3D objects

I wonder if it is possible to obtain a gradient colour fill to replicate the light position by means of TikZ. For example in these images (taken by a book) it is evident, that the light effect from ...
Richard's user avatar
  • 164
3 votes
1 answer
258 views

Fully customizable color gradient in TikZ

Linear and radial gradients are very flexible in SVG. It is possible to create gradients containing multiple stops with translucent colors. Here is an example: The gradients in the figure from left ...
Keen Teen's user avatar
1 vote
1 answer
122 views

How to fade text using an image without affecting background image?

I have a background image on top of which I need to show some text. I want to fade the text using an image without affecting the background image. As I understand it, this should be possible given ...
user1362373's user avatar
  • 2,869
2 votes
1 answer
94 views

Combined fading and shading for pgfplot

I am trying to create a background to a pgfplots graph, which has a horizontal shading that also fades from transparent at the bottom to solid colours at the top. The effect I wish to achieve is ...
Nigel's user avatar
  • 1,221
1 vote
1 answer
47 views

Is it possible to keep the fading background on the node without showing the back of the drawing?

I have just discovered the fading library of the software and I find it curious that I have not found an easy method to not show the back drawing, that is to say that the background of the node is ...
Alejandro Munoz Ossa's user avatar
0 votes
2 answers
97 views

Lighten background of tikz node

In a TikZ picture, I am placing text nodes on a dark background. To enhance visibility, I want to lighten the background behind the node, irrespective of what it is. Thereby it would be nice if the ...
Andi Bauer's user avatar
1 vote
0 answers
36 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
56 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
48 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
30 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
48 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
297 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
186 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
44 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
253 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
373 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
  • 431
2 votes
1 answer
115 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
87 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{...
DDS's user avatar
  • 9,768
2 votes
1 answer
79 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
4 votes
2 answers
496 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
2 votes
0 answers
71 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} \...
DDS's user avatar
  • 9,768
1 vote
1 answer
44 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[...
DDS's user avatar
  • 9,768
0 votes
1 answer
62 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 \...
DDS's user avatar
  • 9,768
1 vote
0 answers
38 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} \...
DDS's user avatar
  • 9,768
0 votes
1 answer
56 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}{...
DDS's user avatar
  • 9,768
-1 votes
1 answer
133 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 ...
DDS's user avatar
  • 9,768
2 votes
1 answer
152 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} ...
DDS's user avatar
  • 9,768
3 votes
2 answers
186 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
  • 174
1 vote
1 answer
97 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
84 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
284 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
311 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
103 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
  • 427