Menu

[fca612]: / ada-latex / ada.tex  Maximize  Restore  History

Download this file

61 lines (43 with data), 1.4 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
\documentclass[letterpaper, twoside]{book}
\usepackage{graphicx}
\usepackage{listings}
\setcounter{secnumdepth}{0} % number ``part'' and ``chapter'', thats it
\setcounter{tocdepth}{1} % put part, chapter, and section in the table-contents
\pagestyle{headings} % page number and chapter on the top
% A couple of this-book-specific commands
\newcommand{\mylstinputlisting}[1]{\smallskip \lstinputlisting{#1} \smallskip}
\lstnewenvironment{mylstlisting}{\smallskip}{\smallskip}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Beginning the book
\begin{document}
%minor inlined snippets of C++ found in Chapter8
\lstset{language=Ada, alsolanguage=C++, numbers=left, numberstyle=\small, stepnumber=1, columns=flexible, showstringspaces=false, showtabs=false}
\frontmatter
\title{Wikibook's Ada Programming}
\author{Martin Krischik \\
Manuel G\'omez \\
Santiago Urue\~na \\
And many other anonymous Wikibook Contributors }
\date{This version was compiled on \today}
\maketitle
\tableofcontents
\input{frontstuff}
\mainmatter
\part{Getting started}
\input{chapter1}
\input{chapter2}
\input{chapter3}
\part{Language Features}
\input{chapter4}
\input{chapter5}
\input{chapter6}
\input{chapter7}
\input{chapter8}
\input{chapter9}
\input{chapter10}
\appendix
\input{gfdl}
%placeholder
\backmatter
\bibliographystyle{plain}
\bibliography{bib}
\end{document}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.