1 \definecolor {headerblue} {rgb}{.75,.75,.9}
2 \definecolor {cutuyellow} {rgb}{1,1,.75}
3 \definecolor {bucketsblue} {rgb}{.75,.875,1}
4 \definecolor {hashesgreen} {rgb}{.8,1,.8}
5 \definecolor {stroffsetspink} {rgb}{1,.8,.75}
6 \definecolor {entryoffsetspink} {rgb}{1,.75,.8}
7 \definecolor {indexentriesorange} {rgb}{1,.6,.6}
9 % Define a "broken rectangle" shape to represent an ellipsis
10 % in the drawing. The rectangle will have broken side borders
11 % with hash marks to indicate that portions have been omitted.
12 % FIXME: For more general use, the size and colors of the hash
13 % marks should be parameterized with pgf keys.
15 \pgfdeclareshape{broken rectangle}{
16 \inheritsavedanchors[from=rectangle]
17 \inheritanchorborder[from=rectangle]
18 \inheritanchor[from=rectangle]{center}
19 \inheritanchor[from=rectangle]{north}
20 \inheritanchor[from=rectangle]{south}
21 \inheritanchor[from=rectangle]{west}
22 \inheritanchor[from=rectangle]{east}
23 \inheritanchor[from=rectangle]{north west}
24 \inheritanchor[from=rectangle]{north east}
25 \inheritanchor[from=rectangle]{south west}
26 \inheritanchor[from=rectangle]{south east}
27 \inheritbackgroundpath[from=rectangle]
28 \beforebackgroundpath{
30 % Draw the two oblique rectangles and fill with white.
31 \pgfpathmoveto{\pgf@process{\pgfpointadd{\pgfpointlineattime{.4}{\southwest}{\southwest\pgf@xa=\pgf@x\northeast\pgf@x=\pgf@xa}}{\pgfpointpolar{10}{-3pt}}}}
32 \pgfpathlineto{\pgf@process{\pgfpointadd{\pgfpointlineattime{.4}{\southwest}{\southwest\pgf@xa=\pgf@x\northeast\pgf@x=\pgf@xa}}{\pgfpointpolar{10}{3pt}}}}
33 \pgfpathlineto{\pgf@process{\pgfpointadd{\pgfpointlineattime{.6}{\southwest}{\southwest\pgf@xa=\pgf@x\northeast\pgf@x=\pgf@xa}}{\pgfpointpolar{10}{3pt}}}}
34 \pgfpathlineto{\pgf@process{\pgfpointadd{\pgfpointlineattime{.6}{\southwest}{\southwest\pgf@xa=\pgf@x\northeast\pgf@x=\pgf@xa}}{\pgfpointpolar{10}{-3pt}}}}
36 \pgfpathmoveto{\pgf@process{\pgfpointadd{\pgfpointlineattime{.4}{\northeast\pgf@xa=\pgf@x\southwest\pgf@x=\pgf@xa}{\northeast}}{\pgfpointpolar{10}{-3pt}}}}
37 \pgfpathlineto{\pgf@process{\pgfpointadd{\pgfpointlineattime{.4}{\northeast\pgf@xa=\pgf@x\southwest\pgf@x=\pgf@xa}{\northeast}}{\pgfpointpolar{10}{3pt}}}}
38 \pgfpathlineto{\pgf@process{\pgfpointadd{\pgfpointlineattime{.6}{\northeast\pgf@xa=\pgf@x\southwest\pgf@x=\pgf@xa}{\northeast}}{\pgfpointpolar{10}{3pt}}}}
39 \pgfpathlineto{\pgf@process{\pgfpointadd{\pgfpointlineattime{.6}{\northeast\pgf@xa=\pgf@x\southwest\pgf@x=\pgf@xa}{\northeast}}{\pgfpointpolar{10}{-3pt}}}}
41 \pgfsetfillcolor{white}
43 % Now redraw the paths and stroke just the top and bottom edges of each rectangle.
44 \pgfpathmoveto{\pgf@process{\pgfpointadd{\pgfpointlineattime{.4}{\southwest}{\southwest\pgf@xa=\pgf@x\northeast\pgf@x=\pgf@xa}}{\pgfpointpolar{10}{-3pt}}}}
45 \pgfpathlineto{\pgf@process{\pgfpointadd{\pgfpointlineattime{.4}{\southwest}{\southwest\pgf@xa=\pgf@x\northeast\pgf@x=\pgf@xa}}{\pgfpointpolar{10}{3pt}}}}
46 \pgfpathmoveto{\pgf@process{\pgfpointadd{\pgfpointlineattime{.6}{\southwest}{\southwest\pgf@xa=\pgf@x\northeast\pgf@x=\pgf@xa}}{\pgfpointpolar{10}{-3pt}}}}
47 \pgfpathlineto{\pgf@process{\pgfpointadd{\pgfpointlineattime{.6}{\southwest}{\southwest\pgf@xa=\pgf@x\northeast\pgf@x=\pgf@xa}}{\pgfpointpolar{10}{3pt}}}}
48 \pgfpathmoveto{\pgf@process{\pgfpointadd{\pgfpointlineattime{.4}{\northeast\pgf@xa=\pgf@x\southwest\pgf@x=\pgf@xa}{\northeast}}{\pgfpointpolar{10}{-3pt}}}}
49 \pgfpathlineto{\pgf@process{\pgfpointadd{\pgfpointlineattime{.4}{\northeast\pgf@xa=\pgf@x\southwest\pgf@x=\pgf@xa}{\northeast}}{\pgfpointpolar{10}{3pt}}}}
50 \pgfpathmoveto{\pgf@process{\pgfpointadd{\pgfpointlineattime{.6}{\northeast\pgf@xa=\pgf@x\southwest\pgf@x=\pgf@xa}{\northeast}}{\pgfpointpolar{10}{-3pt}}}}
51 \pgfpathlineto{\pgf@process{\pgfpointadd{\pgfpointlineattime{.6}{\northeast\pgf@xa=\pgf@x\southwest\pgf@x=\pgf@xa}{\northeast}}{\pgfpointpolar{10}{3pt}}}}
52 \pgfsetlinewidth{0.5pt}
53 \pgfsetstrokecolor{black}