1 % This file is part of Nit ( http://www.nitlanguage.org ).
3 % Copyright 2011 Jean Privat <jean@pryen.org>
5 % Licensed under the Apache License, Version 2.0 (the "License");
6 % you may not use this file except in compliance with the License.
7 % You may obtain a copy of the License at
9 % http://www.apache.org/licenses/LICENSE-2.0
11 % Unless required by applicable law or agreed to in writing, software
12 % distributed under the License is distributed on an "AS IS" BASIS,
13 % WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 % See the License for the specific language governing permissions and
15 % limitations under the License.
16 \documentclass[10pt
]{article
}
18 \usepackage[T1]{fontenc}
19 \usepackage{nitlanguage
}
21 \usepackage{savetrees
}
23 \usepackage{microtype
}
26 %\usepackage{../nit_version}
28 \newcommand\thedoctitle{A Concise Reference of the Nit Language
}
33 \usepackage[bookmarks=false,pdftitle=
{\thedoctitle}]{hyperref
}
34 \pdfcompresslevel=
9 %best compression level for text and image
36 %\setcounter{collectmore}{90} % Force better column breaks
38 \lstMakeShortInline[basicstyle=
\small\ttfamily\color{blue!
30!black
}]{@
}
41 \hypersetup{colorlinks=true
}
42 \newcommand\goto[1]{\hyperref[#1]{{\color{red
}\scriptsize[\ref*
{#1}]}}}
43 \newcommand\future[1]{}
44 \newcommand\passthrough[1]{#1}
45 \newcommand\tightlist{}
47 \geometry{margin=
0.35in
} % short margins
54 \lfoot{\small\it\today}
55 \cfoot{\small\it\thedoctitle}
56 \rfoot{\small\it\thepage}
57 \renewcommand{\headrulewidth}{0pt
}
58 \renewcommand{\footrulewidth}{0pt
}
59 \setlength\footskip{15pt
}
62 \setlength\columnsep{8pt
} % space around big columns
64 \setlength\columnsep{4pt
} % space around smalls columns (for examples)
66 \noindent\textbf{A Concise Reference of the Nit Language
}
68 This
document attempts to be as short as possible while covering all features of the language in deepth.
69 It is not a real manual to learn the language since concepts are covered when required.
70 %Forward and backward references about concepts are written like this~\goto{redef} which means Section~\ref*{redef}.
71 %An index\goto{index} also lists concepts and keywords for an improved navigation.
73 \input{nitreference-main.tex
}