% generated by GAPDoc2LaTeX from XML source (Frank Luebeck)
\documentclass[a4paper,11pt]{report}

\usepackage{a4wide}
\sloppy
\pagestyle{myheadings}
\usepackage{amssymb}
\usepackage[utf8]{inputenc}
\usepackage{makeidx}
\makeindex
\usepackage{color}
\definecolor{FireBrick}{rgb}{0.5812,0.0074,0.0083}
\definecolor{RoyalBlue}{rgb}{0.0236,0.0894,0.6179}
\definecolor{RoyalGreen}{rgb}{0.0236,0.6179,0.0894}
\definecolor{RoyalRed}{rgb}{0.6179,0.0236,0.0894}
\definecolor{LightBlue}{rgb}{0.8544,0.9511,1.0000}
\definecolor{Black}{rgb}{0.0,0.0,0.0}

\definecolor{linkColor}{rgb}{0.0,0.0,0.554}
\definecolor{citeColor}{rgb}{0.0,0.0,0.554}
\definecolor{fileColor}{rgb}{0.0,0.0,0.554}
\definecolor{urlColor}{rgb}{0.0,0.0,0.554}
\definecolor{promptColor}{rgb}{0.0,0.0,0.589}
\definecolor{brkpromptColor}{rgb}{0.589,0.0,0.0}
\definecolor{gapinputColor}{rgb}{0.589,0.0,0.0}
\definecolor{gapoutputColor}{rgb}{0.0,0.0,0.0}

%%  for a long time these were red and blue by default,
%%  now black, but keep variables to overwrite
\definecolor{FuncColor}{rgb}{0.0,0.0,0.0}
%% strange name because of pdflatex bug:
\definecolor{Chapter }{rgb}{0.0,0.0,0.0}
\definecolor{DarkOlive}{rgb}{0.1047,0.2412,0.0064}


\usepackage{fancyvrb}

\usepackage{mathptmx,helvet}
\usepackage[T1]{fontenc}
\usepackage{textcomp}


\usepackage[
            pdftex=true,
            bookmarks=true,        
            a4paper=true,
            pdftitle={Written with GAPDoc},
            pdfcreator={LaTeX with hyperref package / GAPDoc},
            colorlinks=true,
            backref=page,
            breaklinks=true,
            linkcolor=linkColor,
            citecolor=citeColor,
            filecolor=fileColor,
            urlcolor=urlColor,
            pdfpagemode={UseNone}, 
           ]{hyperref}

\newcommand{\maintitlesize}{\fontsize{50}{55}\selectfont}

