cgal/Manual_tools/example/one_manual/manual.tex

74 lines
2.8 KiB
TeX

% +------------------------------------------------------------------------+
% | manual.tex
% +------------------------------------------------------------------------+
% | includes the usual suspects (LaTeX style files), sets necessary
% | options, illustrates some optional options, and includes main.tex.
% +------------------------------------------------------------------------+
\documentclass{book}
\usepackage{alltt} % convinient for programs + a bit of formatting
\usepackage{cc_manual} % the style what all is about here
\usepackage{cc_manual_index} % the style file for indexing the manual
\usepackage{latex_converter} % the LaTeX to HTML converter style file
\usepackage{amssymb} % some more math symbols, needed for \mathbb
\usepackage{path} % for URL's (WWW addresses)
\usepackage{graphicx} % for PostScript figures
\usepackage{ipe} % for IPE figures
\usepackage{makeidx} % for the index
% page dimensions, for example as used for the CGAL manuals
% ---------------------------------------------------------
\textwidth 15.6cm
\textheight 23 cm
\topmargin -14mm
\evensidemargin 3mm
\oddsidemargin 3mm
\sloppy
\makeindex % so the indexing commands have some effect
% New manual style including tab markers on the side margins
% ----------------------------------------------------------
\marginparsep7mm
\marginparwidth15mm
\gdef\ccNewRefManualStyle{\ccTrue} % undef this for old style manual
% The tab markers are aligned with the top of the main text. To align
% them with the page header, the following definition of the amount
% by which the tab is shifted can be used
\setlength{\ccRefTabLift}{12.5mm}
% Optionally, package authors and a package release can be shown
% right below the chapter title. Comment out the following lines
% to get back to the default behavior.
% -----------------------------------------------------------------
\def\ccTagChapterAuthor{\ccTrue}
\def\ccTagChapterRelease{\ccTrue}
% The colunm layout can be set for all reference pages. Since
% local changes are possible, it is a good idea to enforce the
% the global layout before each reference page. This way, local
% changes of the layout do not change pages in the remainder
% of the manual.
% ------------------------------------------------------------
\newcommand{\cgalColumnLayout}{% example setting of the CGAL manuals
\ccSetThreeColumns{CGAL_Oriented_side}{}{\hspace*{8.5cm}}%
\ccPropagateThreeToTwoColumns
}
\cgalColumnLayout
\def\ccRefPageBegin{\ccParDims\cgalColumnLayout}
\def\ccRefPageEnd{\ccParDims\cgalColumnLayout}
% We define the global scope here, for example, to be 'CGAL::'.
% -------------------------------------------------------------
\ccDefGlobalScope{CGAL::}
\begin{document}
\input{main}
\printindex %places the index in the PostScript document
\end{document}
%% EOF %%