summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/sectionbox
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/sectionbox
Initial commit
Diffstat (limited to 'macros/latex/contrib/sectionbox')
-rw-r--r--macros/latex/contrib/sectionbox/README14
-rw-r--r--macros/latex/contrib/sectionbox/example/000074Bpatspec.pngbin0 -> 975 bytes
-rw-r--r--macros/latex/contrib/sectionbox/example/000074Bzones.jpgbin0 -> 55677 bytes
-rw-r--r--macros/latex/contrib/sectionbox/example/000175Bpatspec.pngbin0 -> 915 bytes
-rw-r--r--macros/latex/contrib/sectionbox/example/000175Bzones.jpgbin0 -> 50545 bytes
-rw-r--r--macros/latex/contrib/sectionbox/example/002000AApatspec.pngbin0 -> 719 bytes
-rw-r--r--macros/latex/contrib/sectionbox/example/002000AAzones.jpgbin0 -> 19830 bytes
-rw-r--r--macros/latex/contrib/sectionbox/example/lambda2.jpgbin0 -> 23904 bytes
-rw-r--r--macros/latex/contrib/sectionbox/example/lenna10connect.jpgbin0 -> 30495 bytes
-rw-r--r--macros/latex/contrib/sectionbox/example/lenna10pct.jpgbin0 -> 98052 bytes
-rw-r--r--macros/latex/contrib/sectionbox/example/lenna10smooth.jpgbin0 -> 43891 bytes
-rw-r--r--macros/latex/contrib/sectionbox/example/orig.jpgbin0 -> 19552 bytes
-rw-r--r--macros/latex/contrib/sectionbox/example/sectionboxexample.bib58
-rw-r--r--macros/latex/contrib/sectionbox/example/sectionboxexample.tex192
-rw-r--r--macros/latex/contrib/sectionbox/sectionbox.sty171
-rw-r--r--macros/latex/contrib/sectionbox/sectionboxmanual.pdfbin0 -> 21212 bytes
16 files changed, 435 insertions, 0 deletions
diff --git a/macros/latex/contrib/sectionbox/README b/macros/latex/contrib/sectionbox/README
new file mode 100644
index 0000000000..9ad1bbd086
--- /dev/null
+++ b/macros/latex/contrib/sectionbox/README
@@ -0,0 +1,14 @@
+
+This collection of files contains a LaTeX package for sections
+surrounded by fancy boxes, primarily intended for use within posters
+(e.g. made with sciposter.cls). A (pdf) manual is included as well.
+
+NOTE that this version does work for LaTeX, not just pdfLaTeX.
+However, due to the use of colour boxes xdvi produces strange results,
+though a recent version of dvips does create good ps-files from the
+dvi files.
+
+An example can be found in the example directory.
+
+(c) 2005 RuG
+ Michael Wilkinson
diff --git a/macros/latex/contrib/sectionbox/example/000074Bpatspec.png b/macros/latex/contrib/sectionbox/example/000074Bpatspec.png
new file mode 100644
index 0000000000..39bd65e85d
--- /dev/null
+++ b/macros/latex/contrib/sectionbox/example/000074Bpatspec.png
Binary files differ
diff --git a/macros/latex/contrib/sectionbox/example/000074Bzones.jpg b/macros/latex/contrib/sectionbox/example/000074Bzones.jpg
new file mode 100644
index 0000000000..2916a7aca2
--- /dev/null
+++ b/macros/latex/contrib/sectionbox/example/000074Bzones.jpg
Binary files differ
diff --git a/macros/latex/contrib/sectionbox/example/000175Bpatspec.png b/macros/latex/contrib/sectionbox/example/000175Bpatspec.png
new file mode 100644
index 0000000000..00bc397a57
--- /dev/null
+++ b/macros/latex/contrib/sectionbox/example/000175Bpatspec.png
Binary files differ
diff --git a/macros/latex/contrib/sectionbox/example/000175Bzones.jpg b/macros/latex/contrib/sectionbox/example/000175Bzones.jpg
new file mode 100644
index 0000000000..fa5690a00b
--- /dev/null
+++ b/macros/latex/contrib/sectionbox/example/000175Bzones.jpg
Binary files differ
diff --git a/macros/latex/contrib/sectionbox/example/002000AApatspec.png b/macros/latex/contrib/sectionbox/example/002000AApatspec.png
new file mode 100644
index 0000000000..99882fa05d
--- /dev/null
+++ b/macros/latex/contrib/sectionbox/example/002000AApatspec.png
Binary files differ
diff --git a/macros/latex/contrib/sectionbox/example/002000AAzones.jpg b/macros/latex/contrib/sectionbox/example/002000AAzones.jpg
new file mode 100644
index 0000000000..cc4f58efc8
--- /dev/null
+++ b/macros/latex/contrib/sectionbox/example/002000AAzones.jpg
Binary files differ
diff --git a/macros/latex/contrib/sectionbox/example/lambda2.jpg b/macros/latex/contrib/sectionbox/example/lambda2.jpg
new file mode 100644
index 0000000000..dbea564c6c
--- /dev/null
+++ b/macros/latex/contrib/sectionbox/example/lambda2.jpg
Binary files differ
diff --git a/macros/latex/contrib/sectionbox/example/lenna10connect.jpg b/macros/latex/contrib/sectionbox/example/lenna10connect.jpg
new file mode 100644
index 0000000000..5d6947bcb5
--- /dev/null
+++ b/macros/latex/contrib/sectionbox/example/lenna10connect.jpg
Binary files differ
diff --git a/macros/latex/contrib/sectionbox/example/lenna10pct.jpg b/macros/latex/contrib/sectionbox/example/lenna10pct.jpg
new file mode 100644
index 0000000000..d07e81e586
--- /dev/null
+++ b/macros/latex/contrib/sectionbox/example/lenna10pct.jpg
Binary files differ
diff --git a/macros/latex/contrib/sectionbox/example/lenna10smooth.jpg b/macros/latex/contrib/sectionbox/example/lenna10smooth.jpg
new file mode 100644
index 0000000000..5002a5e0b2
--- /dev/null
+++ b/macros/latex/contrib/sectionbox/example/lenna10smooth.jpg
Binary files differ
diff --git a/macros/latex/contrib/sectionbox/example/orig.jpg b/macros/latex/contrib/sectionbox/example/orig.jpg
new file mode 100644
index 0000000000..952fb6a5a2
--- /dev/null
+++ b/macros/latex/contrib/sectionbox/example/orig.jpg
Binary files differ
diff --git a/macros/latex/contrib/sectionbox/example/sectionboxexample.bib b/macros/latex/contrib/sectionbox/example/sectionboxexample.bib
new file mode 100644
index 0000000000..8d45364c35
--- /dev/null
+++ b/macros/latex/contrib/sectionbox/example/sectionboxexample.bib
@@ -0,0 +1,58 @@
+
+@String{ismm2005 ={Mathematical Morphology: 40 Years On, Proc. Int. Symp. Math. Morphology (ISMM) 2005}}
+@String{tpami = {IEEE Trans. Pattern Anal. Mach. Intell.}}
+@String{icip2005 = {Proc. Int. Conf. Image Proc. 2005}}
+
+@InProceedings{ouzounis05:_count_overs_partit_based_connec,
+ author = {G. K. Ouzounis and M. H. F. Wilkinson},
+ title = {Countering Oversegmentation in Partitioning-Based Connectivities},
+ booktitle = icip2005,
+ year = 2005,
+ address = {Genova, Italy},
+ month = {September 11--14},
+ note = {in press}
+}
+
+
+@InProceedings{ouzounis05:_secon_order_connec_attrib_filter,
+ author = {G. K. Ouzounis and M. H. F. Wilkinson},
+ title = {Second-Order Connected Attribute Filters Using {M}ax-Trees},
+ booktitle = ismm2005,
+ year = 2005,
+ pages = {65--74},
+ month = {18-20 April},
+ address = {Paris}
+}
+
+
+@InProceedings{urbach05:_vector_attrib_filter,
+ author = {E. R. Urbach and N. J. Boersma and M. H. F. Wilkinson},
+ title = {Vector-Attribute Filters},
+ booktitle = ismm2005,
+ pages = {95--104},
+ year = 2005,
+ month = {18-20 April},
+ address = {Paris},
+}
+
+@Article{Meijster:Wilkinson:PAMI,
+ author = {A. Meijster and M. H. F. Wilkinson},
+ title = {A comparison of algorithms for connected set openings and closings},
+ journal = tpami,
+ year = 2002,
+ volume = 24,
+ number = 4,
+ pages = {484-494}
+}
+
+@InProceedings{wilkinson01:_shape_preser_filam_enhan_filter,
+ author = {M. H. F. Wilkinson and M. A. Westenberg},
+ editor = {W. J. Niessen and M. A. Viergever},
+ title = {Shape Preserving Filament Enhancement Filtering},
+ booktitle = {Proc. MICCAI'2001},
+ series = {Lecture Notes in Computer Science},
+ volume = 2208,
+ year = 2001,
+ pages = {770-777}
+}
+
diff --git a/macros/latex/contrib/sectionbox/example/sectionboxexample.tex b/macros/latex/contrib/sectionbox/example/sectionboxexample.tex
new file mode 100644
index 0000000000..4e38193fcd
--- /dev/null
+++ b/macros/latex/contrib/sectionbox/example/sectionboxexample.tex
@@ -0,0 +1,192 @@
+\documentclass[b1,largefonts,plainsections]{sciposter}
+% plainsections option works best in poster when using sectionboxes
+% b1 paper required for this conference
+% largefonts can be replaced by '30pt' if sciposter 1.14 or later is used
+
+\usepackage{amsmath}
+\usepackage{amssymb}
+\usepackage{sectionbox}
+\usepackage{multicol}
+\usepackage{verbatim}
+
+\newtheorem{Def}{Definition}
+
+
+\definecolor{SectionCol}{rgb}{0,0,0.5}
+% uncommented for dark blue \section text
+
+\definecolor{sectboxrulecol}{rgb}{0,0,0.5}
+\definecolor{sectboxfillcol}{rgb}{0.95,0.95,1}
+% defines sectionbox colours
+
+\definecolor{subsectboxrulecol}{rgb}{0,0.5,0}
+\definecolor{subsectboxfillcol}{rgb}{0.95,1,0.95}
+% defines subsectionbox colours (not used in this poster)
+
+\definecolor{subsubsectboxrulecol}{rgb}{0.5,0.5,0}
+\definecolor{subsubsectboxfillcol}{rgb}{1,1,0.9}
+% defines subsectionbox colours (not used in this poster)
+
+\shadowsectionbox % selects shadow mode for sectionbox
+
+\renewcommand{\titlesize}{\huge}
+\renewcommand{\authorsize}{\Large}
+%smaller title size preferable on ISO B1 paper
+
+\title{Connected Morphological Image Analysis}
+
+% Note: only give author names, not institute
+\author{Michael H. F. Wilkinson, Erik R. Urbach, Georgios K. Ouzounis}
+
+
+% Insert correct institute name
+\institute{Institute for Mathematics and Computing Science\\
+ University of Groningen\\}
+
+\email{(michael,erik,georgios)@cs.rug.nl} % shows author email address below institute
+
+%\date is unused by the current \maketitle
+
+%\definecolor{mainCol}{rgb}{1.0,1.0,0.9}
+% uncomment for pale yellow background
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% Begin of Document
+
+\begin{document}
+
+%define conference poster is presented at (appears as footer)
+
+\conference{{\bf SIREN 2005}, Scientific ICT Research Event, the Netherlands, 6 October 2005, Eindhoven, the Netherlands}
+
+
+\maketitle
+
+%%% Begin of Multicols-Enviroment
+\setlength{\columnseprule}{0pt}
+\setlength{\columnsep}{0.0192\textheight}
+
+\begin{multicols}{2}
+%\setcounter{unbalance}{14}
+% this controls the column balance (not needed now)
+
+
+\newcommand{\imsize}{0.3\columnwidth}
+
+
+\begin{sectionbox}{Connected Operators}
+Connected operators are a subset of morphological image and signal
+processing operators which are strongly shape preserving. They
+can perform both high and low level image processing tasks
+such as noise removal and object recognition respectively.
+
+% NOTE: figure (or other float) ONLY allowed because sciposter.cls
+% redefines these environments to non-floating counterparts!
+%
+\begin{figure}
+\begin{center}
+\begin{tabular}{c c c}
+\resizebox{\imsize}{!}{\includegraphics{lenna10pct}}&
+\resizebox{\imsize}{!}{\includegraphics{lenna10smooth}}&
+\resizebox{\imsize}{!}{\includegraphics{lenna10connect}}
+\end{tabular}
+\end{center}
+\caption{Image corrupted by speckle noise (left) smoothed by gaussian
+ blurring (middle) and by area open - close (right)}
+\end{figure}
+\vspace{-0.5\baselineskip}
+% useful if a sectionbox ends with a figure
+\end{sectionbox}
+\vfill
+
+\begin{sectionbox}{Extensions to Attributes}
+By choosing the object properties or \emph{attributes} on which
+filtering is based, it is possible to obtain many different types of
+filter. More importantly, it is possible to filter in ways invariant
+to operations such as rotation, translation and scaling, providing
+filtering based on shape, rather than size.
+\begin{figure}
+\begin{center}
+\resizebox{0.92\columnwidth}{!}{\includegraphics{orig}}\\[1.5ex]
+\resizebox{0.92\columnwidth}{!}{\includegraphics{lambda2}}
+\end{center}
+\caption{Scale-invariant filtering of magnetic resonance angiogram
+ using elongation criteria.}
+\end{figure}
+
+In the above examples, scalar attributes are used in connected
+filters, but using vector-attributes has been developed here, and
+allows even more control over the filtering process.
+\end{sectionbox}
+
+\vfill
+\begin{sectionbox}{Extensions to Connectivity}
+Connected filters use the notion of connectivity, and various
+theoretical extensions are available (see poster ``Generalized
+connected morphological opertors for robust shape extraction'').
+\end{sectionbox}\\
+\begin{sectionbox}{Pattern Spectra}
+Connected filters allow very fast computation of so-called
+patter-spectra. These are histograms of the amount of image content in
+different shape and size categories (see Figure~\ref{fig:spectra}).
+These methods could also be used for content-based image retrieval.
+
+\begin{figure}
+\begin{center}
+\begin{tabular}{c c}
+\resizebox{!}{\imsize}{\includegraphics{000074Bzones}}&
+\resizebox{!}{\imsize}{\includegraphics{000074Bpatspec}}\\[0.5ex]
+\resizebox{!}{\imsize}{\includegraphics{000175Bzones}}&
+\resizebox{!}{\imsize}{\includegraphics{000175Bpatspec}}\\[0.5ex]
+\resizebox{!}{\imsize}{\includegraphics{002000AAzones}}&
+\resizebox{!}{\imsize}{\includegraphics{002000AApatspec}}\\
+\end{tabular}
+\end{center}
+\caption{Three diatom images with the corresponding pattern spectra:
+ The vertical axis shows the area, the horizontal the elongation of
+ image features in each bin; brightness indicates the power in each
+ bin. One selected bin in each spectrum and the corresponding image
+ details are highlighted in orange.}
+\label{fig:spectra}
+\end{figure}
+\vspace{-0.5\baselineskip}
+% useful if a sectionbox ends with a figure
+\end{sectionbox}
+
+\vfill
+
+\begin{sectionbox}{Algorithm Development}
+New algorithms for area and attribute openings and closings based on
+Tarjan's union-find have been developed. These are currently the
+fastest algorithms available, and form the basis of a parallel
+implementation being developed.
+\end{sectionbox}
+
+\vfill
+
+\renewcommand{\refname}{Selected Publications}
+% changes section heading over bibliography
+
+\nocite{ouzounis05:_count_overs_partit_based_connec}
+\nocite{ouzounis05:_secon_order_connec_attrib_filter}
+\nocite{urbach05:_vector_attrib_filter}
+\nocite{wilkinson01:_shape_preser_filam_enhan_filter}
+\nocite{Meijster:Wilkinson:PAMI}
+% these statements force these entries into the bibliography even
+% though they have not been cited.
+
+
+\begin{sectionbox}{} % Leave sectionbox heading empty for bibliography.
+\bibliographystyle{plain} % enter bibligraphy as usual, with or without using
+ % BiBTeX
+
+\small % this only affects contents, not
+ % bibliography heading size in
+ % sciposter clas
+\bibliography{sectionboxexample}
+\end{sectionbox}
+
+\end{multicols}
+
+\end{document}
+
diff --git a/macros/latex/contrib/sectionbox/sectionbox.sty b/macros/latex/contrib/sectionbox/sectionbox.sty
new file mode 100644
index 0000000000..4649a70c08
--- /dev/null
+++ b/macros/latex/contrib/sectionbox/sectionbox.sty
@@ -0,0 +1,171 @@
+%%
+%% This is file `sectionbox.sty' v 1.01
+%%
+%% Author Michael H.F. Wilkinson
+%% October 13, 2005
+%%
+%% version 1.01, 2005/10/13:
+%% - widths of section boxes reduced by 2\colboxsep+3\fboxrule
+%% which makes them properly flush with the current column
+%% width
+%% version 1.00, 2005/08/24:
+%% - first release
+%%
+%%
+\ProvidesPackage{sectionbox}[2005/10/13, v1.01 section boxes for posters (MHFW)]
+\NeedsTeXFormat{LaTeX2e}[1995/06/01]
+
+\RequirePackage{ifthen}
+\RequirePackage{calc}
+\RequirePackage{fancybox}
+\RequirePackage{color}
+
+\definecolor{sectboxrulecol}{rgb}{0,0,0}
+\definecolor{sectboxfillcol}{rgb}{0.9,0.9,0.9}
+\definecolor{sectboxtextcol}{rgb}{0,0,0}
+
+\definecolor{subsectboxrulecol}{rgb}{0,0,0}
+\definecolor{subsectboxfillcol}{rgb}{0.9,0.9,0.9}
+\definecolor{subsectboxtextcol}{rgb}{0,0,0}
+
+\definecolor{subsubsectboxrulecol}{rgb}{0,0,0}
+\definecolor{subsubsectboxfillcol}{rgb}{0.9,0.9,0.9}
+\definecolor{subsubsectboxtextcol}{rgb}{0,0,0}
+
+\newlength{\sectboxskip} % skip below sectionbox
+\setlength{\sectboxskip}{0.5ex plus0.1ex minus 0.5ex}
+\newlength{\subsectboxskip} % skip below subsectionbox
+\setlength{\subsectboxskip}{0.25ex plus0.1ex minus 0.25ex}
+\newlength{\subsubsectboxskip} % skip below subsubsectionbox
+\setlength{\subsubsectboxskip}{0.25ex plus0.1ex minus 0.25ex}
+\newlength{\subsectmargin} %
+\setlength{\subsectmargin}{0pt}
+\newlength{\subsubsectmargin} %
+\setlength{\subsubsectmargin}{0pt}
+
+\newcommand{\makesectionbox}[1]{\fbox{#1}} % default single frame box
+\newcommand{\makesubsectionbox}[1]{\fbox{#1}} % default single frame box
+\newcommand{\makesubsubsectionbox}[1]{\fbox{#1}} % default single frame box
+
+\newcommand{\framesectionbox}{ % set section boxes to single frame boxes
+ \renewcommand{\makesectionbox}[1]{\fbox{##1}}
+ \setlength{\sectboxskip}{0.5ex plus0.1ex minus 0.5ex}
+ % set back to default
+}
+
+\newcommand{\framesubsectionbox}{ % set section boxes to single frame boxes
+ \renewcommand{\makesubsectionbox}[1]{\fbox{##1}}
+ \setlength{\subsectboxskip}{0.25ex plus0.1ex minus 0.25ex0.5}
+ % set back to default
+ \setlength{\subsectmargin}{0pt}
+}
+
+\newcommand{\framesubsubsectionbox}{ % set section boxes to single frame boxes
+ \renewcommand{\makesubsubsectionbox}[1]{\fbox{##1}}
+ \setlength{\subsubsectboxskip}{0.25ex plus0.1ex minus 0.25ex}
+ % set back to default
+ \setlength{\subsubsectmargin}{0pt}
+}
+
+\newcommand{\doublesectionbox}{ % set section boxes to double boxes
+ \renewcommand{\makesectionbox}[1]{\doublebox{##1}}
+ \setlength{\sectboxskip}{0.5ex plus0.1ex minus 0.5ex} % set back to default
+}
+
+\newcommand{\doublesubsectionbox}{ % set section boxes to double boxes
+ \renewcommand{\makesubsectionbox}[1]{\doublebox{##1}}
+ \setlength{\subsectboxskip}{0.25ex plus0.1ex minus 0.25ex}
+ % set back to default
+ \setlength{\subsectmargin}{0pt}
+}
+
+\newcommand{\doublesubsubsectionbox}{ % set section boxes to double boxes
+ \renewcommand{\makesubsubsectionbox}[1]{\doublebox{##1}}
+ \setlength{\subsubsectboxskip}{0.25ex plus0.1ex minus 0.25ex} % set back to default
+ \setlength{\subsubsectmargin}{0pt}
+}
+
+\newcommand{\shadowsectionbox}{ % set section boxes to shadow boxes
+ \renewcommand{\makesectionbox}[1]{\shadowbox{##1}}
+ \setlength{\sectboxskip}{-2ex plus0.1ex minus 0.5ex} % counteract effects of shadowbox
+}
+
+\newcommand{\shadowsubsectionbox}{ % set section boxes to shadow boxes
+ \renewcommand{\makesubsectionbox}[1]{\shadowbox{##1}}
+ \setlength{\subsectboxskip}{-2.25ex plus0.1ex minus 0.25ex}
+ % counteract effects of shadowbox
+ \setlength{\subsectmargin}{\shadowsize}
+}
+
+\newcommand{\shadowsubsubsectionbox}{ % set section boxes to shadow boxes
+ \renewcommand{\makesubsubsectionbox}[1]{\shadowbox{##1}}
+ \setlength{\subsubsectboxskip}{-2.25ex plus0.1ex minus 0.25ex}
+ % counteract effects of shadowbox
+ \setlength{\subsubsectmargin}{\shadowsize}
+}
+
+
+\newsavebox{\sectsavebox} % saves contents of section box
+\newsavebox{\subsectsavebox} % saves contents of subsection box
+\newsavebox{\subsubsectsavebox} % saves contents of subsubsection box
+
+\ifthenelse{\lengthtest{\paperwidth <\paperheight}}{% compute \fboxrule etc.
+ \setlength{\fboxrule}{0.0014\paperwidth} % portrait mode
+ \setlength{\shadowsize}{0.0042\paperwidth}
+}{%
+ \setlength{\fboxrule}{0.0014\paperheight} % landscape mode
+ \setlength{\shadowsize}{0.0042\paperheight}
+}
+\newlength{\colboxsep} % store value for \fcolsep for use in
+\setlength{\colboxsep}{2\fboxrule} % the \colorbox
+
+\newenvironment{sectionbox}[2][\columnwidth]{% default width of minipage is \columnwidth
+\setlength{\fboxsep}{0.5\fboxrule}% ensures colorbox is filled up to
+% boundary of sectionbox
+\begin{lrbox}{\sectsavebox} % open lrbox and save in \sectsavebox
+\begin{minipage}{#1-2\colboxsep-3\fboxrule}
+\color{sectboxtextcol}%
+\ifthenelse{\equal{#2}{}}{}{\section{#2}}% only produce section if
+% mandatory parameter not empty
+}{%
+\end{minipage}
+\end{lrbox} % close lrbox
+ \color{sectboxrulecol} % sets color of boundary
+ \noindent
+ \makesectionbox{\setlength{\fboxsep}{\colboxsep}\colorbox{sectboxfillcol}{\usebox{\sectsavebox}}}
+ \\[\sectboxskip]
+}
+
+\newenvironment{subsectionbox}[2][\columnwidth]{% default width of minipage is \columnwidth
+\setlength{\fboxsep}{0.5\fboxrule}% ensures colorbox is filled up to
+% boundary of sectionbox
+\begin{lrbox}{\subsectsavebox} % open lrbox and save in \subsectsavebox
+\begin{minipage}{#1 -\subsectmargin - 2\colboxsep - 3\fboxrule}
+\color{subsectboxtextcol}%
+\ifthenelse{\equal{#2}{}}{}{\subsection{#2}} % only produce subsection if
+% mandatory parameter not empty
+}{%
+\end{minipage}
+\end{lrbox} % close lrbox
+ \color{subsectboxrulecol} % sets color of boundary
+ \noindent
+ \makesubsectionbox{\setlength{\fboxsep}{\colboxsep}\colorbox{subsectboxfillcol}{\usebox{\subsectsavebox}}}
+ \\[\subsectboxskip]
+}
+
+\newenvironment{subsubsectionbox}[2][\columnwidth]{% default width of minipage is \columnwidth
+\setlength{\fboxsep}{0.5\fboxrule}% ensures colorbox is filled up to
+% boundary of sectionbox
+\begin{lrbox}{\subsubsectsavebox} % open lrbox and save in \subsectsavebox
+\begin{minipage}{#1 -\subsubsectmargin - 2\colboxsep - 3\fboxrule}
+\color{subsubsectboxtextcol}%
+\ifthenelse{\equal{#2}{}}{}{\subsubsection{#2}} % only produce subsection if
+% mandatory parameter not empty
+}{%
+\end{minipage}
+\end{lrbox} % close lrbox
+ \color{subsubsectboxrulecol} % sets color of boundary
+ \noindent
+ \makesubsubsectionbox{\setlength{\fboxsep}{\colboxsep}\colorbox{subsubsectboxfillcol}{\usebox{\subsubsectsavebox}}}
+ \\[\subsubsectboxskip]
+}
diff --git a/macros/latex/contrib/sectionbox/sectionboxmanual.pdf b/macros/latex/contrib/sectionbox/sectionboxmanual.pdf
new file mode 100644
index 0000000000..07eca079d3
--- /dev/null
+++ b/macros/latex/contrib/sectionbox/sectionboxmanual.pdf
Binary files differ