% write page numbers to a .pnr log file for online help
\newwrite\pagenrlog
\immediate\openout\pagenrlog =\jobname.pnr
\immediate\write\pagenrlog{PAGENRS := [}
\newcommand{\logpage}[1]{\protect\write\pagenrlog{#1, \thepage,}}
%% were never documented, give conflicts with some additional packages

\newcommand{\GAP}{\textsf{GAP}}

%% nicer description environments, allows long labels
\usepackage{enumitem}
\setdescription{style=nextline}

%% depth of toc
\setcounter{tocdepth}{1}





%% command for ColorPrompt style examples
\newcommand{\gapprompt}[1]{\color{promptColor}{\bfseries #1}}
\newcommand{\gapbrkprompt}[1]{\color{brkpromptColor}{\bfseries #1}}
\newcommand{\gapinput}[1]{\color{gapinputColor}{#1}}


\begin{document}

\logpage{[ 0, 0, 0 ]}
\begin{titlepage}
\mbox{}\vfill

\begin{center}{\maintitlesize \textbf{ PolymakeInterface \mbox{}}}\\
\vfill

\hypersetup{pdftitle= PolymakeInterface }
\markright{\scriptsize \mbox{}\hfill  PolymakeInterface  \hfill\mbox{}}
{\Huge \textbf{ A package to provide algorithms for fans and cones of polymake to other
packages \mbox{}}}\\
\vfill

{\Huge  2015.01.26 \mbox{}}\\[1cm]
{ 26/01/2015 \mbox{}}\\[1cm]
\mbox{}\\[2cm]
{\Large \textbf{ Thomas Baechler\\
    \mbox{}}}\\
{\Large \textbf{ Sebastian Gutsche\\
    \mbox{}}}\\
\hypersetup{pdfauthor= Thomas Baechler\\
    ;  Sebastian Gutsche\\
    }
\end{center}\vfill

\mbox{}\\
{\mbox{}\\
\small \noindent \textbf{ Thomas Baechler\\
    }  Email: \href{mailto://thomas@momo.math.rwth-aachen.de} {\texttt{thomas@momo.math.rwth-aachen.de}}\\
  Homepage: \href{http://wwwb.math.rwth-aachen.de/~thomas/} {\texttt{http://wwwb.math.rwth-aachen.de/\texttt{\symbol{126}}thomas/}}\\
  Address: \begin{minipage}[t]{8cm}\noindent
 Thomas Baechler\\
 Lehrstuhl B fuer Mathematik\\
 RWTH Aachen\\
 Templergraben 64\\
 52062 Aachen\\
 Germany\\
 \end{minipage}
}\\
{\mbox{}\\
\small \noindent \textbf{ Sebastian Gutsche\\
    }  Email: \href{mailto://sebastian.gutsche@rwth-aachen.de} {\texttt{sebastian.gutsche@rwth-aachen.de}}\\
  Homepage: \href{http://wwwb.math.rwth-aachen.de/~gutsche/} {\texttt{http://wwwb.math.rwth-aachen.de/\texttt{\symbol{126}}gutsche/}}\\
  Address: \begin{minipage}[t]{8cm}\noindent
 Sebastian Gutsche\\
 Lehrstuhl B fuer Mathematik, RWTH Aachen\\
 Templergraben 64\\
 52062 Aachen\\
 Germany\\
 \end{minipage}
}\\
\end{titlepage}

\newpage\setcounter{page}{2}
\newpage

\def\contentsname{Contents\logpage{[ 0, 0, 1 ]}}

\tableofcontents
\newpage

 \index{\textsf{PolymakeInterface}}     
\chapter{\textcolor{Chapter }{Introduction}}\label{Chapter_Introduction}
\logpage{[ 1, 0, 0 ]}
\hyperdef{L}{X7DFB63A97E67C0A1}{}
{
  
\section{\textcolor{Chapter }{What is the idea of PolymakeInterface}}\label{Chapter_Introduction_Section_What_is_the_idea_of_PolymakeInterface}
\logpage{[ 1, 1, 0 ]}
\hyperdef{L}{X7B287B7A86173E0D}{}
{
  PolymakeInterface is an GAP-Package that provides a link to the callable
library of the CAS polymake. It is not supposed to do any work by itself, but
to provide the methods in polymake to GAP. All the functions in this package
are supposed to be capsuled by functions in the Convex package, which provides
needed structures and datatypes. Also the functions the have nicer names. This
fact also causes that there are no doumentations for functions in this
package. To get an overview about the supported functions, one might look at
the polymake{\textunderscore}main.cpp file or simply message the author.
Working with this package alone without Convex is not recommended. }

 }

   
\chapter{\textcolor{Chapter }{Installation}}\label{Chapter_Installation}
\logpage{[ 2, 0, 0 ]}
\hyperdef{L}{X8360C04082558A12}{}
{
  
\section{\textcolor{Chapter }{Install polymake}}\label{Chapter_Installation_Section_Install_polymake}
\logpage{[ 2, 1, 0 ]}
\hyperdef{L}{X800C29157C1742BE}{}
{
  To make GAP and polymake work together porperly, one has to make sure that the
two systems are using the same GMP library. You can choose the GMP which
polymake uses by the flag --with-gmp= in the polymake configure skript.
However, having BOTH systems using your systems GMP is HIGHLY recommended. }

 
\section{\textcolor{Chapter }{How to install this package}}\label{Chapter_Installation_Section_How_to_install_this_package}
\logpage{[ 2, 2, 0 ]}
\hyperdef{L}{X81A5946683F0AD7D}{}
{
  This package can only be compiled on a system that has the new perpetual beta
of polymake correctly installed, like it is said in the polymake wiki itself.
For more information about this please visit \href{http://www.polymake.org} {www.polymake.org}. For installing this package, first make sure you have polymake installed.
Copy it in your GAP pkg-directory and run the configure script (./configure)
with your GAP root-directory as argument. The default is ../../... Then run
make. After this, the package can be loaded via LoadPackage(
\texttt{\symbol{92}}"PolymakeInterface\texttt{\symbol{92}}" );. }

 }

   
\chapter{\textcolor{Chapter }{Sketch}}\label{Chapter_Sketch}
\logpage{[ 3, 0, 0 ]}
\hyperdef{L}{X8012482A7EFB8816}{}
{
  
\section{\textcolor{Chapter }{Sketch methods}}\label{Chapter_Sketch_Section_Sketch_methods}
\logpage{[ 3, 1, 0 ]}
\hyperdef{L}{X7FF412A27CB0DD64}{}
{
  

\subsection{\textcolor{Chapter }{POLYMAKE{\textunderscore}SKETCH{\textunderscore}WITH{\textunderscore}OPTIONS (for IsExternalPolymakeObject, IsList)}}
\logpage{[ 3, 1, 1 ]}\nobreak
\hyperdef{L}{X86AA5EBB7DF8F6AF}{}
{\noindent\textcolor{FuncColor}{$\triangleright$\ \ \texttt{POLYMAKE{\textunderscore}SKETCH{\textunderscore}WITH{\textunderscore}OPTIONS({\mdseries\slshape arg1, arg2})\index{POLYMAKESKETCHWITHOPTIONS@\texttt{POL}\-\texttt{Y}\-\texttt{M}\-\texttt{A}\-\texttt{K}\-\texttt{E{\textunderscore}}\-\texttt{S}\-\texttt{K}\-\texttt{E}\-\texttt{T}\-\texttt{C}\-\texttt{H{\textunderscore}}\-\texttt{W}\-\texttt{I}\-\texttt{T}\-\texttt{H{\textunderscore}}\-\texttt{O}\-\texttt{P}\-\texttt{T}\-\texttt{IONS}!for IsExternalPolymakeObject, IsList}
\label{POLYMAKESKETCHWITHOPTIONS:for IsExternalPolymakeObject, IsList}
}\hfill{\scriptsize (operation)}}\\
\textbf{\indent Returns:\ }
 nothing 



 This method produces the sketch output from polymake. Sketch have to be
installed to use this method. The first argument must be a polymake external
object, the second can be a filename, as a string, or a list of pairs
specifying polymakes VISUAL options. In each pair the first entry needs to be
the name of the option, the second should be the value it has to be given. As
value strings and lists of integers are allowed. Please see the polymake
documentation for more informations. }

 

\subsection{\textcolor{Chapter }{POLYMAKE{\textunderscore}SKETCH{\textunderscore}WITH{\textunderscore}OPTIONS (for IsExternalPolymakeObject, IsString, IsList)}}
\logpage{[ 3, 1, 2 ]}\nobreak
\hyperdef{L}{X810E71BB7F4DFEB1}{}
{\noindent\textcolor{FuncColor}{$\triangleright$\ \ \texttt{POLYMAKE{\textunderscore}SKETCH{\textunderscore}WITH{\textunderscore}OPTIONS({\mdseries\slshape arg1, arg2, arg3})\index{POLYMAKESKETCHWITHOPTIONS@\texttt{POL}\-\texttt{Y}\-\texttt{M}\-\texttt{A}\-\texttt{K}\-\texttt{E{\textunderscore}}\-\texttt{S}\-\texttt{K}\-\texttt{E}\-\texttt{T}\-\texttt{C}\-\texttt{H{\textunderscore}}\-\texttt{W}\-\texttt{I}\-\texttt{T}\-\texttt{H{\textunderscore}}\-\texttt{O}\-\texttt{P}\-\texttt{T}\-\texttt{IONS}!for IsExternalPolymakeObject, IsString, IsList}
\label{POLYMAKESKETCHWITHOPTIONS:for IsExternalPolymakeObject, IsString, IsList}
}\hfill{\scriptsize (operation)}}\\
\textbf{\indent Returns:\ }
 nothing 



 This works like the other
POLYMAKE{\textunderscore}SKETCH{\textunderscore}WITH{\textunderscore}DOCUMENTATION
method but one can give a filename and options at the same time. Second
argument here needs to be the filename, third the list of VISUAL option pairs. }

 

\subsection{\textcolor{Chapter }{POLYMAKE{\textunderscore}CREATE{\textunderscore}TIKZ{\textunderscore}FILE (for IsExternalPolymakeObject, IsString)}}
\logpage{[ 3, 1, 3 ]}\nobreak
\hyperdef{L}{X7A89F4927ACE7AFF}{}
{\noindent\textcolor{FuncColor}{$\triangleright$\ \ \texttt{POLYMAKE{\textunderscore}CREATE{\textunderscore}TIKZ{\textunderscore}FILE({\mdseries\slshape arg1, arg2})\index{POLYMAKECREATETIKZFILE@\texttt{POL}\-\texttt{Y}\-\texttt{M}\-\texttt{A}\-\texttt{K}\-\texttt{E{\textunderscore}}\-\texttt{C}\-\texttt{R}\-\texttt{E}\-\texttt{A}\-\texttt{T}\-\texttt{E{\textunderscore}}\-\texttt{T}\-\texttt{I}\-\texttt{K}\-\texttt{Z{\textunderscore}}\-\texttt{FILE}!for IsExternalPolymakeObject, IsString}
\label{POLYMAKECREATETIKZFILE:for IsExternalPolymakeObject, IsString}
}\hfill{\scriptsize (operation)}}\\
\textbf{\indent Returns:\ }
 nothing 



 Given a polymake object and a filename, this method produces the tikz output
given by sketch and stores it in the file. }

 

\subsection{\textcolor{Chapter }{POLYMAKE{\textunderscore}CREATE{\textunderscore}TIKZ{\textunderscore}FILE (for IsExternalPolymakeObject, IsString, IsList)}}
\logpage{[ 3, 1, 4 ]}\nobreak
\hyperdef{L}{X7A1AC32B85E95F36}{}
{\noindent\textcolor{FuncColor}{$\triangleright$\ \ \texttt{POLYMAKE{\textunderscore}CREATE{\textunderscore}TIKZ{\textunderscore}FILE({\mdseries\slshape arg1, arg2, arg3})\index{POLYMAKECREATETIKZFILE@\texttt{POL}\-\texttt{Y}\-\texttt{M}\-\texttt{A}\-\texttt{K}\-\texttt{E{\textunderscore}}\-\texttt{C}\-\texttt{R}\-\texttt{E}\-\texttt{A}\-\texttt{T}\-\texttt{E{\textunderscore}}\-\texttt{T}\-\texttt{I}\-\texttt{K}\-\texttt{Z{\textunderscore}}\-\texttt{FILE}!for IsExternalPolymakeObject, IsString, IsList}
\label{POLYMAKECREATETIKZFILE:for IsExternalPolymakeObject, IsString, IsList}
}\hfill{\scriptsize (operation)}}\\
\textbf{\indent Returns:\ }
 nothing 



 This does the same as
POLYMAKE{\textunderscore}CREATE{\textunderscore}TIKZ{\textunderscore}FILE but
the third argument is passed to the VISUAL command of polymake. It need to be
a (possibly empty) list of options. The list must be consist of pairs, where
the first entry is the name of the option the second the value. As values
strings and lists of integers are allowed. }

 

\subsection{\textcolor{Chapter }{POLYMAKE{\textunderscore}CREATE{\textunderscore}TIKZ{\textunderscore}FILE{\textunderscore}WITH{\textunderscore}SKETCH{\textunderscore}OPTIONS (for IsExternalPolymakeObject, IsString, IsList, IsString)}}
\logpage{[ 3, 1, 5 ]}\nobreak
\hyperdef{L}{X87C54FCB7806A324}{}
{\noindent\textcolor{FuncColor}{$\triangleright$\ \ \texttt{POLYMAKE{\textunderscore}CREATE{\textunderscore}TIKZ{\textunderscore}FILE{\textunderscore}WITH{\textunderscore}SKETCH{\textunderscore}OPTIONS({\mdseries\slshape arg1, arg2, arg3, arg4})\index{POLYMAKECREATETIKZFILEWITHSKETCHOPTIONS@\texttt{POL}\-\texttt{Y}\-\texttt{M}\-\texttt{A}\-\texttt{K}\-\texttt{E{\textunderscore}}\-\texttt{C}\-\texttt{R}\-\texttt{E}\-\texttt{A}\-\texttt{T}\-\texttt{E{\textunderscore}}\-\texttt{T}\-\texttt{I}\-\texttt{K}\-\texttt{Z{\textunderscore}}\-\texttt{F}\-\texttt{I}\-\texttt{L}\-\texttt{E{\textunderscore}}\-\texttt{W}\-\texttt{I}\-\texttt{T}\-\texttt{H{\textunderscore}}\-\texttt{S}\-\texttt{K}\-\texttt{E}\-\texttt{T}\-\texttt{C}\-\texttt{H{\textunderscore}}\-\texttt{O}\-\texttt{P}\-\texttt{T}\-\texttt{IONS}!for IsExternalPolymakeObject, IsString, IsList, IsString}
\label{POLYMAKECREATETIKZFILEWITHSKETCHOPTIONS:for IsExternalPolymakeObject, IsString, IsList, IsString}
}\hfill{\scriptsize (operation)}}\\
\textbf{\indent Returns:\ }
 nothing 



 Works like
POLYMAKE{\textunderscore}CREATE{\textunderscore}TIKZ{\textunderscore}FILE with
3 arguments, but the last argument has to be a string of options passed
directly to sketch. For example, if you want to have a compilable tex file
build, add "-T". }

 }

 }

 \def\bibname{References\logpage{[ "Bib", 0, 0 ]}
\hyperdef{L}{X7A6F98FD85F02BFE}{}
}

\bibliographystyle{alpha}
\bibliography{PolymakeInterface.bib}

\addcontentsline{toc}{chapter}{References}

\def\indexname{Index\logpage{[ "Ind", 0, 0 ]}
\hyperdef{L}{X83A0356F839C696F}{}
}

\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Index}


\printindex

\newpage
\immediate\write\pagenrlog{["End"], \arabic{page}];}
\immediate\closeout\pagenrlog
\end{document}
