comparison 3rdparty/vmime/doc/book/book.tex @ 0:a4671277546c tip

created the repository for the thymian project
author ferencd
date Tue, 17 Aug 2021 11:19:54 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a4671277546c
1 \documentclass[11pt]{report}
2
3 \title{{\Huge VMime Book} \\ \ \\ A Developer's Guide To VMime}
4 \author{Vincent Richard \\ vincent@vmime.org}
5
6 \usepackage{graphicx}
7 \usepackage{tabularx}
8 \usepackage{array}
9 \usepackage{listings}
10 \usepackage[usenames]{color}
11 \usepackage{ucs}
12 \usepackage[utf8x]{inputenc}
13 \usepackage[vcentering,dvips]{geometry}
14 %\usepackage{type1cm} % scalable Computer Modern fonts
15 \usepackage{courier} % use Adobe Courier instead of Computer Modern Typewriter
16 \usepackage{fancyheadings}
17 \usepackage{hyperref}
18 \usepackage{verbatim}
19 \usepackage{footmisc}
20
21
22 \setcounter{secnumdepth}{10}
23 \setcounter{tocdepth}{10}
24
25 \def\vcode{\tt}
26 \def\vnull{{\tt NULL}}
27 \newcommand{\vnote}[1]{{\sc note:} #1}
28 \def\vexample{\tt\sc}
29 \newcommand{\verti}[1]{\rotatebox{90}{#1\ }} % vertical text
30 \def\vdot{$\bullet$}
31
32 \sloppy % Disable "overfull \hbox..." warnings
33
34 \newcommand{\Chapter}[1]{\chapter{#1} \setcounter{figure}{1}}
35
36 % 'listings' configuration
37 \definecolor{listingFrame}{rgb}{0.9,0.9,0.9}
38 \lstset{language=C++,showstringspaces=false}
39 \lstset{keywordstyle=\bf,commentstyle=\it}
40 \lstset{captionpos=b,extendedchars=true,inputencoding=latin1}
41 \lstset{fontadjust=true,basewidth={0.5em,0.4em},columns=fixed,flexiblecolumns=false}
42 \lstset{frame=leftline,framerule=0.1cm,framesep=0.3cm,rulecolor=\color{listingFrame}}
43 \lstset{abovecaptionskip=0.5cm,xleftmargin=1.1cm,aboveskip=0.5cm,belowskip=0.2cm}
44
45 % 'hyperref' configuration
46 \hypersetup{
47 backref=true,pagebackref=true,hyperindex=rue,colorlinks=true,
48 breaklinks=true,urlcolor=blue,linkcolor=black,bookmarks=true,bookmarksopen=true
49 }
50
51 % HTML output configuration
52 %HEVEA\renewcommand{\includegraphics}[2][]{\imgsrc{#2}}
53 %HEVEA\renewcommand{\verti}[1]{#1}
54 %HEVEA\def\vdot{\bullet}
55 %HEVEA\newcommand{\linespread}{}
56 %HEVEA\newcommand{\clubpenalty}{}
57 %HEVEA\newcommand{\widowpenalty}{}
58 %HEVEA\newcommand{\geometry}{}
59
60
61 % Page layout
62 \geometry{papersize={210mm,297mm},total={160mm,230mm}}
63
64 % Text layout
65 \setlength{\skip\footins}{1cm} % margin between text and footnotes
66 \clubpenalty=1000
67 \addtolength{\parskip}{+0.3cm}
68 \linespread{1.05}
69 \widowpenalty=1000
70
71
72 \begin{document}
73
74 % Title page
75 \maketitle
76 \newpage
77
78 % Table of contents
79 \tableofcontents
80 \newpage
81
82 % Chapters
83 \include{intro}
84 \include{building}
85 \include{start}
86 \include{basics}
87 \include{msg}
88 \include{net}
89
90 \thispagestyle{empty}
91 \ \newpage
92
93
94 %HEVEA\begin{comment}
95
96 % List of listings
97 \lstlistoflistings
98 \addcontentsline{toc}{chapter}{Listings}
99
100 % List of figures
101 \listoffigures
102 \addcontentsline{toc}{chapter}{List of figures}
103
104 % List of table
105 \listoftables
106 \addcontentsline{toc}{chapter}{List of tables}
107
108 %HEVEA\end{comment}
109
110
111 % Appendixes
112 \appendix
113
114 \chapter{The GNU General Public License\label{appendix_license}}
115 \verbatiminput{../../COPYING}
116
117 \end{document}
118