As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [transparency]

{transparency} is about transparent material in (La)TeX documents

Filter by
Sorted by
Tagged with
0 votes
0 answers
47 views

half-opaque colors of TikZ differ in PS and PDF

Consider the file mwe.tex containing \documentclass{article} \usepackage[paperwidth=1cm,paperheight=1.5cm,margin=0cm]{geometry} \pagestyle{empty} \usepackage{tikz} \begin{document} \begin{tikzpicture} ...
AlMa0's user avatar
  • 189
2 votes
2 answers
48 views

How can I put an overlay tikz picture below and ordinary text?

The following code \documentclass{article} \usepackage{tikz} \usetikzlibrary{tikzmark} \begin{document} This is some text: \tikzmarknode{Foo}{foo}. And this is some text in between that the filling ...
Enlico's user avatar
  • 2,497
1 vote
0 answers
37 views

set transparent color for a pgfpicture

I have a simple document which inputs picture.tex file that includs data of a pgfpicture: \documentclass{article} \usepackage{pgfplots} \usepackage{xcolor} \pagecolor{black} % set the page colour to ...
hasanghaforian's user avatar
1 vote
1 answer
67 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
34 views

What is the difference between presentation and transparency modes in the beamer class?

Consulting the documentation of the beamer class, right at the beginning, still, in the introduction, there is the following paragraph: "beamer is a LATEX class for creating presentations that ...
lucenalex's user avatar
  • 297
0 votes
1 answer
37 views

Clip to the complement of a tikz node

