Open vitaminace33 opened 3 years ago
Well it isn't. At the time transparent was written xetex didn't support colorstacks.
With a current tex system and LaTeX you can use the new pdfmanagement. It replaces the transparent package by a version which makes use of the new code and activates opacity:
\RequirePackage{pdfmanagement-testphase}
\DeclareDocumentMetadata{}
\documentclass{book}
\usepackage{transparent,lipsum}
\begin{document}
\lipsum[1-3]
\transparent{0.5}
\lipsum[1-3]
\end{document}
Be aware that the pdfmanagement is in the testphase. Read the documentation about possible incompabilities.
Thx for the answer. I will stick with TikZ for the moment being.
\tikz\node[opacity=0.5]{content};
For material that can be boxed that is fine, the main purpose of transparent is to allow line and page breaks in the text.
OK, good to know. Thx again.
Well it isn't. At the time transparent was written xetex didn't support colorstacks.
With a current tex system and LaTeX you can use the new pdfmanagement. It replaces the transparent package by a version which makes use of the new code and activates opacity:
\RequirePackage{pdfmanagement-testphase} \DeclareDocumentMetadata{} \documentclass{book} \usepackage{transparent,lipsum} \begin{document} \lipsum[1-3] \transparent{0.5} \lipsum[1-3] \end{document}
Be aware that the pdfmanagement is in the testphase. Read the documentation about possible incompabilities.
I can compile it with this, but the image is not transparent.
I use XeLaTeX and the beamer class.
\logo{{\transparent{0.3}\includesvg[width=0.1\textwidth]{../img/Seal_of_the_University_of_Bologna.svg}}}
@raffaem
This bug report here is not about svg files. Please use a support site like tex.sx for general questions (and add there a small but complete example and a link to the svg so that people can actually test if they can reproduce your problem).
Shouldn't it be compatible with XeTeX?