Re: Classe lettercdp e più destinatari… come fare?

#53781
robitex
Amministratore del forum
    Up
    0
    Down
    ::


    La sintassi che usi lascia perplessi: se un ambiente prevede un argomento obbligatorio, esso è unico e va racchiuso tra parentesi graffe.

    Per indirizzi multipli puoi semplicemente aggiungere l’indirizzo all’argomento obbligatorio distanziandolo dal precedente con l’opzione [distanza] data al comando di interruzione di linee \\. considera il seguente esempio tratto dal manuale della classe:
    `
    \documentclass[boldsubject,italicsignature,smartindent]{letteracdp}
    % Of course, the above options are a matter of personal taste…
    % Name, address and signature of the sender (the name is optional):
    \name{Revinu Jitis Drofnats}
    \address{
    Revinu~J. \textsc{Drofnats}\\
    Department of Farm Ecology\\
    University of St.\,Anford\\
    Haga Alto, CA~94321 (U.S.A.)
    }

    \signature{R.~J. Drofnats\\Professor}

    \date{January~1, 2006} % as usual, date is optional, default is \today

    % Place where the letter is written (optional):
    \place{St.\,Anford}

    % Since we are writing in English, we redefine a couple of words:
    \renewcommand*{\subjectname}{Subject:}
    \renewcommand*{\headtoname}{To:}

    % Uncomment the following declaration if you want running heads:
    % \pagestyle{headings}
    \begin{document}
    \begin{letter}[Brian~K. Reid]{
    Prof.~Brian~K. \textsc{Reid}\\
    Department of Electrical Engineering\\
    Stanford University\\
    Stanford, CA~94305 (U.S.A.)\\[2ex]
    Prof.~Brian~K. \textsc{Reid}\\
    Department of Electrical Engineering\\
    Stanford University\\
    Stanford, CA~94305 (U.S.A.)
    }
    [
    This is the optional subject of the letter.
    ]
    \opening{Dear Prof.~Reid,}
    this letter is typeset using a \texttt{letter} environment;
    You can also use the \texttt{foldedletterhead} environment in place
    of the \texttt{letterhead} environment (or \texttt{foldedletter} in
    place of \texttt{letter}) to obtain a letter prepared to be folded in
    three parts, as one usually does before putting it in an envelope.
    Experiment to see what happens.
    \closing{Sincerely,}
    \end{letter}
    \end{document}`
    In blu l’argomento obbligatorio dell’ambiente letter.
    Bye

    PS: mi sono ricordato che sul numero di aprile di quest’anno di ArSTeXnica disponibile sul sito del GuIT c’é un articolo di Tommaso sul modo corretto di comporre indirizzi postali secondo le norme di poste italiane.

    Go to top