dotfiles/vim/.vim/skeletons/skel.tex

92 lines
3.4 KiB
TeX
Raw Permalink Normal View History

2013-06-02 19:31:03 +00:00
% <+FILENAME+>
% Gillieron Kevin <kevin.gillieron@gw-computing.net>
% (C) 2011 - All rights reserved
\documentclass[a4paper,11pt]{report}
\usepackage[utf8x]{inputenc}
\usepackage[french]{babel}
\usepackage{lmodern}
\usepackage{hyperref}
\usepackage[pdftex]{graphicx}
\usepackage{listings}
\usepackage{version}
\usepackage[top=2.5cm, bottom=2.5cm, left=2cm, right=2cm]{geometry}
\usepackage{color}
\usepackage[Lenny]{fncychap}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead[LE,RO]{\slshape \rightmark}
\fancyhead[LO,RE]{\slshape \leftmark}
\fancyfoot[C]{\thepage}
\fancyfoot[L]{\copyright 2010 - Gillieron Kevin}
\fancyfoot[R]{Années 2010-2011}
% Title Page
\title{<+TITLE+>}
\author{Gillieron Kevin $<$kevin.gillieron@gw-computing.net$>$}
%Customization of href
\hypersetup{
bookmarks = true, % show bookmarks bar?
unicode = false, % non-Latin characters in Acrobats bookmarks
colorlinks = true, % false: boxed links; true: colored links
linkcolor = black, % color of internal links
citecolor = green, % color of links to bibliography
filecolor = magenta, % color of file links
urlcolor = blue % color of external links
}
% Source Code Highlighting Settings
\lstset{ %
language=C, % choose the language of the code
basicstyle=\footnotesize, % the size of the fonts that are used for the code
numbers=left, % where to put the line-numbers
numberstyle=\footnotesize, % the size of the fonts that are used for the line-numbers
stepnumber=1, % the step between two line-numbers. If it's 1 each line
% will be numbered
numbersep=5pt, % how far the line-numbers are from the code
backgroundcolor=\color{white}, % choose the background color. You must add \usepackage{color}
showspaces=false, % show spaces adding particular underscores
showstringspaces=false, % underline spaces within strings
showtabs=false, % show tabs within strings adding particular underscores
frame=single, % adds a frame around the code
tabsize=8, % sets default tabsize to 2 spaces
captionpos=b, % sets the caption-position to bottom
breaklines=true, % sets automatic line breaking
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
title=\lstname, % show the filename of files included with \lstinputlisting;
% also try caption instead of title
escapeinside={\%*}{*)}, % if you want to add a comment within your code
morekeywords={*,...} % if you want to add more keywords to the set
}
%New commands
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\begin{document}
%\maketitle
\begin{titlepage}
\begin{center}
% Upper part of the page
\textsc{\LARGE <+TITLEDOC+>}\\[1.5cm]
% Title
\HRule \\[0.4cm]
{ \huge \bfseries <+TITLEDOC2+>}\\[0.4cm]
\HRule \\[5.5cm]
\includegraphics[width=0.3\textwidth]{<+IMAGE+>}\\[1cm]
\vfill
% Bottom of the page
{
\large
% Author
\textit{Par} \textbf{\href{mailto:kevin.gillieron.kevin@gw-computing.net}{Kevin \textsc{Gillieron} $<$kevin.gillieron@gw-computing.net$>$}}
\textit{, le} \today
}
\end{center}
\end{titlepage}
\tableofcontents
\chapter{Introduction}
<+CONTENT+>
\end{document}