summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/engtlc/engtlc.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-17 23:47:04 +0000
committerKarl Berry <karl@freefriends.org>2010-02-17 23:47:04 +0000
commit5cadf8084791f36763cd2feaf2c6efdcc303c5bb (patch)
tree2c456d919131d806dcd28a3944a4fc13aebbba2b /Master/texmf-dist/tex/latex/engtlc/engtlc.sty
parent2214584d05546c9e67360ed71a2a07cd61acd550 (diff)
engtlc 2.0 (17feb10)
git-svn-id: svn://tug.org/texlive/trunk@17077 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/engtlc/engtlc.sty')
-rw-r--r--Master/texmf-dist/tex/latex/engtlc/engtlc.sty293
1 files changed, 142 insertions, 151 deletions
diff --git a/Master/texmf-dist/tex/latex/engtlc/engtlc.sty b/Master/texmf-dist/tex/latex/engtlc/engtlc.sty
index d3b2f950d68..389709ad1c9 100644
--- a/Master/texmf-dist/tex/latex/engtlc/engtlc.sty
+++ b/Master/texmf-dist/tex/latex/engtlc/engtlc.sty
@@ -1,58 +1,62 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Questo pacchetto è stato realizzato per velocizzare la scrittura
% di documenti da parte di studenti della facoltà di Ingegneria dell'informazione.
% E' in particolar modo indicato per gli studenti iscritti in facoltà di
% Ingegneria delle Telecomunicazioni.
%
-% Si ringrazia per i preziosi suggerimenti Alessio Sanna.
+% Si ringrazia per i suggerimenti sui simboli da usare Alessio Sanna e
+% per i preziosi consigli pratici di programmazione Enrico Gregorio.
%
% Copyright 2009 Claudio Fiandrino
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{engtlc}[2009/12/18 LaTeX package for telecommunications engineering]
+\ProvidesPackage{engtlc}[2010/02/12 LaTeX package for telecommunications engineering version 2.0]
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% unità di misura
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\providecommand{\unit}[1]{\ensuremath{\,\mathrm{#1}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
% tempo
%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\ho}{\unit{h }}
-\newcommand{\s}{\unit{s }}
-\newcommand{\ms}{\unit{ms }}
-\newcommand{\us}{\unit{\mu s }}
-\newcommand{\ns}{\unit{ns }}
-\newcommand{\ps}{\unit{ps }}
+\newcommand{\ho}{\unit{h}}
+\newcommand{\s}{\unit{s}}
+\newcommand{\ms}{\unit{ms}}
+\newcommand{\us}{\unit{\mu s}}
+\newcommand{\ns}{\unit{ns}}
+\newcommand{\ps}{\unit{ps}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
% metri
%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\um}{\unit{\mu m }}
-\newcommand{\mm}{\unit{mm }}
-\newcommand{\cm}{\unit{cm }}
-\newcommand{\dm}{\unit{dm }}
-\newcommand{\m}{\unit{m }}
-\newcommand{\km}{\unit{km }}
+\newcommand{\um}{\unit{\mu m}}
+\newcommand{\mm}{\unit{mm}}
+\newcommand{\cm}{\unit{cm}}
+\newcommand{\dm}{\unit{dm}}
+\newcommand{\m}{\unit{m}}
+\newcommand{\km}{\unit{km}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
% corrente
%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\MA}{\unit{MA }}
-\newcommand{\kA}{\unit{kA }}
-\newcommand{\A}{\unit{A }}
-\newcommand{\mA}{\unit{mA }}
-\newcommand{\uA}{\unit{\mu A }}
+\newcommand{\MA}{\unit{MA}}
+\newcommand{\kA}{\unit{kA}}
+\newcommand{\A}{\unit{A}}
+\newcommand{\mA}{\unit{mA}}
+\newcommand{\uA}{\unit{\mu A}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
% tensione
%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\MV}{\unit{MV }}
+\newcommand{\MV}{\unit{MV}}
\newcommand{\kV}{\unit{kV }}
-\newcommand{\V}{\unit{V }}
-\newcommand{\mV}{\unit{mV }}
-\newcommand{\uV}{\unit{\mu V }}
+\newcommand{\V}{\unit{V}}
+\newcommand{\mV}{\unit{mV}}
+\newcommand{\uV}{\unit{\mu V}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
% resistenza
%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -63,172 +67,159 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%
% conduttanza
%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\mSi}{\unit{mS }}
-\newcommand{\Si}{\unit{S }}
-\newcommand{\kSi}{\unit{kS }}
-\newcommand{\MSi}{\unit{MS }}
+\newcommand{\mSi}{\unit{mS}}
+\newcommand{\Si}{\unit{S}}
+\newcommand{\kSi}{\unit{kS}}
+\newcommand{\MSi}{\unit{MS}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
% capacità
%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\fFa}{\unit{fF }}
-\newcommand{\pFa}{\unit{pF }}
-\newcommand{\nFa}{\unit{nF }}
+\newcommand{\fFa}{\unit{fF}}
+\newcommand{\pFa}{\unit{pF}}
+\newcommand{\nFa}{\unit{nF}}
\newcommand{\uFa}{\unit{\mu F}}
-\newcommand{\mFa}{\unit{mF }}
-\newcommand{\Fa}{\unit{F }}
+\newcommand{\mFa}{\unit{mF}}
+\newcommand{\Fa}{\unit{F}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
% induttanza
%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\fHe}{\unit{fH }}
-\newcommand{\pHe}{\unit{pH }}
-\newcommand{\nHe}{\unit{nH }}
+\newcommand{\fHe}{\unit{fH}}
+\newcommand{\pHe}{\unit{pH}}
+\newcommand{\nHe}{\unit{nH}}
\newcommand{\uHe}{\unit{\mu H}}
-\newcommand{\mHe}{\unit{mH }}
-\newcommand{\He}{\unit{H }}
+\newcommand{\mHe}{\unit{mH}}
+\newcommand{\He}{\unit{H}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
% db
%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\dB}{\unit{dB }}
-\newcommand{\dBm}{\unit{dBm }}
+\newcommand{\dB}{\unit{dB}}
+\newcommand{\dBm}{\unit{dBm}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
% potenza
%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\uW}{\unit{\mu W}}
-\newcommand{\mW}{\unit{mW }}
-\newcommand{\W}{\unit{W }}
-\newcommand{\kW}{\unit{kW }}
-\newcommand{\MW}{\unit{MW }}
+\newcommand{\mW}{\unit{mW}}
+\newcommand{\W}{\unit{W}}
+\newcommand{\kW}{\unit{kW}}
+\newcommand{\MW}{\unit{MW}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
% frequenza
%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\Hz}{\unit{Hz }}
-\newcommand{\kHz}{\unit{kHz }}
-\newcommand{\MHz}{\unit{MHz }}
-\newcommand{\GHz}{\unit{GHz }}
-\newcommand{\THz}{\unit{THz }}
+\newcommand{\Hz}{\unit{Hz}}
+\newcommand{\kHz}{\unit{kHz}}
+\newcommand{\MHz}{\unit{MHz}}
+\newcommand{\GHz}{\unit{GHz}}
+\newcommand{\THz}{\unit{THz}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
% bit e chip
%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\bit}{\unit{bit }}
-\newcommand{\kbit}{\unit{kbit }}
-\newcommand{\Mbit}{\unit{Mbit }}
-\newcommand{\Byte}{\unit{Byte }}
-\newcommand{\kByte}{\unit{kByte }}
-\newcommand{\MByte}{\unit{MByte }}
-\newcommand{\bits}{\unit{bit/s }}
-\newcommand{\kbits}{\unit{kbit/s }}
-\newcommand{\Mbits}{\unit{Mbit/s }}
-\newcommand{\Bytes}{\unit{Byte/s }}
-\newcommand{\kBytes}{\unit{kByte/s }}
-\newcommand{\MBytes}{\unit{MByte/s }}
-\newcommand{\chips}{\unit{chip/s }}
-\newcommand{\kchips}{\unit{kchip/s }}
-\newcommand{\Mchips}{\unit{Mchip/s }}
-\newcommand{\chipsubit}{\unit{chip/bit }}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand{\bit}{\unit{bit}}
+\newcommand{\kbit}{\unit{kbit}}
+\newcommand{\Mbit}{\unit{Mbit}}
+\newcommand{\Byte}{\unit{Byte}}
+\newcommand{\kByte}{\unit{kByte}}
+\newcommand{\MByte}{\unit{MByte}}
+\newcommand{\bits}{\unit{bit/s}}
+\newcommand{\kbits}{\unit{kbit/s}}
+\newcommand{\Mbits}{\unit{Mbit/s}}
+\newcommand{\Bytes}{\unit{Byte/s}}
+\newcommand{\kBytes}{\unit{kByte/s}}
+\newcommand{\MBytes}{\unit{MByte/s}}
+\newcommand{\chips}{\unit{chip/s}}
+\newcommand{\kchips}{\unit{kchip/s}}
+\newcommand{\Mchips}{\unit{Mchip/s}}
+\newcommand{\chipsubit}{\unit{chip/bit}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% simboli generali
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\finees}{\begin{flushright} % fine esercizio
-$\blacksquare$
-\end{flushright}}
+\newcommand{\finees}{\par\nobreak\makebox[\linewidth][r]{$\blacksquare$}} % fine esercizio
\newcommand{\frecciadex}[1]{\hspace{#1cm } \Longrightarrow \hspace{#1cm }} % freccia di implicazione verso destra
-\newcommand{\frecciadown}{\begin{LARGE}\[ \Downarrow \]\end{LARGE}} % freccia di implicazione verso il basso
-\newcommand{\varianzarumore}{$\frac{N_0}{2}$} % varianza del rumore bianco
-\newcommand{\fourier}[1]{$\mathcal{F}\left\lbrace #1 \right\rbrace $} % traformata di Fourier di 1: \fourier[x(t)]
-\newcommand{\invfourier}[1]{$\mathcal{F}^{-1}\left\lbrace #1 \right\rbrace $} % trasformata di Fourier inversa di 1: \invfourier[x(t)]
-\newcommand{\fourierinmath}[1]{\mathcal{F}\left\lbrace #1 \right\rbrace } % traformata di Fourier in scrittura matematica di 1: $\fourier[x(t)]$
-\newcommand{\invfourierinmath}[1]{\mathcal{F}^{-1}\left\lbrace #1 \right\rbrace } % trasformata di Fourier inversa in scrittura matematica di 1: $\invfourier[x(t)]$
-\newcommand{\partereale}[1]{$\textbf{Re}\left\lbrace #1 \right\rbrace$} % parte reale di 1: \partereale[\tilde{x}(t)]
-\newcommand{\parteimm}[1]{$\textbf{Im}\left\lbrace #1 \right\rbrace$} % parte immaginaria di 1: \parteimm[\dot{x}(t)]
-\newcommand{\parterealeinmath}[1]{\textbf{Re}\left\lbrace #1 \right\rbrace} % parte reale in scrittura matematica di 1: $\parterealeinmath[\tilde{x}(t)]$
-\newcommand{\parteimminmath}[1]{\textbf{Im}\left\lbrace #1 \right\rbrace} % parte immaginaria in scrittura matematica di 1: $\parteimminmath[\dot{x}(t)]$
-\newcommand{\prob}[1]{$\mathcal{P}(#1)$} % probabilità dell'argomento 1
-\newcommand{\probinmath}[1]{\mathcal{P}(#1)} % probabilità dell'argomento 1 in scrittura matematica
-\newcommand{\Info}[1]{$I(#1)$} % quantità di informazione dell'argomento 1
-\newcommand{\Infoinmath}[1]{I(#1)} % quantità di informazione dell'argomento 1 in scrittura matematica
-\newcommand{\versore}[1]{$\hat{#1}$} % versore di 1
-\newcommand{\vettore}[1]{$\overrightarrow{#1}$} % vettore di 1
-\newcommand{\versoreinmath}[1]{\hat{#1}} % versore di 1 in scrittura matematica
-\newcommand{\vettoreinmath}[1]{\overrightarrow{#1}} % vettore di 1 in scrittura matematica
-\newcommand{\coseno}[1]{$\cos\,(2\pi#1t)$} % coseno di frequenza indicata in 1: \coseno[f_0]
-\newcommand{\seno}[1]{$\sin\,(2\pi#1t)$} % seno di frequenza indicata in 1: \seno[f_0]
-\newcommand{\cosenoinmath}[1]{\cos\,(2\pi#1t)} % coseno in scrittura matematica di frequenza indicata in 1: $\coseno[f_0] $
-\newcommand{\senoinmath}[1]{\sin\,(2\pi#1t)} % seno in scrittura matematica di frequenza indicata in 1: $\seno[f_0] $
-\newcommand{\energia}[1]{$\mathcal{E}_{#1}$} % energia con pedice indicato in 1: energia media \energia[m]
-\newcommand{\energiainmath}[1]{\mathcal{E}_{#1}} % energia in scrittura matematica con pedice indicato in 1: energia media $\energia[m]$
-\newcommand{\moduloexp}[2]{$\left\vert #1 \right\vert^{#2} $} % modulo di 1 con esponente 2: \moduloexp{x_1}{3}
-\newcommand{\moduloexpinmath}[2]{\left\vert #1 \right\vert^{#2} } % modulo di 1 con esponente 2 1 da usare in scrittura matematica: $\alpha\cdot\moduloexpinmath{\frac{x(t)}{\beta}}{2}$
-\newcommand{\modulo}[1]{$\left\vert #1 \right\vert$} % modulo di 1: \modulo[x_1]
-\newcommand{\moduloinmath}[1]{\left\vert #1 \right\vert } % modulo di 1 da usare in scrittura matematica: $\alpha\cdot\moduloinmath[\frac{x(t)}{\beta}]$
-\newcommand{\indB}[1]{\left. #1 \right\vert_{\text{dB}}} % 1 espresso in dB, da usare in scrittura matematica: $\[ \indB[\frac{C}{I}] \]$
-\newcommand{\massimo}[1]{$\text{max}\left\lbrace #1 \right\rbrace$} % massimo di 1: \massimo[\dot{x}(t)]
-\newcommand{\massimoinmath}[1]{\text{max}\left\lbrace #1 \right\rbrace} % massimo in scrittura matematica di 1: $\massimoinmath[\tilde{x}(t)]$
-\newcommand{\minimo}[1]{$\text{min}\left\lbrace #1 \right\rbrace$} % minimo di 1: \minimo[\dot{x}(t)]
-\newcommand{\minimoinmath}[1]{\text{min}\left\lbrace #1 \right\rbrace} % minimo in scrittura matematica di 1: $\minimoinmath[\tilde{x}(t)]$
-\newcommand{\valc}{3\cdot 10^8} % velocità della luce
-\newcommand{\loga}[2]{$\text{log}_{#1}{#2} $} % logaritmo di base 1 e argomento 2
-\newcommand{\logainmath}[2]{\text{log}_{#1}{#2}} % logaritmo di base 1 e argomento 2 in scrittura matematica
+\newcommand{\frecciadown}{\begin{center}\LARGE\ensuremath{\Downarrow}\end{center}} % freccia di implicazione verso il basso
+\newcommand{\varianzarumore}{\ensuremath{\frac{N_0}{2}}} % varianza del rumore bianco
+\newcommand{\et@symbolbracearg}[2]{%
+ \ensuremath{#1\mathopen{}\left\lbrace#2\right\rbrace\mathclose{}}}
+
+\newcommand{\fourier}[1]{\et@symbolbracearg{\mathcal{F}}{#1}} % traformata di Fourier di 1: \fourier[x(t)]
+\newcommand{\invfourier}[1]{\et@symbolbracearg{\mathcal{F}^{-1}}{#1}} % trasformata di Fourier inversa di 1: \invfourier[x(t)]
+\newcommand{\partereale}[1]{\et@symbolbracearg{\textbf{Re}}{#1}} % parte reale di 1: \partereale[\tilde{x}(t)]
+\newcommand{\parteimm}[1]{\et@symbolbracearg{\textbf{Im}}{#1}} % parte immaginaria di 1: \parteimm[\dot{x}(t)]
+\newcommand{\prob}[1]{\ensuremath{\mathcal{P}\left(#1\right)}} % probabilità dell'argomento 1
+\newcommand{\Info}[1]{\ensuremath{I\left(#1\right)}} % quantità di informazione dell'argomento 1
+\newcommand{\versore}[1]{\ensuremath{\hat{#1}}} % versore di 1
+\newcommand{\vettore}[1]{\ensuremath{\overrightarrow{#1}}} % vettore di 1
+\newcommand{\coseno}[1]{\ensuremath{\cos\left(2\pi#1t\right)}} % coseno di frequenza indicata in 1: \coseno[f_0]
+\newcommand{\seno}[1]{\ensuremath{\sin\left(2\pi#1t\right)}} % seno di frequenza indicata in 1: \seno[f_0]
+\newcommand{\energia}[1]{\ensuremath{\mathcal{E}_{#1}}} % energia con pedice indicato in 1: energia media \energia[m]
+\newcommand{\moduloexp}[2]{\ensuremath{\left\vert#1\right\vert^{#2}}} % modulo di 1 con esponente 2: \moduloexp{x_1}{3}
+\newcommand{\modulo}[1]{\ensuremath{\left\vert#1\right\vert}} % modulo di 1: \modulo[x_1]
+\newcommand{\indB}[1]{%
+ \ensuremath{\mathopen{}\left.#1\right\vert_{\mathrm{dB}}\mathclose{}}} % 1 espresso in dB, da usare in scrittura matematica: $\[ \indB
+\newcommand{\massimo}[1]{\et@symbolbracearg{\max}{#1}} % massimo di 1: \massimo[\dot{x}(t)]
+\newcommand{\minimo}[1]{\et@symbolbracearg{\min}{#1}} % minimo di 1: \minimo[\dot{x}(t)]
+\newcommand{\valc}{3\cdot 10^8} % velocità della luce
+\newcommand{\loga}[2]{\ensuremath{\log_{#1}#2}} % logaritmo di base 1 e argomento 2
+\newcommand{\analitic}[1]{\ensuremath{\mathring{#1}}} % segnale analitico di 1 oppure sorgente di campo
+\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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% gamma
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\gammatens}{$^{\text{V}}\Gamma$} % gamma in tensione generico
-\newcommand{\gammatensinmath}{^{\text{V}}\Gamma} % gamma in tensione generico in scrittura matematica
-\newcommand{\gammacorr}{$^{\text{I}}\Gamma$} % gamma in corrente generico
-\newcommand{\gammacorrinmath}{^{\text{I}}\Gamma} % gamma in corrente generico in scrittura matematica
-\newcommand{\gammatensin}[1]{$^{\text{V}}\Gamma_{\text{#1}}$} % gamma in tensione calcolato in 1
-\newcommand{\gammatensinmathin}[1]{^{\text{V}}\Gamma_{\text{#1}}} % gamma in tensione in scrittura matematica calcolato in 1
-\newcommand{\gammacorrin}[1]{$^{\text{I}}\Gamma_{\text{#1}}$} % gamma in corrente calcolato in 1
-\newcommand{\gammacorrinmathin}[1]{^{\text{I}}\Gamma_{\text{#1}}} % gamma in corrente in scrittura matematica calcolato in 1
-\newcommand{\gammain}[1]{$\Gamma_{\text{#1}}$} % gamma in tensione senza apice calcolato in 1
-\newcommand{\gammainmathin}[1]{\Gamma_{\text{#1}}} % gamma in tensione senza apice in scrittura matematica calcolato in 1
-\newcommand{\gammak}{$^{\text{k}}\Gamma$} % gamma di kurokawa
-\newcommand{\gammakinmath}{^{\text{k}}\Gamma} % gamma di kurokawa in scrittura matematica
+\newcommand{\gammatens}{\ensuremath{{}^{\mathrm{V}}\Gamma}} % gamma in tensione generico
+\newcommand{\gammacorr}{\ensuremath{{}^{\mathrm{I}}\Gamma}} % gamma in corrente generico
+\newcommand{\gammatensin}[1]{\ensuremath{{}^{\mathrm{V}}\Gamma_{\mathrm{#1}}}} % gamma in tensione calcolato in 1
+\newcommand{\gammacorrin}[1]{\ensuremath{{}^{\mathrm{I}}\Gamma_{\mathrm{#1}}}} % gamma in corrente calcolato in 1
+\newcommand{\gammain}[1]{\ensuremath{\Gamma_{\mathrm{#1}}}} % gamma in tensione senza apice calcolato in 1
+\newcommand{\gammak}{\ensuremath{{}^{\mathrm{k}}\Gamma}} % gamma di kurokawa
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% impedenze e ammettenze
+% lambda
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\z}[1]{$\text{Z}_{#1}$} % impedenza nel punto 1
-\newcommand{\zinmath}[1]{\text{Z}_{#1}} % impedenza in scrittura matematica nel punto 1
-\newcommand{\znorm}[1]{$\zeta_{#1}$} % impedenza normalizzata nel punto 1
-\newcommand{\znorminmath}[1]{\zeta_{#1}} % impedenza normalizzata in scrittura matematica nel punto 1
-\newcommand{\y}[1]{$\text{Y}_{#1}$} % ammettenza nel punto 1
-\newcommand{\yinmath}[1]{\text{Y}_{#1}} % ammettenza in scrittura matematica nel punto 1
-\newcommand{\ynorm}[1]{$\text{y}_{#1}$} % ammettenza normalizzata nel punto 1
-\newcommand{\ynorminmath}[1]{\text{y}_{#1}} % ammettenza normalizzata in scrittura matematica nel punto 1
-\newcommand{\zinf}{Z$_{\infty}$} % impedenza caratteristica generica
-\newcommand{\zinfinmath}{\text{Z}_{\infty}} % impedenza caratteristica generica in scrittura matematica
-\newcommand{\zinfn}[1]{Z$_{\infty #1}$} % impedenza caratteristica numerata con 1
-\newcommand{\zinfninmath}[1]{\text{Z}_{\infty #1}} % impedenza caratteristica numerata con 1 in scrittura matematica
-\newcommand{\yinf}{Y$_{\infty}$} % ammettenza caratteristica generica
-\newcommand{\yinfinmath}{\text{Y}_{\infty}} % ammettenza caratteristica generica in scrittura matematica
-\newcommand{\yinfn}[1]{Y$_{\infty #1}$} % ammettenza caratteristica numerata con 1
-\newcommand{\yinfninmath}[1]{\text{Y}_{\infty #1}} % ammettenza caratteristica numerata con 1 in scrittura matematica
-\newcommand{\zvt}{Z$_0$} % impedenza carattereristica del vuoto
-\newcommand{\zvtinmath}{\text{Z}_0} % impedenza carattereristica del vuoto in scrittura matematica
-\newcommand{\yvt}{Y$_0$} % ammettenza carattereristica del vuoto
-\newcommand{\yvtinmath}{\text{Y}_0} % ammettenza carattereristica del vuoto in scrittura matematica
+\newcommand{\lbvt}{\ensuremath{\lambda_0}} % lambda nel vuoto
+\newcommand{\lbg}{\ensuremath{\lambda_g}} % lambda guidata
+\newcommand{\lbgvt}{\ensuremath{\lambda_{g_0}}} % lambda guidata 0
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% campo elettrico e magnetico
+% potenza
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\campoe}{$\underline{\mathcal{E}}(\underline{r},t)$} % campo elettrico in funzione di r e t
-\newcommand{\campoefas}{$\underline{\text{E} }(\underline{r})$} % fasore del campo elettrico in funzione di r
-\newcommand{\campoeinmath}{\underline{\mathcal{E}}(\underline{r},t)} % campo elettrico in funzione di r e t in scrittura matematica
-\newcommand{\campoefasinmath}{\underline{\text{E} }(\underline{r})} % fasore del campo elettrico in funzione di r in scrittura matematica
-\newcommand{\campoh}{$\underline{\mathcal{H}}(\underline{r},t)$} % campo magnetico in funzione di r e t
-\newcommand{\campohfas}{$\underline{\text{H} }(\underline{r})$} % fasore del campo magnetico in funzione di r
-\newcommand{\campohinmath}{\underline{\mathcal{H}}(\underline{r},t)} % campo magnetico in funzione di r e t in scrittura matematica
-\newcommand{\campohfasinmath}{\underline{\text{H} }(\underline{r})} % fasore del campo magnetico in funzione di r in scrittura matematica
+\newcommand{\potin}[1]{\ensuremath{P_{#1}}} % potenza nel punto 1
+\newcommand{\potdisp}{\ensuremath{P_{\mathrm{disp}}}} % potenza disponibile
+\newcommand{\potalim}{\ensuremath{P_{\mathrm{alim}}}} % potenza alimentazione
+\newcommand{\potirr}{\ensuremath{P_{\mathrm{irr}}}} % potenza irradiazione
+\newcommand{\potdiss}{\ensuremath{P_{\mathrm{diss}}}} % potenza dissipata
+\newcommand{\potinc}{\ensuremath{P_{\mathrm{inc}}}} % potenza incidente
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% impedenze e ammettenze
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\newcommand{\z}[1]{\ensuremath{\mathrm{Z}_{#1}}} % impedenza nel punto 1
+\newcommand{\znorm}[1]{\ensuremath{\zeta_{#1}}} % impedenza normalizzata nel punto 1
+\newcommand{\y}[1]{\ensuremath{\mathrm{Y}_{#1}}} % ammettenza nel punto 1
+\newcommand{\ynorm}[1]{\ensuremath{\mathrm{y}_{#1}}} % ammettenza normalizzata nel punto 1
+\newcommand{\zinf}{\ensuremath{\mathrm{Z}_{\infty}}} % impedenza caratteristica generica
+\newcommand{\zinfn}[1]{\ensuremath{\mathrm{Z}_{\infty #1}}} % impedenza caratteristica numerata con 1
+\newcommand{\yinf}{\ensuremath{\mathrm{Y}_{\infty}}} % ammettenza caratteristica generica
+\newcommand{\yinfn}[1]{\ensuremath{\mathrm{Y}_{\infty #1}}} % ammettenza caratteristica numerata con 1
+\newcommand{\zvt}{\ensuremath{\mathrm{Z}_0}} % impedenza carattereristica del vuoto
+\newcommand{\yvt}{\ensuremath{\mathrm{Y}_0}} % ammettenza carattereristica del vuoto
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% campo elettrico e magnetico
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand{\campoe}{\ensuremath{\underline{\mathcal{E}}(\underline{r},t)}} % campo elettrico in funzione di r e t
+\newcommand{\campoefas}{\ensuremath{\underline{\mathrm{E}}(\underline{r})}} % fasore del campo elettrico in funzione di r
+\newcommand{\campoh}{\ensuremath{\underline{\mathcal{H}}(\underline{r},t)}} % campo magnetico in funzione di r e t
+\newcommand{\campohfas}{\ensuremath{\underline{\mathrm{H}}(\underline{r})}} % fasore del campo magnetico in funzione di r
\endinput