New answers tagged

0

I've made a python3 script (available here & critical code copied below) that swaps the opacity with the alpha channel (first discussed here). While I'm not sure why, LaTeX doesn't apply the opacity style attribute to the element, but fill-opacity works as intended. The python script simply works through the XML and (for example) sets any occurrence ...


2

I still don't know why it's happening, but here's a workaround for the MCVE: Use asypictureB package instead of asymptote. (Correspondingly, change all asy environments to asypicture, both \begin and \end, and make sure to add the mandatory argument after \begin{asypicture}. Add the line settings.outformat="pdf"; to the beginning of your asypictures. ...


2

In general, one can define a radial shading and try drawing a rectangle on it. \documentclass[border=9,tikz]{standalone} \usetikzlibrary{shadings} \begin{document} \pgfdeclareradialshading{arc}{\pgfqpoint{0bp}{0bp}}{% color(0bp)=(white); color(12bp)=(white); color(13bp)=(blue); color(50bp)=(blue)} \tikz{ ...


1

This is not an answer, but I want to try to confirm what I think is the same bug, and this is far too long for a comment. I use the following code: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \fill[orange, opacity = 1] (0,0) rectangle (1,1); \fill[orange, opacity = .99] (2,0) rectangle (3,1); \end{tikzpicture} ...


5

From the beamer manual, section 17.6 (Transparency Effects), use \setbeamercovered to set the default cover behavior, and override it for old items with the again covered option. \documentclass{beamer} \setbeamercovered{invisible} \setbeamercovered{% again covered={\opaqueness<1->{15}}} \begin{document} \begin{frame} \begin{itemize}[<+>] \item ...


4

Something like this? I am afraid I don't have an elephant, so I've substituted a tiger. Or (EDIT) like this? \documentclass[margin=10pt,tikz,multi]{standalone} \usetikzlibrary{arrows.meta,positioning,trees,fadings} \pgfdeclareradialshading[radialcolour1,radialcolour2,radialcolour3]{myshading}{\pgfpointorigin}{% color(0)=(radialcolour1); ...


1

Instead of transparent you can also use TiKZ opacity. Following complete example shows how to use it supposing that every image will show a different opacity. \documentclass{beamer} %\usepackage{default} \usepackage{graphicx} \usetheme[hideothersubsections]{Goettingen} \definecolor{fondtitre}{rgb}{0.83,0.03,0.03} % dark red \setbeamertemplate{background ...



Top 50 recent answers are included