summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-12-18 23:29:58 +0000
committerKarl Berry <karl@freefriends.org>2012-12-18 23:29:58 +0000
commitd08cf4b721636fc9b7caa7c59e3a6e3bd316edbe (patch)
treee2fa33ff4e105919517c76699b2b9685d91f3f83 /Master/texmf-dist/tex/latex
parent1ce66d6e8b999e7573362e1fb1a2510c94f961f4 (diff)
engtlc (18dec12)
git-svn-id: svn://tug.org/texlive/trunk@28571 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/engtlc/engtlc.sty12
1 files changed, 6 insertions, 6 deletions
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}