From d08cf4b721636fc9b7caa7c59e3a6e3bd316edbe Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 18 Dec 2012 23:29:58 +0000 Subject: engtlc (18dec12) git-svn-id: svn://tug.org/texlive/trunk@28571 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/engtlc/engtlc.sty | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/engtlc/engtlc.sty b/Master/texmf-dist/tex/latex/engtlc/engtlc.sty index 2376310f821..94cc407f3da 100644 --- a/Master/texmf-dist/tex/latex/engtlc/engtlc.sty +++ b/Master/texmf-dist/tex/latex/engtlc/engtlc.sty @@ -15,7 +15,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{engtlc}[2012/02/12 LaTeX package for telecommunications engineering version 3.1] +\ProvidesPackage{engtlc}[2012/12/18 LaTeX package for telecommunications engineering version 3.2] \@ifpackageloaded{amsmath}{}{\PackageError{engtlc}{Package amsmath is currently not loaded}{}} \@ifpackageloaded{amssymb}{}{\PackageError{engtlc}{Package amssymb is currently not loaded}{}} @@ -28,8 +28,8 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\providecommand{\unit}[1]{\ensuremath{\,\mathrm{#1}}} -\newcommand*{\micro}{\expandafter\ifx\csname muup\endcsname\relax +\providecommand*{\unit}[1]{\ensuremath{\,\mathrm{#1}}} +\providecommand*{\micro}{\expandafter\ifx\csname muup\endcsname\relax \text{\textmu}\else\muup\fi} % prefisso micro %%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -71,7 +71,7 @@ % resistenza %%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand{\mohm}{\unit{m\Omega}} -\newcommand{\ohm}{\unit{\Omega}} +\providecommand{\ohm}{\unit{\Omega}} \newcommand{\kohm}{\unit{k\Omega}} \newcommand{\Mohm}{\unit{M\Omega}} %%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -186,7 +186,7 @@ \newcommand{\intinf}[1]{\ensuremath{\int_{-\infty}^{+\infty}{#1}}} % integrale definito su tutto l'asse di 1 \newcommand{\deltain}[1]{\ensuremath{\delta\left(#1\right)}} % delta nel punto 1 \newcommand*{\iu}{\ensuremath{\mathrm{j}}} % unità immaginaria j; esempio: $\iu 2 \pi f$ -\newcommand{\ex}[1]{\ensuremath{\rm{e}^{#1}}} % esponenziale +\newcommand{\ex}[1]{\ensuremath{\textrm{e}^{#1}}} % esponenziale %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % gamma @@ -255,7 +255,7 @@ % probabilità %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcommand{\prob}[1]{\ensuremath{\mathcal{P}\left(#1\right)}} % probabilità dell'argomento 1 +\newcommand*{\prob}[1]{\ensuremath{\mathcal{P}\left(#1\right)}} % probabilità dell'argomento 1 \newcommand*{\valatt}[1]{\ensuremath{\mathbb{E}\left[#1\right]}} % valore atteso dell'argomento 1 \newcommand*{\var}[1]{\ensuremath{\mathrm{Var}\left[#1\right]}} % varianza dell'argomento 1 \newcommand*{\comma}{\,,\,} % simbolo probabilità congiunta; uso: \prob{X \virgola Y} -- cgit v1.2.3