blob: 9c8e0ee942cde7d3b72bb42e7083b90436f54a29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
%%
%% This is file `transparent-ltx.sty',
%% a replacement for transparent sty from Heiko Oberdiek
%%
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\ProvidesExplPackage{transparent-ltx}{2022-05-11}{0.95o}
{Transparency with color stacks (replacement for transparent.sty from Heiko Oberdiek)}%
\RequirePackage{l3opacity}
\NewDocumentCommand{\transparent} { m }
{
\opacity_select:n{\fp_eval:n{ min(max(0,#1),1) } }
}
\NewDocumentCommand{\texttransparent}{m m}
{
\mode_leave_vertical:
\group_begin:
\transparent{#1}
#2
\group_end:
}
\endinput
|