summaryrefslogtreecommitdiffstats
path: root/skeletons/tex.erb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-03-26 08:25:27 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-03-26 08:25:27 +0200
commit567672be7bef7dcbecf70589dddbe6e193588475 (patch)
treef1d526c7709a5fce2d01c9574583db21c0be2266 /skeletons/tex.erb
parent1e2061952df01fe87209156062e060fb69e19ed8 (diff)
downloadvim-567672be7bef7dcbecf70589dddbe6e193588475.zip
vim-567672be7bef7dcbecf70589dddbe6e193588475.tar.gz
add skeletons
Diffstat (limited to 'skeletons/tex.erb')
-rw-r--r--skeletons/tex.erb74
1 files changed, 74 insertions, 0 deletions
diff --git a/skeletons/tex.erb b/skeletons/tex.erb
new file mode 100644
index 0000000..489f73c
--- /dev/null
+++ b/skeletons/tex.erb
@@ -0,0 +1,74 @@
+%
+% <%= @username %> <<%= @email %>>
+% <%= @filename %>
+% <%= @now %>
+%
+\documentclass[a4paper,twoside,12pt]{article}
+%
+\usepackage[french]{babel} % prise en charge du francais
+\usepackage[latin1]{inputenc} % codage des caracteres
+\usepackage[T1]{fontenc} % manipulation des polices
+\usepackage{moreverb} % listinginput[incr]{first}{file}
+\usepackage{fancybox} % VerbatimInput{file}
+\usepackage{fancyhdr} % en-tete pied de page
+\usepackage{hyperref} % lien hypertext pdf / html doit etre place en dernier
+\usepackage{layout} % afficher le layout
+% layout vertical
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{2cm}
+\setlength{\headsep}{0.5cm}
+\setlength{\topskip}{1.5cm}
+\setlength{\textheight}{21cm}
+\setlength{\footskip}{2cm}
+%layout horizontal
+\setlength{\evensidemargin}{49pt}
+\setlength{\oddsidemargin}{6pt}
+\setlength{\marginparwidth}{3cm}
+\setlength{\textwidth}{14cm}
+%
+\pagestyle{fancy}
+%
+%
+\begin{document}
+ %\layout
+ \tableofcontents
+ \newpage
+ %
+ %
+ \section{Section}
+ %
+ Text ...
+ %
+ \paragraph{Paragraph} P
+ %
+ \paragraph{} LABEL\label{L}
+ %
+ \subsection{Subsection}
+ %
+ %
+ \subsubsection{SubSubSection}
+ %
+ %
+ %
+ %
+ %
+ \newpage
+ \section{Section 2}
+ %
+ Label : \ref{L} page : \pageref{L}.\\
+ \url{http://cr.yp.to}\\
+ biblio : \cite{keyword}\\
+ \footnote{une note de bas de page}
+ %
+ \appendix
+ \section{Code Source}
+ \subsection{Code\_A}
+ %
+ %\insertFile{../Code_A}{scriptsize}
+ %
+ %\includegraphics*[height=8cm]{filename}
+ %\section{Bibliographie}
+ %
+ \bibliographystyle{plain}
+ \bibliography{biblio}
+\end{document}