Modificare allineamenti: errore?

  • Creatore
    Topic
  • #42645
    Up
    0
    Down
    ::


    Sono all’interno del file moderncvclssic.sty e questo è un estratto:

      \renewcommand*{\maketitle}{%
      % name and title
      \if@DEBUG\framebox{\fi
      \begin{minipage}{.425\textwidth}% prima era .525
      \firstnamestyle{\@firstname~}\familynamestyle{\@familyname}%
      \ifthenelse{\isundefined{\@title}}%
      {}%
      {\\[1.25em]\titlestyle{\@title}}%
      \end{minipage}%
      \if@DEBUG}\fi
      \hfill%
      \if@DEBUG\framebox{\fi%
      % optional data
      \begin{minipage}{.325\textwidth}% prima era .225
      \raggedleft\addressfont\color{addresscolor}%
      \ifthenelse{\isundefined{\@addressstreet}}{}{%
      \addresssymbol~\@addressstreet%
      \ifthenelse{\isundefined{\@addresscity}}{}{\\\@addresscity}%
      \\[.2em]}%
      \ifthenelse{\isundefined{\@mobile}}{}{\mobilesymbol~\@mobile\\[.2em]}%
      \ifthenelse{\isundefined{\@phone}}{}{\phonesymbol~\@phone\\[.2em]}%
      \ifthenelse{\isundefined{\@fax}}{}{\faxsymbol~\@fax\\[.2em]}%
      \ifthenelse{\isundefined{\@email}}{}{\emailsymbol~\emaillink{\@email}\\[.2em]}%
      \ifthenelse{\isundefined{\@extrainfo}}{}{\@extrainfo\\[.2em]}%
      \end{minipage}%

    Quando compilo il mio Cv dal file .tex mi dà questo errore e non riesco a capire qual è il problema, dove può mancare una parentesi o qualcosa del gener…vi inserisco parte del file log:

    `
    (C:\Programmi\MiKTex\tex\latex\lm\t1lmss.fd
    File: t1lmss.fd 2009/10/07 v1.5 Font defs for Latin Modern
    )
    \maketitlenamemaxwidth=\skip59
    \maketitlenamefullwidth=\skip60

    LaTeX Font Warning: Font shape `T1/lmss/m/sc' in size <34> not available
    (Font) Font shape `T1/lmr/m/sc' tried instead on input line 113.

    \maketitlenamewidth=\skip61
    \maketitlepicturewidth=\skip62
    \maketitledetailswidth=\skip63
    )
    Runaway argument?
    {\if@DEBUG \framebox {\fi \begin {minipage}{.425\textwidth }\firstnamestyle
    \ETC.
    ! File ended while scanning use of \@argdef.

    \par
    l.38 \begin{document}

    I suspect you have forgotten a `}', causing me
    to read past where you wanted me to stop.
    I'll try to recover; but if the error is serious,
    you'd better type `E' or `X' now and fix your file.

    *geometry auto-detecting driver*
    *geometry detected driver: pdftex*
    ——————– Geometry parameters
    paper: a4paper
    landscape: —
    twocolumn: —
    twoside: —
    asymmetric: —
    h-parts: 59.74988pt, 0.8\paperwidth , 59.74988pt
    v-parts: 67.60269pt, 0.8\paperheight , 101.4041pt
    hmarginratio: 1:1
    vmarginratio: 2:3
    lines: —
    heightrounded: —
    bindingoffset: 0.0pt
    truedimen: —
    includehead: —
    includefoot: —
    includemp: —
    driver: pdftex
    ——————– Page layout dimensions and switches
    \paperwidth 597.50787pt
    \paperheight 845.04684pt
    \textwidth 478.00812pt
    \textheight 676.04005pt
    \oddsidemargin -12.52011pt
    \evensidemargin -12.52011pt
    \topmargin -41.6673pt
    \headheight 12.0pt
    \headsep 25.0pt
    \footskip 30.0pt
    \marginparwidth 47.0pt
    \marginparsep 6.0pt
    \columnsep 10.0pt
    \skip\footins 9.0pt plus 4.0pt minus 2.0pt
    \hoffset 0.0pt
    \voffset 0.0pt
    \mag 1000

    (1in=72.27pt, 1cm=28.45pt)
    ———————–
    LaTeX Font Info: Try loading font information for OT1+lmr on input line 41.
    (C:\Programmi\MiKTex\tex\latex\lm\ot1lmr.fd
    File: ot1lmr.fd 2009/10/07 v1.5 Font defs for Latin Modern
    )
    LaTeX Font Info: Try loading font information for OML+lmm on input line 41.

    (C:\Programmi\MiKTex\tex\latex\lm\omllmm.fd
    File: omllmm.fd 2009/10/07 v1.5 Font defs for Latin Modern
    )
    LaTeX Font Info: Try loading font information for OMS+lmsy on input line 41.

    (C:\Programmi\MiKTex\tex\latex\lm\omslmsy.fd
    File: omslmsy.fd 2009/10/07 v1.5 Font defs for Latin Modern
    )
    LaTeX Font Info: Try loading font information for OMX+lmex on input line 41.

    (C:\Programmi\MiKTex\tex\latex\lm\omxlmex.fd
    File: omxlmex.fd 2009/10/07 v1.5 Font defs for Latin Modern
    )
    LaTeX Font Info: External font `lmex10' loaded for size
    (Font) <10> on input line 41.
    LaTeX Font Info: External font `lmex10' loaded for size
    (Font) <7> on input line 41.
    LaTeX Font Info: External font `lmex10' loaded for size
    (Font) <5> on input line 41.
    LaTeX Font Info: Font shape `T1/lmss/m/it' in size <10> not available
    (Font) Font shape `T1/lmss/m/sl' tried instead on input line 42.

    Underfull \hbox (badness 10000) in paragraph at lines 41–44

    []

    Underfull \hbox (badness 10000) in paragraph at lines 45–49

    []

    Underfull \hbox (badness 10000) in paragraph at lines 50–56

    []

    LaTeX Font Info: Font shape `T1/lmss/m/it' in size <8> not available
    (Font) Font shape `T1/lmss/m/sl' tried instead on input line 58.

    Underfull \hbox (badness 10000) in paragraph at lines 57–61

    []

    Underfull \hbox (badness 10000) in paragraph at lines 62–66

    []

    Underfull \hbox (badness 10000) in paragraph at lines 67–71

    []

    Overfull \hbox (1.66766pt too wide) in paragraph at lines 77–77
    []\T1/lmss/m/n/10 + []|
    []

    Underfull \hbox (badness 10000) in paragraph at lines 74–78

    []

    [1

    {C:/Programmi/MiKTex/pdftex/config/pdftex.map}]
    LaTeX Font Info: Try loading font information for U+mvs on input line 80.

    (C:\Programmi\MiKTex\tex\latex\marvosym\umvs.fd)
    Underfull \hbox (badness 10000) in paragraph at lines 79–83

    []

    [2] (D:\GIAMPY\Vitae\CV_LaTeX\CV_Giampy_classic.aux) )
    Here is how much of TeX's memory you used:
    6061 strings out of 495302
    86871 string characters out of 3182377
    166680 words of memory out of 3000000
    9125 multiletter control sequences out of 15000+200000
    52721 words of font info for 39 fonts, out of 3000000 for 9000
    14 hyphenation exceptions out of 8191
    45i,12n,45p,339b,304s stack positions out of 5000i,500n,10000p,200000b,50000s
    {C:/Programmi/MiKTex/font
    s/enc/dvips/lm/lm-ec.enc}< C:/Programmi/MiKTex/fonts/type1/public/lm/lmss10.pfb>
    Output written on CV_Giampy_classic.pdf (2 pages, 147318 bytes).
    PDF statistics:
    85 PDF objects out of 1000 (max. 8388607)
    11 named destinations out of 1000 (max. 500000)
    65 words of extra memory for PDF output out of 10000 (max. 10000000)
    `

    Cosa dire anche degli errori di font? Grazie.

Visualizzazione 8 filoni di risposte
  • Autore
    Risposte
    • #42646
      Up
      0
      Down
      ::

      Sono all’interno del file moderncvclssic.sty e questo è un estratto:

        \renewcommand*{\maketitle}{%
        % name and title
        \if@DEBUG\framebox{\fi
        \begin{minipage}{.425\textwidth}% prima era .525
        \firstnamestyle{\@firstname~}\familynamestyle{\@familyname}%
        \ifthenelse{\isundefined{\@title}}%
        {}%
        {\\[1.25em]\titlestyle{\@title}}%
        \end{minipage}%
        \if@DEBUG}\fi
        \hfill%
        \if@DEBUG\framebox{\fi%
        % optional data
        \begin{minipage}{.325\textwidth}% prima era .225
        \raggedleft\addressfont\color{addresscolor}%
        \ifthenelse{\isundefined{\@addressstreet}}{}{%
        \addresssymbol~\@addressstreet%
        \ifthenelse{\isundefined{\@addresscity}}{}{\\\@addresscity}%
        \\[.2em]}%
        \ifthenelse{\isundefined{\@mobile}}{}{\mobilesymbol~\@mobile\\[.2em]}%
        \ifthenelse{\isundefined{\@phone}}{}{\phonesymbol~\@phone\\[.2em]}%
        \ifthenelse{\isundefined{\@fax}}{}{\faxsymbol~\@fax\\[.2em]}%
        \ifthenelse{\isundefined{\@email}}{}{\emailsymbol~\emaillink{\@email}\\[.2em]}%
        \ifthenelse{\isundefined{\@extrainfo}}{}{\@extrainfo\\[.2em]}%
        \end{minipage}%

      Quando compilo il mio Cv dal file .tex mi dà questo errore e non riesco a capire qual è il problema, dove può mancare una parentesi o qualcosa del gener…vi inserisco parte del file log:

      `
      (C:\Programmi\MiKTex\tex\latex\lm\t1lmss.fd
      File: t1lmss.fd 2009/10/07 v1.5 Font defs for Latin Modern
      )
      \maketitlenamemaxwidth=\skip59
      \maketitlenamefullwidth=\skip60

      LaTeX Font Warning: Font shape `T1/lmss/m/sc' in size <34> not available
      (Font) Font shape `T1/lmr/m/sc' tried instead on input line 113.

      \maketitlenamewidth=\skip61
      \maketitlepicturewidth=\skip62
      \maketitledetailswidth=\skip63
      )
      Runaway argument?
      {\if@DEBUG \framebox {\fi \begin {minipage}{.425\textwidth }\firstnamestyle
      \ETC.
      ! File ended while scanning use of \@argdef.

      \par
      l.38 \begin{document}

      I suspect you have forgotten a `}', causing me
      to read past where you wanted me to stop.
      I'll try to recover; but if the error is serious,
      you'd better type `E' or `X' now and fix your file.

      *geometry auto-detecting driver*
      *geometry detected driver: pdftex*
      ——————– Geometry parameters
      paper: a4paper
      landscape: —
      twocolumn: —
      twoside: —
      asymmetric: —
      h-parts: 59.74988pt, 0.8\paperwidth , 59.74988pt
      v-parts: 67.60269pt, 0.8\paperheight , 101.4041pt
      hmarginratio: 1:1
      vmarginratio: 2:3
      lines: —
      heightrounded: —
      bindingoffset: 0.0pt
      truedimen: —
      includehead: —
      includefoot: —
      includemp: —
      driver: pdftex
      ——————– Page layout dimensions and switches
      \paperwidth 597.50787pt
      \paperheight 845.04684pt
      \textwidth 478.00812pt
      \textheight 676.04005pt
      \oddsidemargin -12.52011pt
      \evensidemargin -12.52011pt
      \topmargin -41.6673pt
      \headheight 12.0pt
      \headsep 25.0pt
      \footskip 30.0pt
      \marginparwidth 47.0pt
      \marginparsep 6.0pt
      \columnsep 10.0pt
      \skip\footins 9.0pt plus 4.0pt minus 2.0pt
      \hoffset 0.0pt
      \voffset 0.0pt
      \mag 1000

      (1in=72.27pt, 1cm=28.45pt)
      ———————–
      LaTeX Font Info: Try loading font information for OT1+lmr on input line 41.
      (C:\Programmi\MiKTex\tex\latex\lm\ot1lmr.fd
      File: ot1lmr.fd 2009/10/07 v1.5 Font defs for Latin Modern
      )
      LaTeX Font Info: Try loading font information for OML+lmm on input line 41.

      (C:\Programmi\MiKTex\tex\latex\lm\omllmm.fd
      File: omllmm.fd 2009/10/07 v1.5 Font defs for Latin Modern
      )
      LaTeX Font Info: Try loading font information for OMS+lmsy on input line 41.

      (C:\Programmi\MiKTex\tex\latex\lm\omslmsy.fd
      File: omslmsy.fd 2009/10/07 v1.5 Font defs for Latin Modern
      )
      LaTeX Font Info: Try loading font information for OMX+lmex on input line 41.

      (C:\Programmi\MiKTex\tex\latex\lm\omxlmex.fd
      File: omxlmex.fd 2009/10/07 v1.5 Font defs for Latin Modern
      )
      LaTeX Font Info: External font `lmex10' loaded for size
      (Font) <10> on input line 41.
      LaTeX Font Info: External font `lmex10' loaded for size
      (Font) <7> on input line 41.
      LaTeX Font Info: External font `lmex10' loaded for size
      (Font) <5> on input line 41.
      LaTeX Font Info: Font shape `T1/lmss/m/it' in size <10> not available
      (Font) Font shape `T1/lmss/m/sl' tried instead on input line 42.

      Underfull \hbox (badness 10000) in paragraph at lines 41–44

      []

      Underfull \hbox (badness 10000) in paragraph at lines 45–49

      []

      Underfull \hbox (badness 10000) in paragraph at lines 50–56

      []

      LaTeX Font Info: Font shape `T1/lmss/m/it' in size <8> not available
      (Font) Font shape `T1/lmss/m/sl' tried instead on input line 58.

      Underfull \hbox (badness 10000) in paragraph at lines 57–61

      []

      Underfull \hbox (badness 10000) in paragraph at lines 62–66

      []

      Underfull \hbox (badness 10000) in paragraph at lines 67–71

      []

      Overfull \hbox (1.66766pt too wide) in paragraph at lines 77–77
      []\T1/lmss/m/n/10 + []|
      []

      Underfull \hbox (badness 10000) in paragraph at lines 74–78

      []

      [1

      {C:/Programmi/MiKTex/pdftex/config/pdftex.map}]
      LaTeX Font Info: Try loading font information for U+mvs on input line 80.

      (C:\Programmi\MiKTex\tex\latex\marvosym\umvs.fd)
      Underfull \hbox (badness 10000) in paragraph at lines 79–83

      []

      [2] (D:\GIAMPY\Vitae\CV_LaTeX\CV_Giampy_classic.aux) )
      Here is how much of TeX's memory you used:
      6061 strings out of 495302
      86871 string characters out of 3182377
      166680 words of memory out of 3000000
      9125 multiletter control sequences out of 15000+200000
      52721 words of font info for 39 fonts, out of 3000000 for 9000
      14 hyphenation exceptions out of 8191
      45i,12n,45p,339b,304s stack positions out of 5000i,500n,10000p,200000b,50000s
      {C:/Programmi/MiKTex/font
      s/enc/dvips/lm/lm-ec.enc}< C:/Programmi/MiKTex/fonts/type1/public/lm/lmss10.pfb>
      Output written on CV_Giampy_classic.pdf (2 pages, 147318 bytes).
      PDF statistics:
      85 PDF objects out of 1000 (max. 8388607)
      11 named destinations out of 1000 (max. 500000)
      65 words of extra memory for PDF output out of 10000 (max. 10000000)
      `

      Cosa dire anche degli errori di font? Grazie.

      Non vedo errori relativi ai font; sono solo avvisi di sostituzioni: il font lmss non ha il corsivo e LaTeX lo sostituisce con l’inclinato.

      Esempio minimo compilabile, per favore.

      Ciao
      Enrico

    • #42647
      Up
      0
      Down
      ::


      Ma per l’errore segnato in rosso, cosa devo fare?

      Grazie

    • #42648
      Up
      0
      Down
      ::

      Ma per l’errore segnato in rosso, cosa devo fare?

      Se non dici come lo ottieni, come pensi che possa saperlo? Per arte divinatoria? Infatti ti ho chiesto un esempio compilabile.

      Ciao
      Enrico

    • #42649
      Up
      0
      Down
      ::


      Allora ho preso spunto da questo post del forum:

      http://www.guit.sssup.it/phpbb/viewtopic.php?p=15527

      Da un estratto di questo link:

      Io ho fatto in questo modo. Senza modificare i file base del pacchetto modernc

      Prendi il file moderncvthemeclassic.sty da qui http://tug.ctan.org/macros/latex/contrib/moderncv/moderncvthemeclassic.sty

      copialo nella stessa directory dove hai il file principale .tex. Apri il file appena copiato e modifica le minipage in questo modo:

        \renewcommand*{\maketitle}{%
        % name and title
        \if@DEBUG\framebox{\fi
        \begin{minipage}{.425\textwidth}% prima era .525
        \firstnamestyle{\@firstname~}\familynamestyle{\@familyname}%
        \ifthenelse{\isundefined{\@title}}%
        {}%
        {\\[1.25em]\titlestyle{\@title}}%
        \end{minipage}%
        \if@DEBUG}\fi
        \hfill%
        \if@DEBUG\framebox{\fi%
        % optional data
        \begin{minipage}{.325\textwidth}% prima era .225
        \raggedleft\addressfont\color{addresscolor}%
        \ifthenelse{\isundefined{\@addressstreet}}{}{%
        \addresssymbol~\@addressstreet%
        \ifthenelse{\isundefined{\@addresscity}}{}{\\\@addresscity}%
        \\[.2em]}%
        \ifthenelse{\isundefined{\@mobile}}{}{\mobilesymbol~\@mobile\\[.2em]}%
        \ifthenelse{\isundefined{\@phone}}{}{\phonesymbol~\@phone\\[.2em]}%
        \ifthenelse{\isundefined{\@fax}}{}{\faxsymbol~\@fax\\[.2em]}%
        \ifthenelse{\isundefined{\@email}}{}{\emailsymbol~\emaillink{\@email}\\[.2em]}%
        \ifthenelse{\isundefined{\@extrainfo}}{}{\@extrainfo\\[.2em]}%
        \end{minipage}%

      Io ho fatto quanto specificato: ho modificato come richiesto e mi esce quell’errore (che se non ho capito male è dentro il file moderncvthemeclassic.sty).
      Questo è quanto.

    • #42650
      Up
      0
      Down
      ::

      Allora ho preso spunto da questo post del forum:

      http://www.guit.sssup.it/phpbb/viewtopic.php?p=15527

      Da un estratto di questo link:

      Io ho fatto in questo modo. Senza modificare i file base del pacchetto modernc

      Prendi il file moderncvthemeclassic.sty da qui http://tug.ctan.org/macros/latex/contrib/moderncv/moderncvthemeclassic.sty

      copialo nella stessa directory dove hai il file principale .tex. Apri il file appena copiato e modifica le minipage in questo modo:

      [ul]
      \renewcommand*{\maketitle}{%
      % name and title
      \if@DEBUG\framebox{\fi
      \begin{minipage}[b]{.425\textwidth}% prima era .525
      \firstnamestyle{\@firstname~}\familynamestyle{\@familyname}%
      \ifthenelse{\isundefined{\@title}}%
      {}%
      {\\[1.25em]\titlestyle{\@title}}%
      \end{minipage}%
      \if@DEBUG}\fi
      \hfill%
      \if@DEBUG\framebox{\fi%
      % optional data
      \begin{minipage}[b]{.325\textwidth}% prima era .225
      \raggedleft\addressfont\color{addresscolor}%
      \ifthenelse{\isundefined{\@addressstreet}}{}{%
      \addresssymbol~\@addressstreet%
      \ifthenelse{\isundefined{\@addresscity}}{}{\\\@addresscity}%
      \\[.2em]}%
      \ifthenelse{\isundefined{\@mobile}}{}{\mobilesymbol~\@mobile\\[.2em]}%
      \ifthenelse{\isundefined{\@phone}}{}{\phonesymbol~\@phone\\[.2em]}%
      \ifthenelse{\isundefined{\@fax}}{}{\faxsymbol~\@fax\\[.2em]}%
      \ifthenelse{\isundefined{\@email}}{}{\emailsymbol~\emaillink{\@email}\\[.2em]}%
      \ifthenelse{\isundefined{\@extrainfo}}{}{\@extrainfo\\[.2em]}%
      \end{minipage}%
      [/ul]

      Io ho fatto quanto specificato: ho modificato come richiesto e mi esce quell’errore (che se non ho capito male è dentro il file moderncvthemeclassic.sty).
      Questo è quanto.

      Come avrai di certo notato, nella copia originale di moderncvthemeclassic.sty non c’è alcun \if@DEBUG: quel filone si riferisce a una versione obsoleta del pacchetto. La parte rilevante delle versioni recenti è completamente diversa.

      Dovresti ottenere lo stesso risultato che si aveva con quella modifica scrivendo nel preambolo del tuo documento
      `\setlength{\maketitlenamewidth}{.425\textwidth}
      \setlength{\maketitledetailswidth}{.325\textwidth}`
      e dimenticandoti la faccenda di copiare il .sty e modificarlo.

      Ciao
      Enrico

    • #42651
      Up
      0
      Down
      ::


      Ti ringrazio.

      Ho provato ad inserire nel preambolo, ma questo è il risultato del log…7 errori:

        ! Undefined control sequence.
        \maketitlenamewidth

        l.2 …length{\maketitlenamewidth}{.425\textwidth}

        The control sequence at the end of the top line
        of your error message was never \def’ed. If you have
        misspelled it (e.g., `\hobx’), type `I’ and the correct
        spelling (e.g., `I\hbox’). Otherwise just continue,
        and I’ll forget about whatever was undefined.

        ! LaTeX Error: Missing \begin{document}.

        See the LaTeX manual or LaTeX Companion for explanation.
        Type H for immediate help.

        l.2 …length{\maketitlenamewidth}{.425\textwidth}

        You’re in trouble here. Try typing to proceed.
        If that doesn’t work, type X
        to quit.

        ! Missing number, treated as zero.

        \relax
        l.2 …length{\maketitlenamewidth}{.425\textwidth}

        A number should have been here; I inserted `0′.
        (If you can’t figure out why I needed to see a number,
        look up `weird error’ in the index to The TeXbook.)

        ! Illegal unit of measure (pt inserted).

        \relax
        l.2 …length{\maketitlenamewidth}{.425\textwidth}

        Dimensions can be in units of em, ex, in, pt, pc,
        cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
        I’ll assume that you meant to say pt, for printer’s points.
        To recover gracefully from this error, it’s best to
        delete the erroneous units; e.g., type `2′ to delete
        two letters. (See Chapter 27 of The TeXbook.)

        ! Undefined control sequence.
        \maketitledetailswidth

        l.3 …gth{\maketitledetailswidth}{.325\textwidth}

        The control sequence at the end of the top line
        of your error message was never \def’ed. If you have
        misspelled it (e.g., `\hobx’), type `I’ and the correct
        spelling (e.g., `I\hbox’). Otherwise just continue,
        and I’ll forget about whatever was undefined.

        ! Missing number, treated as zero.

        \relax
        l.3 …gth{\maketitledetailswidth}{.325\textwidth}

        A number should have been here; I inserted `0′.
        (If you can’t figure out why I needed to see a number,
        look up `weird error’ in the index to The TeXbook.)

        ! Illegal unit of measure (pt inserted).

        \relax
        l.3 …gth{\maketitledetailswidth}{.325\textwidth}

      Questo è il mio preambolo:
      `
      \documentclass[10pt,a4paper]{moderncv}
      \setlength{\maketitlenamewidth}{.425\textwidth}
      \setlength{\maketitledetailswidth}{.325\textwidth}
      \moderncvtheme[blue]{classic}

      %\setlength{\maketitlenamewidth}{.425\textwidth}
      %\setlength{\maketitledetailswidth}{.325\textwidth}

      \usepackage[italian]{babel}

      \usepackage[latin1]{inputenc} % imposta la codifica di input;

      \usepackage[T1]{fontenc} % la codifica dei font

      \usepackage{lmodern}

      \usepackage{textcomp}

      \usepackage{microtype}

      \usepackage[scale=0.8]{geometry}
      \AtBeginDocument{\recomputelengths} % required when changes are made to page layout lengths

      \title{Curriculum Vit\ae}
      \firstname{\textsc{Nome}}
      \familyname{\textsc{Cognome}}
      \address{\textbf{Indirizzo:} ***}{***}
      \mobile{***}
      \phone{***}
      \email{\mbox{***}}
      \extrainfo{\textbf{Nationalità:} Italiana}
      \extrainfo{\textbf{Luogo di nascita:} ***}
      \extrainfo{\textbf{Data di nascita:} ***}
      \photo[64pt]{picture}
      \quote{
      \begin{center}
      \scriptsize{DICHIARO}
      \end{center}
      \scriptsize{di aver preso visione dell'informativa attinente la raccolta e il trattamento dei dati personali ai sensi del Decreto Legislativo 30 giugno 2003, n. 196 – “Codice in materia di protezione dei dati personali'' e autorizzo l'impiego degli stessi secondo gli usi consentiti dalla legge.}}

      %\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page

      \begin{document}
      \maketitle

      `

      Tra l’altro delle tre:
      `
      \extrainfo{\textbf{Nationalità:} Italiana}
      \extrainfo{\textbf{Luogo di nascita:} ***}
      \extrainfo{\textbf{Data di nascita:} ***}
      `

      me ne fa inserire solo una, come mai?

      Ancora grazie per il prezioso aiuto.

    • #42652
      Up
      0
      Down
      ::

      Ti ringrazio.

      Dovrebbe essere così, ma purtroppo la documentazione di moderncv è carente (non c’è proprio).

      `\documentclass[10pt,a4paper]{moderncv}

      \usepackage[T1]{fontenc}
      \usepackage[latin1]{inputenc}
      \usepackage[italian]{babel}
      \usepackage{lmodern}
      \usepackage{textcomp}
      \usepackage{microtype}

      \usepackage{moderncvthemeclassic}

      \setlength{\maketitlenamewidth}{.425\textwidth}
      \setlength{\maketitledetailswidth}{.325\textwidth}

      \usepackage[scale=0.8]{geometry}
      \AtBeginDocument{\recomputelengths}

      \title{Curriculum Vit\ae}
      \firstname{\textsc{Nome}}
      \familyname{\textsc{Cognome}}
      \address{\textbf{Indirizzo:} ***}{***}
      \mobile{***}
      \phone{***}
      \email{\mbox{***}}
      \extrainfo{\textbf{Nationalità:} Italiana}
      \extrainfo{\textbf{Luogo di nascita:} ***}
      \extrainfo{\textbf{Data di nascita:} ***}
      \photo[64pt]{picture}
      \quote{
      \begin{center}
      \scriptsize{DICHIARO}
      \end{center}
      \scriptsize{di aver preso visione dell'informativa attinente
      la raccolta e il trattamento dei dati personali ai sensi del
      Decreto Legislativo 30 giugno 2003, n. 196 – “Codice in
      materia di protezione dei dati personali'' e autorizzo l'impiego
      degli stessi secondo gli usi consentiti dalla legge.}}

      %\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page

      \begin{document}
      \maketitle
      …`
      Ciao
      Enrico

    • #42653
      Up
      0
      Down
      ::


      Purtroppo niente se non metto a commento queste 3 stringhe di comand con il %:
      `
      \usepackage{moderncvthemeclassic}

      \setlength{\maketitlenamewidth}{.425\textwidth}
      \setlength{\maketitledetailswidth}{.325\textwidth}
      `

      …mi dà nel log i seguenti 2 errori:

        ! Undefined control sequence.
        \@firstname
        ~
        l.113 …irstname~}\familynamestyle{\@familyname}}

        The control sequence at the end of the top line
        of your error message was never \def’ed. If you have
        misspelled it (e.g., `\hobx’), type `I’ and the correct
        spelling (e.g., `I\hbox’). Otherwise just continue,
        and I’ll forget about whatever was undefined.

        ! Undefined control sequence.

        \@familyname

        l.113 …irstname~}\familynamestyle{\@familyname}}

        The control sequence at the end of the top line
        of your error message was never \def’ed. If you have
        misspelled it (e.g., `\hobx’), type `I’ and the correct
        spelling (e.g., `I\hbox’). Otherwise just continue,
        and I’ll forget about whatever was undefined.

      Per la cronaca se clicco sul “cerchio rosso con la X bianca” (per entrambi gli errori) mi porta direttamente sulla riga dove ci sono gli errori, il file è moderncvthemeclassic.sty e la riga è la seguente:

      `
      \settowidth{\maketitlenamefullwidth}{\firstnamestyle{\@firstname~}\familynamestyle{\@familyname}}
      `

      Certo che è drammatica la situazione! 😕
      Cosa posso fare 😕

    • #42654
      Up
      0
      Down
      ::

      Purtroppo niente se non metto a commento queste 3 stringhe di comand con il %:
      `
      \usepackage{moderncvthemeclassic}

      \setlength{\maketitlenamewidth}{.425\textwidth}
      \setlength{\maketitledetailswidth}{.325\textwidth}
      `

      …mi dà nel log i seguenti 2 errori:

        ! Undefined control sequence.
        \@firstname
        ~
        l.113 …irstname~}\familynamestyle{\@familyname}}

        The control sequence at the end of the top line
        of your error message was never \def’ed. If you have
        misspelled it (e.g., `\hobx’), type `I’ and the correct
        spelling (e.g., `I\hbox’). Otherwise just continue,
        and I’ll forget about whatever was undefined.

        ! Undefined control sequence.

        \@familyname

        l.113 …irstname~}\familynamestyle{\@familyname}}

        The control sequence at the end of the top line
        of your error message was never \def’ed. If you have
        misspelled it (e.g., `\hobx’), type `I’ and the correct
        spelling (e.g., `I\hbox’). Otherwise just continue,
        and I’ll forget about whatever was undefined.

      Per la cronaca se clicco sul “cerchio rosso con la X bianca” (per entrambi gli errori) mi porta direttamente sulla riga dove ci sono gli errori, il file è moderncvthemeclassic.sty e la riga è la seguente:

      `
      \settowidth{\maketitlenamefullwidth}{\firstnamestyle{\@firstname~}\familynamestyle{\@familyname}}
      `

      Certo che è drammatica la situazione! 😕
      Cosa posso fare 😕

      Non usare un pacchetto così scarsamente documentato oppure scrivere all’autore.

      Ciao
      Enrico

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

Go to top