viewgit/index.php:465 Only variables should be passed by reference [2048]

viewgit/index.php:466 Non-static method GeSHi::get_language_name_from_extension() should not be called statically [2048]

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{leoutils}[2010/05/12 Defines some useful command for a%
matematician writing notes]


% Richiediamo parecchi pacchetti che tanto uso sempre
% quando scrivo di matematica.
\RequirePackage{amsmath}
\RequirePackage{amsfonts}
\RequirePackage{amsthm}
\RequirePackage{mathrsfs}
\RequirePackage{color}

% SEZIONE 0: Comandi disponibili per la configurazione del pacchetto

% Questo permette di definire se teoremi e definizioni devono essere numerate
% per sezione o per capitolo. La scelta di default รจ section.
\newcommand{\@frazionamento}{section}
\newcommand{\@draft}{false}

% Il codice dei comandi:
\newcommand{\frazionamento}[1]{%
  \renewcommand{\@frazionamento}{#1}}
\newcommand{\draft}[1]{%
  \renewcommand{\@draft}{#1}}

% Rendiamo disponibili le opzioni per il pacchetto, in modo che
% l'utente possa decidere subito come suddividere i teoremi.
\DeclareOption{section}{\frazionamento{section}}
\DeclareOption{chapter}{\frazionamento{chapter}}
\DeclareOption{draft}{\draft{true}}
\ProcessOptions



% L'ambiente draftcomment serve a circondare i commenti
% che devono essere visibili quando stampo la versione
% ``bozza'' del documento che sto scrivendo
% \setlength{\marginparwidth}{2cm}
\newcommand{\draftcomment}[1]{%
\ifthenelse{\equal{\@draft}{true}}
{\vskip -1.5cm
\moveleft 1.8cm \hbox{%
{\raisebox{-1.8cm}{\makebox{\noindent \color{red} \fontspec{Windsong}\huge nota}}}%
}
\moveleft 1.8cm \hbox{\noindent\rule{\textwidth + 1.8cm}{0.3pt}}
\noindent\parbox{\textwidth}{%
\color{black}\noindent\fontspec[Mapping=tex-text]{Gentium}\footnotesize#1}\\%
\noindent\rule{\textwidth}{0.3pt}
\vskip 15pt}
{}
}







%% SEZIONE 1: Comandi e abbreviazioni per cose che uso sempre
% Parte 1: campi e parenti
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\Zp}[1]{\mathbb{Z}_{#1}}
\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\F}[1]{\mathbb{F}_{#1}}
\newcommand{\C}{\mathbb{C}}

% Parte 2: Insiemi noti
\newcommand{\parts}[1]{\mathscr{P}{#1}} % Insieme delle parti
\newcommand{\dom}[1]{\mathrm{Dom}{#1}}  % Dominio
\newcommand{\imm}[1]{\mathrm{Im}{#1}}   % Insieme immagine
\newcommand{\Lp}[2]{\mathcal{L}^{#1}(#2)} % L^p
\newcommand{\norm}[1]{\lVert{#1}\rVert} % Norma
\newcommand{\abs}[1]{\lvert{#1}\rvert}
\newcommand{\supp}[1]{\mathrm{supp}(#1)} % Supporto di una funzione

%
% Operatori comuni che uso mentre scrivo, e funzioni
% tipiche (tipo delta di dirac e compagne).
%

% Trasformata di fourier
\newcommand{\ft}[1]{\hat{#1}}
\newcommand{\wt}[1]{\mathrm{W}#1}
% \newcommand{\conj}[1]{\overline{#1}}
\newcommand{\conj}[1]{#1^{*}}
\newcommand{\conv}[2]{#1 \star #2}
\newcommand{\dirac}[2]{\delta_{#1}(#2)}

% Prodotto Scalare
\newcommand{\scpr}[2]{\langle #1, #2\rangle}

%
% Utility interne al document latex, ovvero
% shortcut non matematiche ma che mi permettono
% di mantenere una notazione comunte all'interno
% del documento
%

% Referenze
\newcommand{\myref}[1]{(\ref{#1})}

% Implicazione e freccette
\renewcommand{\implies}{\Rightarrow}




% SEZIONE 2: Teoremi e simili

\theoremstyle{plain}      \newtheorem{te}{Teorema}[\@frazionamento]
\theoremstyle{remark}     \newtheorem{os}{Osservazione}[\@frazionamento]
\theoremstyle{definition} \newtheorem{de}{Definizione}[\@frazionamento]
\theoremstyle{plain}      \newtheorem{pr}{Proposizione}[\@frazionamento]
\theoremstyle{plain}      \newtheorem{lem}{Lemma}[\@frazionamento]

\endinput
ViewGit