Menu

#173 Tikz's transparency, xelatex and preview package

v1.0 (example)
closed-fixed
nobody
None
5
2013-07-24
2011-06-19
Anonymous
No

There is some problem when using tikz's transparency features with package "preview" and compilation with XeLaTeX
Everything is printed opaque. When compiling with pdflatex there are no problems

I am not sure if it is tikz related problem, but I thought I should mention it anyway.

More info : http://tex.stackexchange.com/questions/21011/transparency-in-tikz-preview-package-and-xelatex/21142#21142

MWE\documentclass[a4paper,12pt]{article}

\usepackage{tikz}

\usepackage[xetex,active,tightpage]{preview}
%\usepackage[pdftex,active,tightpage]{preview}

\PreviewEnvironment[]{tikzpicture}

\begin{document}

\begin{tikzpicture}[line width=1ex]
\draw (0,0) -- (3,1);
\filldraw [fill=red,draw opacity=0.5] (1,0) rectangle (2,1);
\end{tikzpicture}

\end{document}

Discussion

  • Till Tantau

    Till Tantau - 2013-07-24

    Fixed in CVS via a special exception rule for when the preview package is loaded.

     
  • Till Tantau

    Till Tantau - 2013-07-24
    • Group: --> v1.0 (example)
     
  • Till Tantau

    Till Tantau - 2013-07-24
    • status: open --> closed-fixed
     
MongoDB Logo MongoDB