dotfiles/texmf/tex/latex/frank_tex/frank_tex.sty
2016-02-05 09:05:50 +01:00

96 lines
1.9 KiB
TeX

%% Informations générales
%%\NeedsTeXFormat{LaTeX2e}[1999/01/01]
\ProvidesPackage{frank_tex}[2013/10/01]
%% Chargement des extensions
%\RequirePackage[dvips]{graphicx}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{fontenc}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{hyperref}
\usepackage{microtype}
%\usepackage[french]{babel}
%\usepackage[french]{varioref}
\usepackage{varioref}
%\bibliographystyle{alpha}
\usepackage{boiboites}
\usepackage{acronym}
% Lenny, Conny ,Bjarne, Rejne, Glenn, Sonny, PetersLenny, Bjornstrup
\usepackage[Lenny]{fncychap}
\usepackage{eurosym}
\usepackage{siunitx}
%%%%\sisetup{group-separator = {`}}
\DeclareSIUnit{\EUR}{\text{\euro}}
\DeclareSIUnit{\yr}{yr}
\DeclareSIUnit{\month}{mo}
\sisetup{
per-mode = fraction,
% inter-unit-product = \ensuremath{{}\cdot{}},
}
\usepackage{indentfirst}
\setlength{\parindent}{1cm}
\date{\today}
\author{\Large{Frank Villaro-Dixon}\\\texttt{Frank@Villaro-Dixon.eu}}
\def\@maketitle{%
\newpage
\null
\vskip 2em%
\begin{center}%
\let \footnote \thanks
{\Large\bfseries \@title \par}%
\vskip 1.5em%
{\normalsize
\lineskip .5em%
\begin{tabular}[t]{c}%
\@author
\end{tabular}\par}%
\vskip 1em%
{\normalsize \@date}%
\end{center}%
\par
\vskip 1.5em}
%% Définition des commandes
\newcommand{\degree}{\ensuremath{^\circ}}
\newcommand{\irony}{\reflectbox{fuck ?}}
\newcommand{\interrobang}{}
\newcommand{\aster}{*} % maybe \ding{97} ?
\newcommand{\asterism}{
\begin{center}
\vspace{-1.75em}
\parbox{1in}{ % needed to prevent split across page boundaries
\begin{center}
\aster\\
\aster\hspace{1.15em}\aster
\end{center}
} %\parbox
\vspace{-0.75em}
\end{center}
}
\newcommand{\Therefore}{\ensuremath{\therefore }}
\newcommand{\Because}{\ensuremath{\because }}
%\newcommand{\pi}{\ensuremath{^\pi}}
%% Fin du package
\endinput