toaruos/docs/core.tex

63 lines
1.1 KiB
TeX
Raw Normal View History

2011-03-19 03:18:08 +03:00
% Documentation core for ToAruOS
% Copyright 2011 Kevin Lange
\documentclass{article}
% Switch to a nice sans-serif font.
\renewcommand*\familydefault{\sfdefault}
\usepackage[margin=1in]{geometry}
\usepackage{fancyhdr}
\usepackage{amsmath}
\usepackage{listings}
\usepackage{graphicx}
\usepackage[overlap, CJK]{ruby}
\usepackage{makeidx}
\usepackage[bookmarks]{hyperref}
\def\Title{ToAruOS Kernel Documentation}
\def\Author{Kevin Lange}
\makeindex
% Some nice headers for the core contents.
\pagestyle{fancy}
\lhead{ToAruOS Documentation}
\rhead{v0.0.1}
\begin{document}
\begin{CJK}{UTF8}{goth}
% Title page for documentation
\begin{titlepage}
\title{ToAruOS Kernel Documentation}
\author{Kevin Lange}
\maketitle
% Make sure we don't have a number here...
\thispagestyle{empty}
\end{titlepage}
% We're now on page 2.
\setcounter{page}{2}
% Table of Contents
2011-03-19 03:31:13 +03:00
\cleardoublepage
2011-03-19 03:18:08 +03:00
\tableofcontents
%% BEGIN DOCUMENT CONTENTS %%
2011-03-19 03:31:13 +03:00
% Introduction
\clearpage
\input{intro.tex}
2011-03-19 03:18:08 +03:00
% Dynamic Linker / Loader documentation
\clearpage
2011-03-19 03:31:13 +03:00
\input{loader.tex}
2011-03-19 03:18:08 +03:00
%% Index %%
2011-03-19 03:31:13 +03:00
\clearpage
\addcontentsline{toc}{section}{Index}
2011-03-19 03:18:08 +03:00
\printindex
\end{CJK}
\end{document}