| 1 |
%% |
| 2 |
%% This is file `tikzlibraryoverlay-beamer-styles.code.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% aobs-tikz.dtx (with options: `tikzlibrary') |
| 8 |
%% * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
| 9 |
%% aobs-tikz - TikZ auxiliary styles for Beamer overlays |
| 10 |
%% |
| 11 |
%% E-mail: claudio dot fiandrino at gmail dot com |
| 12 |
%% |
| 13 |
%% Released under the LaTeX Project Public License v1.3c or later |
| 14 |
%% See http://www.latex-project.org/lppl.txt |
| 15 |
%% * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
| 16 |
%% |
| 17 |
%% The package defines auxiliary TikZ styles useful for |
| 18 |
%% overlaying pictures' elements in Beamer. |
| 19 |
%% |
| 20 |
%% The TikZ styles are grouped in a library, overlay-beamer-styles |
| 21 |
%% which is automatically called by the aobs-tikz package. Users |
| 22 |
%% can either load only aobs-tikz or the library; the latter method |
| 23 |
%% necessitates TikZ manual load. |
| 24 |
\tikzset{ |
| 25 |
invisible/.style={opacity=0,text opacity=0}, |
| 26 |
visible on/.style={alt=#1{}{invisible}}, |
| 27 |
alt/.code args={<#1>#2#3}{% |
| 28 |
\alt<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}} |
| 29 |
}, |
| 30 |
} |
| 31 |
|
| 32 |
\tikzset{ |
| 33 |
background text/.style={text=#1}, |
| 34 |
background text/.default={black}, |
| 35 |
background default text/.style={ |
| 36 |
background text/.default={#1}, |
| 37 |
}, |
| 38 |
text on/.style={alt=#1{}{background text}}, |
| 39 |
} |
| 40 |
|
| 41 |
\tikzset{ |
| 42 |
background fill/.style={fill=#1}, |
| 43 |
background fill/.default={white}, |
| 44 |
background default fill/.style={ |
| 45 |
background fill/.default={#1}, |
| 46 |
}, |
| 47 |
fill on/.style={alt=#1{}{background fill}}, |
| 48 |
} |
| 49 |
|
| 50 |
\tikzset{ |
| 51 |
background draw/.style={draw=#1}, |
| 52 |
background draw/.default={white}, |
| 53 |
background default draw/.style={ |
| 54 |
background draw/.default={#1}, |
| 55 |
}, |
| 56 |
draw on/.style={alt=#1{}{background draw}} |
| 57 |
} |
| 58 |
|
| 59 |
\tikzset{ |
| 60 |
background filldraw/.style args={#1 filled by #2}{draw=#1, fill=#2}, |
| 61 |
background filldraw/.default=white filled by white, |
| 62 |
background default filldraw/.style={ |
| 63 |
background filldraw/.default={#1}, |
| 64 |
}, |
| 65 |
filldraw on/.style={alt=#1{}{background filldraw}}, |
| 66 |
} |
| 67 |
|
| 68 |
\tikzset{ |
| 69 |
background aspect/.style={#1}, |
| 70 |
background aspect/.default={white}, |
| 71 |
background default aspect/.style={ |
| 72 |
background aspect/.default={#1}, |
| 73 |
}, |
| 74 |
aspect on/.style={alt=#1{}{background aspect}}, |
| 75 |
} |
| 76 |
|
| 77 |
\tikzset{ |
| 78 |
background shade/.style={#1}, |
| 79 |
background shade/.default={top color=white, bottom color=white}, |
| 80 |
background default shade/.style={ |
| 81 |
background shade/.default={#1}, |
| 82 |
}, |
| 83 |
shade on/.style={alt=#1{}{background shade}}, |
| 84 |
} |
| 85 |
|
| 86 |
\tikzset{ |
| 87 |
background shadedraw/.style 2 args={draw=#1, #2}, |
| 88 |
background shadedraw/.default={white}{top color=white, bottom color=white}, |
| 89 |
background default shadedraw/.style={ |
| 90 |
background shadedraw/.default={#1}, |
| 91 |
}, |
| 92 |
shadedraw on/.style={alt=#1{}{background shadedraw}}, |
| 93 |
} |
| 94 |
\tikzoption{double disabled}[0pt]{% |
| 95 |
\pgfmathsetlength{\pgf@x}{#1}% |
| 96 |
\edef\tikz@double@setup{% |
| 97 |
\pgf@x=\the\pgf@x% |
| 98 |
\pgflinewidth=\pgf@x% |
| 99 |
\noexpand\pgfsetlinewidth{\pgflinewidth}% |
| 100 |
\noexpand\pgfsetinnerlinewidth{\the\pgf@x}% |
| 101 |
}% |
| 102 |
\tikzset{double}} |
| 103 |
%% |
| 104 |
%% Copyright (C) 2024 by Claudio Fiandrino <[email protected]> |
| 105 |
%% |
| 106 |
%% This file may be distributed and/or modified under the conditions |
| 107 |
%% of the LaTeX Project Public License, either version 1.3 of this |
| 108 |
%% license or (at your option) any later version. |
| 109 |
%% The latest version of this license is in: |
| 110 |
%% |
| 111 |
%% http://www.latex-project.org/lppl.txt |
| 112 |
%% |
| 113 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 114 |
%% version 2005/12/01 or later. |
| 115 |
%% |
| 116 |
%% This work is "maintained" (as per LPPL maintenance status) by |
| 117 |
%% Claudio Fiandrino. |
| 118 |
%% |
| 119 |
%% This work consists of the files aobs-tikz.dtx |
| 120 |
%% and the derived files aobs-tikz.ins |
| 121 |
%% aobs-tikz.sty |
| 122 |
%% tikzlibrarybeamer-overlay-styles.code.tex |
| 123 |
%% aobs-tikz.pdf |
| 124 |
%% example.tex |
| 125 |
%% example.pdf |
| 126 |
%% README.txt |
| 127 |
%% |
| 128 |
%% |
| 129 |
%% End of file `tikzlibraryoverlay-beamer-styles.code.tex'. |