<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  7. Auflage
%% 
%%  Beispiel 35-00-46 auf Seite 837.
%% 
%%  Copyright (C) 2016 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
%% 
\documentclass[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{352.81416pt}
\setlength\parindent{0pt}
%StartShownPreambleCommands
%
\usepackage{bigdelim}
\usepackage{multirow}
\usepackage{colortbl}
\usepackage{array}
\usepackage{pst-node}
\definecolor{gray}{rgb}{0.9,0.9,0.9}
\def\empty{\multicolumn{1}{|c|}{}}
\def\colCell#1#2{\multicolumn{1}{|&gt;{\columncolor{#1}}c|}{#2}}
\def\nodeCell#1{\multicolumn{1}{|c|}{\pnode{#1}{}}}

%StopShownPreambleCommands
\begin{document}
\def\arraystretch{1.1}
\begin{tabular}{ccl}
\textbf{Segment} &amp; \textbf{Usage} &amp; \\
\textbf{number}  &amp;                &amp; \\\cline{2-2}
0x0  &amp; \colCell{gray}{Kernel text and data} &amp; \\\cline{2-2}
0x1  &amp; \colCell{gray}{User text}            &amp; \\\cline{2-2}
0x2  &amp; \colCell{red}{User stack, data}      &amp; \\\cline{2-2}
0x3  &amp; \nodeCell{A}
     &amp; \rdelim\}{10}{1.5cm}[\parbox{6.5cm}{{\color{blue}Available for the user process}\\
    	    \hspace*{0.25cm}\pnode{A2}if \texttt{shmat()}or \texttt{mmap()} is called}]\\\cline{2-2}
0x4  &amp; \empty &amp; \\\cline{2-2}
0x5  &amp; \empty &amp;  \\\cline{2-2}
0x6  &amp; \empty &amp; \\\cline{2-2}
0x7  &amp; \empty &amp; \\\cline{2-2}
0x8  &amp; \empty &amp; \\\cline{2-2}
0x9  &amp; \empty &amp; \\\cline{2-2}
0xA  &amp; \empty &amp; \\\cline{2-2}
0xB  &amp; \empty &amp; \\\cline{2-2}
0xC  &amp; \nodeCell{B}                         &amp; \\\cline{2-2}
0xD  &amp; \colCell{gray}{Shared library text}  &amp; \\\cline{2-2}
0xE  &amp; \empty &amp; \pnode{B2}\\\cline{2-2}
0xF  &amp; \colCell{gray}{\footnotesize Per-process shared library data} &amp; \\\cline{2-2}
\end{tabular}
\ncline[arrows=-&gt;,linewidth=2pt,linecolor=blue,doubleline=true]{A}{B}
\ncdiag[arrows=-&gt;,linewidth=1.25pt,linearc=0.2,
    angleA=180,angleB=0,armA=0.2cm,nodesepB=-0.25cm,armB=0.625cm]{A2}{B2}
\end{document}
</pre></body></html>