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
}]{@
}
40 \hypersetup{colorlinks=true
}
41 \newcommand\goto[1]{\hyperref[#1]{{\color{red
}\scriptsize[\ref*
{#1}]}}}
42 \newcommand\future[1]{}
44 \geometry{margin=
0.35in
} % short margins
51 \lfoot{\small\it\today}
52 \cfoot{\small\it\thedoctitle~---~
\nitversion}
53 \rfoot{\small\it\thepage}
54 \renewcommand{\headrulewidth}{0pt
}
55 \renewcommand{\footrulewidth}{0pt
}
56 \setlength\footskip{15pt
}
59 \setlength\columnsep{8pt
} % space around big columns
61 \setlength\columnsep{4pt
} % space around smalls columns (for examples)
62 \input{nitreference-main.tex
}