%% %% This is file `taxonomy.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% taxonomy.dtx (with options: `package') %% %% This is a generated file. %% %% Copyright (c) 2006 by Tikitu de Jager %% %% This file may be distributed and/or modified under the conditions of %% the LaTeX Project Public License, either version 1.2 of this license %% or (at your option) any later version. The latest version of this %% license is in: %% %% http://www.latex-project.org/lppl.txt %% %% and version 1.2 or later is part of all distributions of LaTeX version %% 1999/12/01 or later. %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{taxonomy}[2006/11/26 v0.2 cases-like nested taxonomies; braces align differently] %\RequirePackage{amsmath} \newdimen\tax@ht \newdimen\tax@dp \newdimen\tax@local@ht \newdimen\tax@local@dp \tax@ht=0pt \tax@dp=0pt \newcommand{\taxAlign}{m} \newenvironment{taxon}{% \begin{math} }{% \endarray \right. \vrule height\tax@ht depth\tax@dp width 0pt \relax \global\tax@ht=\tax@local@ht \global\tax@dp=\tax@local@dp \end{math} } \newcommand{\taxLabel}{\@ifstar \taxLabel@Star% \taxLabel@NoStar% } \newcommand{\taxLabel@NoStar}[2][3cm]{% % \setbox0\hbox{\!\begin{minipage}[\taxAlign]{#1}#2\end{minipage}}% \begin{minipage}[\taxAlign]{#1}#2\end{minipage}% \tax@local@ht=\tax@ht \tax@local@dp=\tax@dp \global\tax@ht=0pt \global\tax@dp=0pt \left\lbrace \array{@{}l@{}} } \newcommand{\taxLabel@Star}[1]{% \setbox0\hbox{#1}% \box0\relax \tax@local@ht=\tax@ht \tax@local@dp=\tax@dp \global\tax@ht=0pt \global\tax@dp=0pt \left\lbrace \array{@{}l@{}} } \newcommand{\taxFirst}{\@ifstar \taxFirst@Star% \taxFirst@NoStar% } \newcommand{\taxFirst@NoStar}[3][t]{% \def\taxAlign{#1}% \setbox0\hbox{\begin{minipage}[\taxAlign]{#2}#3\end{minipage}}% \global\advance\tax@ht by \ht0\relax \global\advance\tax@dp by \dp0\relax \ht0=0pt \box0\relax\\ } \newcommand{\taxFirst@Star}[2][t]{% \def\taxAlign{#1}% \setbox0\hbox{#2}% \global\advance\tax@ht by \ht0\relax \global\advance\tax@dp by \dp0\relax \ht0=0pt \box0\relax\\ } \newcommand{\taxMid}{\@ifstar \taxMid@Star% \taxMid@NoStar% } \newcommand{\taxMid@NoStar}[3][m]{% \def\taxAlign{#1}% \setbox0\hbox{\tabular{@{}l@{}}% \begin{minipage}[\taxAlign]{#2}#3\end{minipage}\endtabular}% \global\advance\tax@ht by \ht0\relax \global\advance\tax@dp by \dp0\relax \box0\relax\\ } \newcommand{\taxMid@Star}[2][m]{% \def\taxAlign{#1}% \setbox0\hbox{\tabular{@{}l@{}}#2\endtabular}% \global\advance\tax@ht by \ht0\relax \global\advance\tax@dp by \dp0\relax \box0\relax\\ } \newcommand{\taxLast}{\@ifstar \taxLast@Star% \taxLast@NoStar% } \newcommand{\taxLast@NoStar}[3][b]{% \def\taxAlign{#1}% \setbox0\hbox{\begin{minipage}[\taxAlign]{#2}#3\end{minipage}}% \global\advance\tax@ht by \ht0\relax \global\advance\tax@dp by \dp0\relax \dp0=0pt \box0\relax\\ } \newcommand{\taxLast@Star}[2][b]{% \def\taxAlign{#1}% \setbox0\hbox{#2}% \global\advance\tax@ht by \ht0\relax \global\advance\tax@dp by \dp0\relax \dp0=0pt \box0\relax\\ } \endinput %% %% End of file `taxonomy.sty'.