Transparency
BaKoMa TeX beginning from version 10.01 supports transparency.From end-user side it looks such that
- 'opacity' key works in PSTricks package.
- 'opacity' also works in TIKZ/PGF package.
- PDF files that use transparency now imported more correct.
- EPS files define transparency by distiller compatible way (using '[ ... /SetTransparency pdfmark').
PSTricks example

\begin{pspicture}(5,5) \psset{fillstyle=solid} \psframe[fillcolor=red](0,1)(3,4) \psframe[fillcolor=blue,opacity=0.7](2,2)(5,5) \psframe[fillcolor=green,opacity=0.7](1,0)(4,3) \pscircle[fillcolor=cyan,opacity=0.5](1.5,3.5){1.25} \rput(2.5,2.5){\psframebox[fillcolor=magenta,opacity=0.3]{% \bf\Huge\yellow Transparency}} \end{pspicture}
Downloads: | Source | pst-ex.tex | Result | pst-ex.pdf | Result | pst-ex.svg |
IMPORTANT: Do not forget load pstricks with option 'distiller' if you want to get transparency in generated PDF files.
\usepackage[distiller]{pstricks}
TIKZ/PGF example

\begin{tikzpicture} \begin{scope}[fill opacity=0.5] \fill[red] (0,0) circle (1.5cm); \fill[green] (45:2cm) circle (1.5cm); \fill[blue] (0:2cm) circle (1.5cm); \draw (0,0) circle (1.5cm) node[below] {$A$}; \draw (45:2cm) circle (1.5cm) node [above] {$B$}; \draw (0:2cm) circle (1.5cm) node [below] {$C$}; \end{scope} \end{tikzpicture}
Downloads: | Source | pgf-ex.tex | Result | pgf-ex.pdf | Result | pgf-ex.svg |
IMPORTANT: Do not forget load pstricks with option 'distiller' if you want to get transparency in generated PDF files.
\usepackage[distiller]{pstricks}
Screenshots
![]() |
Linux users can see transparency in the display. |
![]() |
Mac users can see transparency in the display. |
BaKoMa TeX > About > Graphics > Transparency | Copyright © 1998-2018, BaKoMa Soft. |