Questions tagged [gradient]
The gradient tag has no usage guidance.
108
questions
-3
votes
1
answer
53
views
How to set a colour gradient for all chapter headings?
How can I set the text colour of all chapters to the following gradient?
linear-gradient(90deg, rgba(254,122,58,1) 0%, rgba(218,60,152,1) 100%)
At first glance, the obvious choice would be the ...
1
vote
0
answers
30
views
How to rotate a gradient along with the rectangle
When I rotate a rectangle with a gradient fill, the gradient stays relative to the document or canvass or whatever. I want the gradient to rotate with the rectangle so that it changes along its width ...
2
votes
1
answer
54
views
gradient in shadow box using tcolorbox
My codes are follows:
\documentclass{book}
\usepackage[skins]{tcolorbox}%
\tcbuselibrary{breakable}%
\tcbuselibrary{hooks}%%
\begin{document}
\begin{tcolorbox}[shadow={4mm}{-3mm}{0mm}{black!23!white}...
0
votes
1
answer
87
views
Fill a 3d surface with a gradient rather than solid colour
I wish to plot a 3d surface based on its outline coordinates provided in a file data.txt.
The following code works as expected.
\usepackage{pgfplots}
\pgfplotsset{compat = newest}
\begin{document}
...
2
votes
0
answers
102
views
Batch vs mini batch vs stochastic gradient descent
I would like to compare in a figure the steps of a running execution of gradient descent algorithm but taking three possible approaches: batch, mini-batch, and stochastic.
I have found an example of ...
2
votes
1
answer
108
views
Is there a way to make a gradient in a tikz plot that is y dependent?
I am using pgfplots and tikz (with \begin(axis) ... \end(axis) ) to make a plot from somo data and I was wondering if it is possible to make a gradient in the plot that is dependent with the y axis, ...
1
vote
0
answers
56
views
Gradient in arrow and text (node) in tikz [duplicate]
Is there a way to make the down pointed arrow a gradient between two colors and have the text have that gradient too? (BrickRed and NavyBlue)
\documentclass[a4paper, 11pt]{article}
\usepackage[utf8]{...
0
votes
1
answer
334
views
tcolorbox set background color (colback) to color gradient / gradient to transparent
I wish to create a tcolorbox with a background that fades from a solid color to white, or even transparent, to be able to use it everywhere.
I have tried using [enhanced jigsaw, frame style={left ...
3
votes
1
answer
110
views
How can I get a color gradient of the rectangle on my chapter style in fncychap? (\usepackage[Bjornstrup]{fncychap})?
I followed this link to change the color of the background on the chapter style in fncychap :
How do I change the color of the background on my chapter style in fncychap? (\usepackage[Bjornstrup]{...
1
vote
0
answers
116
views
How to fill a pgfgantt bar with a color gradient which fades from the center of the bar?
I'm trying to figure out how to fill a pgfgantt bar with a horizontal color gradient which fades from the center outwards. Unfortunately i'm having no luck!
I was wondering whether anyone knew how to ...
0
votes
2
answers
116
views
Make a color gradient with tikz
Where I can find the section about color gradient in the tikz documentation?
Specifically, I would like to make the gradient you see in the outermost ring of this image. Forget the rest, I can easily ...
0
votes
1
answer
222
views
Blend tikz gradient right color with background [duplicate]
I am trying to make a gradient box with text with the right color completely blend with the background. Here is my document.
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{...
1
vote
2
answers
584
views
Tikz gradient with 3 or more colors using pgfdeclarehorizontalshading
I am trying to get a gradient to work with 3 distinct positions by using \pgfdeclarehorizontalshading. I have read the docs here and it seems rather straightforward that the different colors should be ...
0
votes
0
answers
136
views
LaTeX table cell coloring based on values in the cell (3 color scale formatting)
I wanted to imitate the functionality in excel of 3-Scale grading formatting, which changes the background of a table cell based on its value.
I wanted each cell to have a percentage value, and each ...
5
votes
2
answers
658
views
Multi-color circular gradient in Tikz
I'm using the following code
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\coordinate (y) at (0,10);
\coordinate (x) at (10,...
2
votes
2
answers
171
views
Filling part of a circle with a gradient following the circle-curve
I want to fill the lower part of the circle (225° - 315°) with a gradient that is oriented to the curve of the circle. The whole sides at 225° and 315° should be the beginning of the colors. Now it's ...
0
votes
1
answer
220
views
How to fill a cell in a table with two colors like a heatmap?
I'm new to LaTeX. This is a similar question to How to interpolate two colors in a cell?
The relative codes from the answer is helpful @user30471:
The H column type uses the collcell package to apply ...
6
votes
1
answer
200
views
Apply a color gradient to lines of a tabularx
I am trying to apply a color gradient to the horizontal lines of a tabularx environment. I have a two-column tabularx in which I want the second column to be lined with left-to-right color gradient ...
9
votes
1
answer
290
views
Why do true grayscale gradients get converted to cmyk/rgb resulting in a possible color tint when printing?
While printing my thesis in a professional printing shop I encountered various issues. First, pages with grayscale graphics have not been recognized as such (requires manual fixing by the shop) and ...
2
votes
1
answer
228
views
pgfplots fill polygon with gradient
I have the following three-dimensional surface plot and I would like to add a gradient to the red semitransparent area starting with black at x=0 and ending with white at x=1. Is it possible to add a ...
1
vote
0
answers
65
views
Set Color Gradient as "Font Color" [duplicate]
Hello Ladies and Gentlemen,
I want to have the "font color" of a (short) text set to a color gradient.
I already found a solution here and here and that solution also at the tikz manual on ...
2
votes
1
answer
347
views
Replicate Gradient Descent Graph with pgfplots and tikzpicture
I am trying to replicate the graph from the picture below. I tried looking at some old questions here and use them for the code, but I didn't get as much information as I hoped.
\documentclass{article}...
2
votes
2
answers
426
views
Filling optical spectrum curve with color gradient
I have some difficulties creating a plot where the area between the curve and the x-axis is filled with a gradient. I want to plot an electromagnetic spectrum and I want the color gradient to ...
6
votes
1
answer
583
views
How do make gradient colored Qr Code in LaTex?
I am using the qrcode package and I know how to make plain colored qr codes:
\usepackage{qrcode}[]
\color{blue}{\qrcode[height=7cm]{site qr code}}
but I want to make with gradient colors, How to do ...
0
votes
0
answers
393
views
LaTeX Error: Option clash for package xcolor. Package xcolor Error: Undefined color `Lavender'. Why it is happening
I want to add a colour gradiant inner to outer from Lavender to white
\usepackage{amsmath}
\usepackage{times}
\usepackage{anyfontsize}
\usepackage{amsfonts}
\usepackage[paperheight=11in,paperwidth=...
1
vote
1
answer
333
views
Text along path and gradient on each character
I am trying to draw a large colored text along a path, where the color follows a gradient.
I found posts describing how to draw text along a path and posts showing how to draw colored text with ...
1
vote
2
answers
207
views
Is it possible to let text continue over an image? [duplicate]
I would like to achieve a result such as the one in the link: https://drive.google.com/file/d/1kI7bX69BMKjOMyaFnwjoqBgdWJ9M-AK4/view
I thought of doing some kind of gradient to the image, but the ...
4
votes
1
answer
286
views
Crown with color gradient
How can I paint a crown (similar to the following) with color gradient?
I tried two different starting points:
First gradient rectangle with cuttings and second draw lines similar to the above ...
0
votes
2
answers
1k
views
How to add color gradient in background
I want to add color gradient in whole page as from top to bottom red color slowly becomes blue in a article in xelatex. class I tried thus
\documentclass{article}
\usepackage[dvipsnames]{xcolor}
\...
3
votes
0
answers
200
views
pgfplost: Accuracy of the color gradient in matrix plot
I want to plot a matrix with pgfplots to match the style of the rest of my LaTeX document. The desired output is something like this plot from Mathematica:
But when I try to plot this data with ...
0
votes
1
answer
1k
views
Gradient symbol in LaTeX [duplicate]
This maybe a silly question, but how do I type this first symbol? I can't seem to find it in any lists. Is it a small delta?
2
votes
2
answers
828
views
How to make a horizontal line with varying opacity or gradient?
Can you please let me know how to draw a horizontal line with variable transparency similar to the figure attached below. Thank you!
There is a similar question answered by @Emma and @Sigur, which ...
1
vote
1
answer
132
views
How to get the gradient for margins alone when using tcolorbox environment
I am creating one new environment with tcolorbox.sty, those environment style would be gradient only on the left side margin
How to get this style in tcolorbox
MY MWE
\documentclass{book}
\...
3
votes
1
answer
298
views
Resolution in tikz gradient
The issue: making a background gradient with tikz I had the following problem. The resolution of gradient is very low and hatched lines appear. (see an MWE + picture below)
The question: Is it ...
2
votes
2
answers
2k
views
Vertical gradient color for background of one page
I want to type some text with XeLaTeX like this picture on one page. Sorry I don't have any good minimal code.
\documentclass{report}
\usepackage{xepersian}
\settextfont{Yas}
\begin{document}
تقدیم ...
4
votes
2
answers
765
views
Color gradient TikZ environment
I like to create a color change in vertical direction of the "pump Symbol" in the following example from black to blue to black again.
The symbol itself should NOT be filled with color. ONLY the ...
3
votes
2
answers
761
views
Color gradient in circle from center and keep transparency
So I am trying something: I want to have a loop reading out the position of circles from a dat file. The plotting already works very well. However now I want to implement a gradual shading from semi ...
5
votes
2
answers
2k
views
tikz: draw multicolor curve with smooth gradient
Yes, I know there are several topics about, but no one referred to my case. While colormap seems works only with plots, how can I draw a multicolor curve with smooth gradient? This is my attempt:
\...
4
votes
2
answers
552
views
Hatch with Shading
I would like to have a rectangle that has some hatch. Furthermore, the hatch should have some shading. But, I am only able to get a transition of the colors in the background. Does anyone know how to ...
2
votes
0
answers
629
views
Tcolorbox gradient gray color
We used tcolorbox with gradient shade with single color that is gray to white percentages, we checked the output in PDF the color showing CMYK mixed color, is my TeX coding correct?
\documentclass{...
2
votes
2
answers
5k
views
Gradient notation spacing
I'd like to notate 'gradient of L with respect to a_f' which I can do with \nabla_{\mathbf{a}_f} \mathcal{L} and it looks like this:
Look at all that space between the nabla and the L! Is there a way ...
0
votes
1
answer
2k
views
LaTeX Horizontal Bar Chart, Gradient Color for Bars
I want to create a chart for ranking like this:
The top row shows the ranking (Poor - Excellent), and the left column shows the parameters. Now I want the bars to look like the figure, coloring with ...
3
votes
1
answer
770
views
Beamer Block gradient (bmg@transition) and cmyk colors
This question is related to remove Beamer block transition between title and body and How to disable color gradient between block title and block body in Beamer? but is not a duplicate of these ...
7
votes
1
answer
26k
views
Gradient symbols and letter f mtpro2
So I notice that the spacing between \nabla and f
in math mode when using mtpro2 is really wide (for me, at least). Here is the result of typing \nabla f with mtpro2.
I wonder if there is a way we ...
3
votes
1
answer
307
views
control black color only in gradient by using tikz
My code follows:
\documentclass[]{book}
\usepackage[]{tikz}
\usetikzlibrary{positioning}
\input colordvi
\input cmyk-hax
\makeatletter
\definecolor{testcolor}{cmyk}{0,0,0,0.1}
\pgfutil@colorlet{tikz@...
3
votes
1
answer
475
views
Add sidebar to single frame for aesthetic reasons (title frame)
This is my first post so excuse me if I'm not complying to all the rules.
I'm trying to make a LaTex presentation template for my company using beamer. I have almost everything I want except for the ...
6
votes
2
answers
626
views
Color gradient following a function
I need a color gradient to follow a sum function in both the vertical and horizontal direction. In the figure only the horizontal sum function (the bottom line in the figure) is shown. What I need is ...
5
votes
1
answer
666
views
TikZ: How can I remove the undesired border of a polygon with color gradient?
folks!
I want to draw a polygon with TikZ that has a color gradient from white to gray. Unfortunately, the polygon has a small gray border and I don't know why and how to remove it. This is my MWE:
\...
2
votes
2
answers
638
views
Gradient fill a rotated rectangle
I have a figure with various lines which needs to have a gradient on a side as in the image below:
The direction of the gradient should be perpendicular to the red thick line starting with dark green ...
3
votes
2
answers
1k
views
vertical color gradient over text
I try to get a linear gradient from top to bottom (i.e. black to white) which affects all lines across one or more paragraphs.
The MWE I composed:
\documentclass{article}
\usepackage{lipsum}
\...