%%  warning: this file is autogenerated by pddoc. all manual changes will be lost on next run.
\documentclass[10pt]{scrartcl}
\usepackage{multirow}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{float}
\usepackage{microtype}
\usepackage[dvipsnames]{xcolor}

\colorlet{myurlcolor}{Aquamarine}

\hypersetup{
    pdftitle={PureData [${title}] doc},
    pdfkeywords={${" ".join(keywords)}"},
    colorlinks=true,
    urlcolor=myurlcolor
}

\title{PureData \texttt{[\raisebox{0.05em}{${title}}]} documentation}
\author{${", ".join(authors)}}

\topmargin = -0.5cm
\textheight = 23cm
\textwidth = 16.5cm
\oddsidemargin 0cm
\evensidemargin 0cm
\parindent = 0cm
\leftskip = 0.7cm

\usepackage[%
    headsepline,
    markuppercase
]{scrpage2}

\cfoot{\thepage}
\ihead{PureData documentation}
\ohead{\includegraphics[scale=0.5]{${title_image}}}

\headheight = 40pt

\pagestyle{scrheadings}

\begin{document}
    \pagenumbering{gobble}
    %% \maketitle
    %% \newpage
    \pagenumbering{arabic}

\bigskip

\section*{Object \texttt{[${title}]}}

\includegraphics[scale=${graphics_scale}]{${title_image}}

${description}

% if aliases:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%             ALIASES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection*{Aliases}
    % for a in aliases:
        \includegraphics[scale=${graphics_scale}]{${a['image']}}
    % endfor
% endif

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%             INLETS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\subsection*{Inlets}

\begin{table}[h]
\hspace*{\leftskip}
\def\arraystretch{1.4}
\begin{tabular}{p{2cm}|c|l|p{0.6\textwidth}}
{ \bfseries inlet  number } & {\bfseries type} & {\bfseries range} & {\bfseries description} \\\

\hline \
% for inlet_number in sorted(inlets):
        <%
        inlet_list = inlets[inlet_number]
        col_span = len(inlet_list)
        inlet_list_count = col_span
        range_str = lambda x: ("--".join(map(str, x))) if (len(x) > 1) else "~"
        %>
    % for inlet in inlet_list:
        % if col_span == inlet_list_count:
\hline

\multirow{${col_span}}{*}{${inlet_number}} \
    % endif
& \texttt{${inlet.type()}} & ${range_str(inlet.range())} & ${inlet.text()}  \\\
            <% col_span -= 1 %>
    % endfor
% endfor

\end{tabular}
\end{table}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%             OUTLETS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection*{Outlets}

\begin{table}[h]
\def\arraystretch{1.4}
\hspace*{\leftskip}
\begin{tabular}{p{2cm}|c|l|p{0.6\textwidth}}
{ \bfseries outlet  number } & {\bfseries type} & {\bfseries range} & {\bfseries description} \\\

\hline \
% for outlet_number in sorted(outlets):
        <%
        outlet_list = outlets[outlet_number]
        col_span = len(outlet_list)
        outlet_list_count = col_span
        range_str = lambda x: ("--".join(map(str, x))) if (len(x) > 1) else "~"
        %>
    % for outlet in outlet_list:
        % if col_span == outlet_list_count:
\hline

\multirow{${col_span}}{*}{${outlet_number}} \
    % endif
& \texttt{${outlet.type()}} & ${range_str(outlet.range())} & ${outlet.text()}  \\\
            <% col_span -= 1 %>
    % endfor
% endfor

\end{tabular}
\end{table}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%             ARGUMENTS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection*{Arguments}

\hspace*{\leftskip}
\begin{itemize}
% for arg in arguments:
    \item{${arg.text()}}
% endfor
\end{itemize}

% if see_also:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%             SEE ALSO
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection*{See also}

    % for obj in see_also:
        \includegraphics[scale=${graphics_scale}]{${obj['image']}}
    % endfor
% endif


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%            EXAMPLES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection*{Examples}

\hspace*{\leftskip}
% for ex in examples:
\begin{figure}[H]
    \centering
    % if ex['title']:
    \caption{${ex['title']}}
    % endif
    \includegraphics[scale=${graphics_scale}]{${ex['image']}}
\end{figure}

% endfor

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%             INFORMATION
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection*{Information}

\begin{table}[h]
\hspace*{\leftskip}
\begin{tabular}{l l}
library: & ${library} \\\

version: & ${version} \\\

license: & \href{ ${license['url']}}{${license['name']}} \\\

website: & \href{ ${website} }{${website}} \\\

authors: & ${", ".join(authors)} \\\

contacts: & ${contacts}

\end{tabular}
\end{table}

\vfill

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%             TECHICAL INFO
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection*{About}

Generated by \href{https://github.com/uliss/pddoc}{pddoc} at \today.

Source code available at \texttt{\href{https://github.com/uliss/pddoc}{https://github.com/uliss/pddoc}}

\end{document}