Caricamento pacchetto empheq

  • Creatore
    Topic
  • #46961
    Up
    0
    Down
    ::


    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 or to 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} `

Visualizzazione 3 filoni di risposte
  • Autore
    Risposte
    • #46962
      Up
      0
      Down
      ::

      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 or to 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

    • #46963
      Up
      0
      Down
      ::


      Ho risolto installando texlive-full, anche se non sono proprio soddisfatto della scelta: in questa maniera mi vengono installati tutti i pacchetti possibili…

    • #46964
      Up
      0
      Down
      ::


      Avresti potuto installare solo il pacchetto che ti interessava scaricandolo da CTAN ed inserirlo nell’albero personale senza dover installare tutto. Per sapere dove si trova l’albero basta dare da terminale
      `kpsexpand \$TEXMFHOME`
      Se la cartella che viene specificata non esiste puoi crearla tu stesso

      Spero di essere stato utile.
      Fra

    • #46965
      Up
      0
      Down
      ::

      Ho risolto installando texlive-full, anche se non sono proprio soddisfatto della scelta: in questa maniera mi vengono installati tutti i pacchetti possibili…

      Bastava installare texlive-latex3

Visualizzazione 3 filoni di risposte
  • Devi essere connesso per rispondere a questo topic.

Go to top