Salve a tutti.
Sono un dottorando in anglistica, e dopo essermi scontrato con i limiti e i crash di word ho deciso di trasferire la mia tesi in LaTeX. Il lavoro procede abbastanza bene, ma ho sempre qualche piccolo problemino.
Adesso mi trovo a dover trascrivere accuratamente la citazione di un racconto orale irlandese. Devo rispettare il più possibile il layout del testo originale, poichè l’antropologo in questione trascrive i racconti come poesie.
Questo nè un esempio del testo frammento su cui sto lavorando; al posto degli underscore dovrebbe esserci spazio bianco.And he was a very very long time digging away the mold from round it for to get it, to get the spade in under it.
But. Finally he got the mold all cleared, and he started with the spade,\\
______risin it up
______and risin it up
______and risin it up
____________till finally he got it from the top of the ground.\\
And it joined to roll.Ho provato a usare l’enviironment verse, aggiungendo \hspace, così:
But. Finally he got the mold all cleared, and he started with the spade,\\
\hspace{2em}risin it up\\
eccIl problema è che verse sceglie di indentare il versi più lunghi di una riga verso destra per le righe successive alla prima; a livello teorico non cambia nulla, ma è una libertà che non mi posso prendere.
Esiste una maniera semplice per settare le indentazioni riga per riga, un po’ come quando si schiaccia tab in un editor?
Benvenuto 😀
Io userei un sistema diverso. Questo è uno dei pochi casi in cui spezzare le righe di un paragrafo con \\ è lecito.
`\newcommand{\irishindent}[1][1]{\hspace*{#1\parindent}\ignorespaces}
…
And he was a very very long time digging away the mold from round it for to get it, to get the spade in under it.
But. Finally he got the mold all cleared, and he started with the spade,\\
\irishindent risin it up\\
\irishindent and risin it up\\
\irishindent and risin it up\\
\irishindent[2] till finally he got it from the top of the ground.\\
And it joined to roll.`
Il problema potrebbe essere se hai righe lunghe; come dovresti risolverlo? Rimanendo allo stesso livello di rientro? Se puoi tornare al margine sinistro, il modo indicato va bene. Altrimenti devi adottare una strategia diversa.
`\newcommand{\irishpar}[1][1]{\par\hangindent=#1\parindent\hangafter0 \noindent\ignorespaces}
…
And he was a very very long time digging away the mold from round it for to get it, to get the spade in under it.
But. Finally he got the mold all cleared, and he started with the spade,
\irishpar risin it up
\irishpar and risin it up
\irishpar and risin it up
\irishpar[2] till finally he got it from the top of the ground
till finally he got it from the top of the ground
till finally he got it from the top of the ground
till finally he got it from the top of the ground
till finally he got it from the top of the ground.
\irishpar[0] And it joined to roll.`
In entrambi i casi, l’argomento opzionale dice di quanto moltiplicare il rientro; se è un rientro semplice, non occorre specificarlo.
Quale delle due? Scusa l’esempio scemo, ma non avevo di meglio per indicare una riga troppo lunga.
Ciao
Enrico
Nota: ho modificato il secondo comando, ci mancava un pezzettino 🙁