%% This is file `tlsflyleaf.tex', %% Copyright 2013 Tristan GREGOIRE % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt % and version 1.3 or later is part of all distributions of LaTeX % version 2005/12/01 or later. % % % This work has the LPPL maintenance status `maintained'. % % The Current Maintainer of this work is T. GREGOIRE % \documentclass{scrartcl} % ============================================================ % PACKAGE \usepackage{fixltx2e} \usepackage{etex} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{textcomp} \usepackage{microtype} \usepackage{hyperref} \usepackage{listings} \usepackage{color} \usepackage{graphicx} \usepackage[toc]{multitoc} \usepackage{tocloft} \usepackage{wasysym} \hypersetup{linktocpage, colorlinks, citecolor=blue, filecolor=blue, linkcolor=blue, urlcolor=blue } \definecolor{dkgreen}{rgb}{0,0.6,0} \definecolor{gray}{rgb}{0.5,0.5,0.5} \definecolor{mauve}{rgb}{0.58,0,0.82} \lstset{language=tex, tabsize=2, showstringspaces=false, basicstyle={\small\ttfamily}, numbers=left, numberstyle=\tiny\color{gray}, keywordstyle=\color{blue}, commentstyle=\color{dkgreen}, breaklines=true, breakatwhitespace=true, title=\lstname, escapeinside={\%*}{*)}, frame=single } % ============================================================ % COMMAND \newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}} \newcommand*{\www}[2]{\href{#2}{\texttt{#1}}} \newcommand*{\pkg}[1]{\textsf{#1}} \newcommand*{\cs}[1]{\texttt{\textbackslash#1}} \makeatletter \newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}} \makeatother \newcommand*{\meta}[1]{\textlangle\textsl{#1}\textrangle} \newcommand*{\marg}[1]{\texttt{\{}\meta{#1}\texttt{\}}} \newcommand*{\opt}[1]{\texttt{#1}} \newcommand*{\cmdarg}[1]{\{<\textit{#1}>\}} \newcommand*{\file}[1]{\textit{\texttt{#1}}} \addtokomafont{title}{\rmfamily} % ============================================================ % TITLE \title{The \pkg{pdgunivtls} package\thanks{This manual corresponds to \pkg{pdgunivtls.sty}~v1.1, dated~22 March 2013.}} \author{Tristan GR\'EGOIRE\thanks{\mail{tlsflyleaf@onada.fr}}} \date{22 March 2013} % ============================================================ % DOCUMENT \begin{document} \maketitle \begin{abstract} \noindent This package provide a simple comand \cmd{\makeflyleaf} that creates a flyleaf page for the PhD manuscript made at University of Toulouse. \end{abstract} \renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}} \setlength\columnseprule{1pt} \renewcommand\contentsname{\begin{center}\hrulefill \hspace*{1cm} Contents\hspace*{1cm} \hrulefill\end{center}} \tableofcontents ~ \hrule %%%%%%%%%%%%%%%%%%%%%% \section{Introduction} %%%%%%%%%%%%%%%%%%%%%% This package provide a simple way to create and custom the official flyleaf of the University of Toulouse. It is very usefull for PhD student who want write their PhD manuscript in \LaTeX{} and insert the official flyleaf provide by the University in a private and not standard format. Main use of this package is similar to the standard \cmd{\maketitle} with some stuff define in the preambule of the \LaTeXe{} document and a single command (\cmd{\makeflyleaf}) used in the body of the document to generate the flyleaf page. %%%%%%%%%%%%%%%%%%%%%% \section{Required package} %%%%%%%%%%%%%%%%%%%%%% \begin{enumerate} \item[\LaTeX{}] a recent \LaTeX{} installation $\ge$ 2011. \item[\pkg{eso-pic}] a recent version of \pkg{eso-pic.sty}\\ \www{http://www.ctan.org/tex-archive/macros/latex/contrib/eso-pic}{http://www.ctan.org/tex-archive/macros/latex/contrib/eso-pic} \item[\pkg{geometry}] a recent version of \pkg{geometry.sty} at least a version $\ge$ 5.\\ \www{http://www.ctan.org/tex-archive/macros/latex/contrib/geometry}{http://www.ctan.org/tex-archive/macros/latex/contrib/geometry} \item[\pkg{shadowtext}] package: \pkg{shadowtext.sty}~v0.3, dated~2012/05/07 \\ \www{http://www.ctan.org/tex-archive/macros/latex/contrib/shadowtext}{http://www.ctan.org/tex-archive/macros/latex/contrib/shadowtext} \end{enumerate} %%%%%%%%%%%%%%%%%%%%%% \section{Preamble} %%%%%%%%%%%%%%%%%%%%%% In the preamble, you need to define all the contains of the flyleaf page information using very simple commands. But before that you need to load the package using the simple command line : \cmd{\usepackage[\textit{