I am attempting to make a tikz figure like the Tutorial: A Picture for Karl’s Students in the tikz manual, but one which can be shown (without modification) on different background colors (I'm ...
Jason Siefken's user avatar
5 votes
3 answers
193 views

Transparent clipping - make transparent center in tikz image

I have tried to replicate a logo using tikz. As you can see the logo consists of seven triangles in a circle, with concave edges toward the center of the circle. To do this I have drawn the triangles ...
The V's user avatar
  • 1,391
6 votes
1 answer
292 views

Changing opacity of included graphics without tikz

I can make a figure translucent using the tikz package \begin{tikzpicture} \node[opacity=0.5] at (0,0) {\includegraphics[width=0.4\textwidth]{myfigure.png}}; \end{tikzpicture} But, I want to ...
user182849's user avatar
0 votes
1 answer
32 views

How do I designate part of a code listing transparent and another part not?

Let's say I have a code segment as follows: function foo() { ... // Lots of code not shown here } Then, let's assume I add some changes that I'd like to highlight over the old code. function foo() ...
TheSinisterStone's user avatar
2 votes
1 answer
59 views

How to apply transparency on pattern in pgf

I've created a shape with pgf and i would like to add an option for transparency (to a part of my shape). I change the opacity with \pgfsetstrokeopacity and \pgfsetfillopacity. It works except that ...
westornd's user avatar
1 vote
0 answers
45 views

Variable opacity for tiles in surf plot

I would be intereste in doing something similar to this but for a heatmap (surf plot viewed from above or matrix plot). More precisely using the z value to set the opacity of the tiles. Alternatively, ...
Mammouth's user avatar
  • 323
0 votes
0 answers
29 views

Adjust transparency of background picture in latex

I am using the following code to insert a picture as background for my file. Here is my code: \begin{tikzpicture}[remember picture, overlay] \node[opacity=0.2,inner sep=0pt] at (current page....
TAO CHUAI's user avatar
0 votes
0 answers
29 views

How to make background images transparent in a leaflet

I really do not know what I am doing here, but I have been trying to learn and work with LaTex for a few years now. I do well with it on resumes. Anyways, I'm trying to build a leaflet for an upcoming ...
Stag Lahar's user avatar
5 votes
2 answers
84 views

Display weight without edge with Tikz

I would like to put a weight on an invisible edge in a graph. I tried to use opacity to make the edge disapear and let the weight, but obviously the weight is affected to. Do you have a solution ? ...
Korpi's user avatar
  • 51
5 votes
1 answer
128 views

Transparent tcolorbox so I can see my watermark

\documentclass{article} \usepackage[x11names,dvipsnames]{xcolor} \usepackage{tkz-euclide} \usepackage{pgf,tikz,pgfplots,tikz-3dplot} \usepackage{background} \backgroundsetup{ placement=center, ...
TheGreatJRB's user avatar
8 votes
5 answers
405 views

Crossing discontinuity with complex background

I'm using the technique from this TeX.SO answer to produce a circuit with a crossing (I'm using Beamer because in the next step I'll use that to set a background image) \documentclass{beamer} \...
Cactus's user avatar
  • 1,057
3 votes
2 answers
235 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
1 vote
1 answer
105 views

Pgfplots 3D patch plot: coloring the facet border before patch refine, without losing depth buffer

I think I might be stretching PGFPlots a little here, but I would like to give a solid color to the facet border of a patch plot. However, patch refines must be active, otherwise the colormap is not ...
Pietro Saccardi's user avatar
1 vote
1 answer
151 views

How to Produce a Transparent Image with Xelatex

I compile the following code with pdflatex (which works fine)--- \documentclass{article} \usepackage{xcolor,graphicx} \usepackage{transparent} \begin{document} \begin{figure} [!htb] \centering \...
jean-marie's user avatar
1 vote
0 answers
54 views

Document not rendered correctly in Acrobat

I'm creating a document with an image I want placed in the background. But, I want to partially cloud out the background image. My code works as desired. The problem is how it is rendered in ...
A.Ellett's user avatar
  • 49.9k
0 votes
0 answers
62 views

Rendering a PDF file, and/or converting PDF to PNG, with anti-aliasing and transparent background

I am trying to convert a LuaLaTeX-generated PDF file to a PNG file with anti-aliasing and a transparent background (white text on a black background). I have also posted a question here to see if ...
niran90's user avatar
  • 204
2 votes
1 answer
194 views

How can I control the transparency inside a pgfplot?

I am trying to plot a 3D scatter plot with a decision boundary and I'm trying to put the cyan plane above the blue points but they end up on top instead, I've tried modifying the opacity and ordering ...
Oussama Taoussi's user avatar
0 votes
1 answer
47 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,522
1 vote
1 answer
134 views

How to set text background transparency with leaflet?

I am trying to set a semi-transparent background for some text, so we can see the image behind it. To do so, I am using tcolorbox. However, it seems that I can not get it working with the leaflet ...
Philippe Massicotte's user avatar
2 votes
2 answers
229 views

\pgfsetfillopacity fails to work with mathematical fomula

I'd like to make some transparent effect with \pgfsetfillopacity(from tikz). It works all right with common text, but fails to work with mathematical fomulas, as the following fraction showes: number ...
lyl's user avatar
  • 2,667
0 votes
0 answers
78 views

Producing PDF/A compliant illustrations

I'm trying to produce a PDF/A-compliant thesis which containts several illustrations made with inkscape and exported to pdf. When I check the output with veraPDF, it keeps complaining that my images ...
fmiretti's user avatar
2 votes
2 answers
197 views

Setting opacity of nodes with drop shadow

How do I correctly set the opacity to semi-transparent (e.g., opacity=0.2) in a node with a drop shadow? It seems that with the "naive" approach the shadow shows up through the ...
Filippo Bistaffa's user avatar
0 votes
0 answers
68 views

Changing PDF blend mode (transparency) in LuaTeX node list

How can I set transparency/opacity in LuaTeX node list processing? In my case I'd like to set the blend mode for a rule/rectangle. I tried the following: % !TEX TS-program = lualatex \documentclass[...
keth-tex's user avatar
  • 442
0 votes
2 answers
115 views

Using a tikzpicture disables opacity for first \BgThisPage. How can I fix this?

In a book PDF, I am using various images as the background on several pages. On some of these background-image pages, I want the image to be semi-transparent; therefore I am using an opacity setting ...
RichWalt's user avatar
  • 171
1 vote
1 answer
142 views

How can I make the part of the past cone transparent, so that the picture looks 3d?

I recently started with tikz and I am absolutely clueless how I can make the labeled part transparent! I hope someone can help me. Thanks in advance \usepackage{tikz,tikz-3dplot} \tdplotsetmaincoords{...
Nick's user avatar
  • 15
1 vote
1 answer
59 views

Make an \item (or block) permanently transparent on all frames/subframes [closed]

I believe this question has been asked two other times, but there have not been any satisfying answers. Permanent Transparent Block in a Frame in Beamer Permanent transparent block I think previous ...
Kvo's user avatar
  • 19
1 vote
1 answer
464 views

Transparent color in beamercolorbox

I am using a template style for my beamer presentation. It has the nice feature of two color bars at the top and bottom. I would really like to make these bars somewhat transparent. I tried to change ...
Papayapap's user avatar
  • 365
2 votes
1 answer
227 views

How can I make a standalone image with a transparent background?

When I try to make a PNG image using TikZ by using the convert option for the standalone class, I cannot figure out how to make the background transparent. I seem to recall some years ago that this ...
duckmayr's user avatar
  • 163
0 votes
0 answers
155 views

Does PDF version 2.0 support image transparency with Lualatex?

I tried to insert an image (from here) with transparency like the one below in a PDF version 2.0. The problem is that the transparency of the image in question is not well managed. Without explicitly ...
B Legrand's user avatar
  • 435
1 vote
1 answer
275 views

How to add transparent gray rectangle borders to a plot?

I saw a plotting style that I really like and I am trying to recreate it. I am having troubles getting that crisp style and am having problems with the semi-transparent gray borders. I tried to ...
Speterius's user avatar
0 votes
0 answers
46 views

Color and Transparency of a Figure in Adobe Acrobat

I usually use TeXShop in Mac to make a document, and I had a problem with figures: The color and fonts are weird when I open the PDF file with Adobe Acrobat. I found a lot of questions and answers ...
D.L's user avatar
  • 155
4 votes
1 answer
193 views

How to clip text from a drawn rectangle in Tikz?

Rather than defining a specific color for some text in a drawn box, I want the text to be clipped from the box so that the paper color is visible. Here's the MWE: \documentclass{article} \pagestyle{...
Hansel's user avatar
  • 397
9 votes
1 answer
534 views

TikZ, transparency and PDF/A

So I am trying to validate my document as PDF/A, and I'm almost there. The last remaining problem concerns graphics generated by TikZ. Consider this MWE: % !TeX program = lualatex \documentclass{...
Ingmar's user avatar
  • 6,112
2 votes
0 answers
246 views

How to set the background color to transparent in Asymptote (in a LaTeX file)?

I'm trying to draw an Asymptote image in a LaTeX file. I want the background of the image to be transparent (to see the page color). How do I do? I use pdflatex. In the MWE I draw a sphere and the ...
sipaq11's user avatar
  • 101
2 votes
0 answers
156 views

define colors for colormap with opacity

Is there a way to define colors using \definecolor for pdflatex with transparency similar to this approach?
Excelsior's user avatar
  • 2,282
2 votes
1 answer
139 views

How to create punch holes with TikZ?

I use a tcolorbox as background for my pictures. The final color is not decided yet. Currently it's green!5!white. One of the pictures shall show a type of pattern like punch holes in a piece of paper....
Harald Lichtenstein's user avatar
5 votes
2 answers
424 views

Opacity does not work on first page

Look at this example: %! TEX program = xelatex \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \usepackage{blindtext} \begin{document} \AddToHook{shipout/background} {% \begin{...
Jinwen's user avatar
  • 7,462
1 vote
0 answers
559 views

Problem with Transparency in beamer appears black

All was working perfect, I just Check for update and applied it from the MikTex Console and now when I work with beamer and use PS to PDF I get: %%%% WARNING: Transparency operations ignored - need to ...
Marisol García's user avatar
6 votes
1 answer
404 views

TikZ transparency group breaks with overlay

I was trying to implement this solution to draw a transparent arrow using a scope with transparency group. It works fine. Unfortunately my picture needs to be overlayed on some text. When adding the ...
Christoph Frings's user avatar
3 votes
0 answers
168 views

TikZ: Contents of scope not visible in tikzpicture when using option overlay

I'm trying to draw an arrow with opacity=.35, but the shapes are overlapping, which makes the opacity stack. I tried the solution of How can I draw a semi-transparent arrow in TikZ without internal ...
d8xa's user avatar
  • 88
2 votes
2 answers
431 views

pgfplot - How to stop contour lines from crossing contour labels?

I've been looking into the package manual (https://tools.ietf.org/doc/texlive-doc/latex/pgfplots/pgfplots.pdf) but couldn't find a proper solution. I have a surf plot on top of which I place an ...
J. Doe's user avatar
  • 65
0 votes
1 answer
243 views

Set transparency for named color directly (Context)

I know that I can define a new transparent color with RGB values, such as: \definecolor[transparentturquoise][r=.567,g=.800,b=.808,t=.5,a=1] %darkturquoise That's ok but it's somewhat inconvenient to ...
user avatar
2 votes
3 answers
625 views

Invisible text even when selected (in Evince)

When you process an image with an OCR tool like tesseract, you will get a PDF file with that image and the text invisible on top. You can't see the text, but you can select, search and copy it. When ...
Invitor's user avatar
  • 41
7 votes
2 answers
634 views

LuaTeX/PdfTeX: Incorrect transparency for fonts with overlapping glyphs -- achieve effect similar to Adobe InDesign/Tikz in text mode

Update-1: This issue affects all fonts that assume glyph overlap. The 3 broad categories affected are: 1) All fonts for non-Latin scripts that inherently require glyph overlap, 2) Handwriting (cursive)...
codepoet's user avatar
  • 1,276
2 votes
1 answer
476 views

Problem with opacity in pstricks with TeXLive 2019

I'm using TeX Live 2019 (in Overleaf) and I have the following code: \documentclass[pstricks,border=2mm]{standalone} \begin{pspicture}(-2.5,-0.5)(2.5,4.5) \pspolygon[fillstyle=solid,fillcolor=...
MateAndres's user avatar

1
2 3 4 5
7