Buona sera a tutti,
sembrerà una banalità, ma non riesco a caricare il pacchetto empheq. Ovviamente, scrivo nel preambolo il seguente codice:
` \usepackage{amsmath,empheq,xcolor} `
Mi viene restituito il seguente errore:
` ! LaTeX Error: File `empheq.sty' not found.
Type X to quit orto proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
l.3 \begin
{document}^^M
*** (cannot \read from terminal in nonstop modes)
Here is how much of TeX's memory you used:
799 strings out of 495062
8777 string characters out of 1182645
56404 words of memory out of 3000000
4050 multiletter control sequences out of 15000+50000
3640 words of font info for 14 fonts, out of 3000000 for 9000
28 hyphenation exceptions out of 8191
27i,0n,20p,217b,36s stack positions out of 5000i,500n,10000p,200000b,50000s
No pages of output. `Mi trovo in ambiente linux (ubuntu 10.04) ed uso la distribuzione Tex Live.
Grazie in anticipo,
En
P.S.: per completezza vi riporto l’intero codice del documento, ereditato da una precedente discussione,
` \documentclass{article}
\usepackage{amsmath,empheq,xcolor}
\begin{document}
\newcommand*\mygraybox[1]{%
\colorbox{lightgray}{#1}}
\begin{empheq}[box=%
\mygraybox]{align*}
E_\theta &= \frac{j\eta}{2\lambda r} \, I_0 l \sin\theta \, e^{-j\beta r} \\
H_\phi &= \frac{E_\theta}{\eta} \\
E_\text{short}&= \frac{E_\text{dipolo}}{2} \Leftarrow (dl \rightarrow 2l)
\end{empheq}
\end{document} `
È semplice: non hai empheq nel tuo sistema. Cerca quale pacchetto di Synaptic lo fornisce.
Ciao
Enrico