You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
2.7 KiB
TeX
99 lines
2.7 KiB
TeX
\documentclass[12pt,a4paper,twoside]{article}
|
|
\usepackage{pstricks}
|
|
\usepackage{amsfonts}
|
|
% \usepackage{minitoc}
|
|
% \setcounter{minitocdepth}{2}
|
|
\usepackage[bookmarks=true,
|
|
bookmarksnumbered=true,
|
|
bookmarksopen=false,
|
|
plainpages=false,
|
|
pdfpagelabels,
|
|
colorlinks,
|
|
linkcolor=blue]{hyperref}
|
|
\usepackage{ifthen}
|
|
\usepackage{graphicx}
|
|
|
|
\newtheorem{theorem}{Theorem}
|
|
\newtheorem{corollary}{Corollary}
|
|
|
|
%\newboolean{mtc}
|
|
%\setboolean{mtc}{true}
|
|
|
|
\pdfoutput=1
|
|
\relax
|
|
\pdfcompresslevel=0 %-- 0 = none, 9 = best
|
|
\pdfinfo{ %-- Info dictionary of PDF output /Author (Alfredo Buttari)
|
|
/Title (Parallel Sparse BLAS V. 2.0)
|
|
/Subject (Parallel Sparse Basic Linear Algebra Subroutines)
|
|
/Keywords (Computer Science Linear Algebra Fluid Dynamics Parallel Linux MPI PSBLAS Iterative Solvers Preconditioners)
|
|
/Creator (pdfLaTeX)
|
|
/Producer ($Id$)
|
|
}
|
|
\pdfcatalog{ %-- Catalog dictionary of PDF output.
|
|
/URI (http://ce.uniroma2.it/psblas)
|
|
}
|
|
|
|
\newcounter{subroutine}[subsection]
|
|
\newcounter{example}[subroutine]
|
|
\newcommand{\subroutine}[2]{\clearpage%
|
|
\stepcounter{subroutine}%
|
|
\section*{\flushleft #1---#2 \endflushleft}%
|
|
\addcontentsline{toc}{subsection}{#1}%
|
|
\markright{#1}}%
|
|
\newcommand{\examplename}{Example}
|
|
\newcommand{\syntaxname}{Syntax}
|
|
\makeatletter
|
|
\def\syntax{\@ifstar{\@ssyntax}{\@syntax}}%
|
|
\def\@syntax{\section*{\syntaxname}%
|
|
\@ssyntax}%
|
|
\def\@ssyntax#1#2{%
|
|
\setbox\@tempboxa\hbox{#1\ {\em $($#2$)$}}%
|
|
\ifdim \wd\@tempboxa >\hsize
|
|
\setbox\@tempboxa\hbox{\em $($#2$)$}
|
|
\ifdim\wd\@tempboxa >\hsize
|
|
\begin{flushright}#1\ \em$($#2$)$\end{flushright}%
|
|
\else
|
|
\hbox to\hsize{#1\hfil}%
|
|
\hbox to\hsize{\hfil\box\@tempboxa}%
|
|
\fi
|
|
\else
|
|
\hbox to\hsize{\hfil\box\@tempboxa\hfil}%
|
|
\fi\par\vskip\baselineskip}
|
|
\makeatother
|
|
\newcommand{\example}{\stepcounter{example}%
|
|
\section*{\examplename~\theexample}}
|
|
|
|
\newcommand{\precdata}{\hyperlink{precdata}{{\tt psb\_prec\_data}}}
|
|
\newcommand{\descdata}{\hyperlink{descdata}{{\tt psb\_desc\_data}}}
|
|
\newcommand{\spdata}{\hyperlink{spdata}{{\tt psb\_spmat\_data}}}
|
|
|
|
\begin{document}
|
|
\include{title}
|
|
|
|
\begingroup
|
|
\renewcommand*{\thepage}{toc}
|
|
\pagenumbering{roman} % Roman numbering
|
|
\setcounter{page}{1} % Abstract start on page ii
|
|
\tableofcontents
|
|
\endgroup
|
|
|
|
\newpage
|
|
|
|
\pagenumbering{arabic} % Arabic numbering
|
|
\setcounter{page}{1} % Chapters start on page 1
|
|
|
|
\precdata
|
|
\include{intro}
|
|
\include{datastruct}
|
|
\include{psbrout}
|
|
\include{commrout}
|
|
\include{toolsrout}
|
|
\include{methods}
|
|
\include{precs}
|
|
|
|
\end{document}
|
|
%%% Local Variables:
|
|
%%% mode: latex
|
|
%%% TeX-master: 'userguide'
|
|
%%% End:
|