Re: problemi con le impostazioni della numerazione

#85715
Up
0
Down
::


Ecco, ti incollo tutto il codice, anche se un po’ lungo.
Tra l’altro vedo che, mettendo i numeri di riga a sinistra, questi si sovrappongono al nome del personaggio parlante, quindi mi serve proprio spostarli a destra. Ho fatto un paio di prove ma con scarso successo…

In più: come si potrebbe rendere la numerazione continua tra la parte in prosa e quella in versi?

Ti ringrazio molto intanto! 🙂

`\documentclass[12pt, a4paper]{book}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english, italian]{babel}

\usepackage{footnote}
\usepackage[lnps]{dramatist}
\usepackage{paracol}
\usepackage{eledmac}
\usepackage{verse}

\makeatletter
\renewcommand\@openact{%
\thispagestyle{plain}
\refstepcounter{act}
\if@lnpa
\setcounter{storelineno}{0}
\if@poemscol
\setcounter{storeprintlineindex}{0}
\else
\refstepcounter{storelineno}
\fi
\fi
}
\makeatother

\renewcommand{\printactname}{}
\renewcommand{\printactnum}{}
\renewcommand{\printacttitle}[1]{\centering\acttitlefont\ #1}
\renewcommand{\printscenename}{}
\renewcommand{\printscenenum}{}
\renewcommand{\printscenetitle}[1]{\centering\scenetitlefont\ #1}

\title{La Tempesta}
\author{}
\date{}

\begin{document}
\maketitle

\begin{paracol}[1]{2}
\selectlanguage{italian}
\Character{Alonso}{alo}
\Character{Sebastiano}{seb}
\Character{Prospero}{pro}
\Character{Antonio}{ant}
\Character{Ferdinando}{fer}
\Character{Gonzalo}{gon}
\Character{Adriano}{adr}
\Character{Francisco}{fra}
\Character{Calibano}{cal}
\Character{Trinculo}{tri}
\Character{Stefano}{ste}
\Character{Capitano}{master}
\Character{Nostromo}{boa}
\Character{Marinai}{mariners}
\Character{Miranda}{mir}
\Character{Ariele}{ari}
\Character{Iride}{iris}
\Character{Cerere}{ceres}
\Character{Giunone}{juno}
\Character{Ninfe}{nymphs}
\Character{Mietitori}{reapers}

\Act{Atto Primo}
\Scene{Scena Prima}

\StageDir{In mare, su un veliero; tempesta: lampi, tuoni e fragore del mare.
Entrano il \master e il \boa}

\begin{drama}

\beginnumbering
\pstart

\masterspeaks{Nostromo!}
\boaspeaks{\direct{Entra di corsa} A lli cumanne vuoste, Capitanio! Mal'aria e b\`a!\footnote{{\itshape Mal'aria e b\`a}: va male, non c'\`e speranza.}}
\masterspeaks{Tiempo ’a perdere nun ce n'\`e. Sotto \`e una massa de scuoglie. Cumme s'\`e miso lu mare, o ncagliate rumanimmo\footnote{{\itshape rumanimmo}: rimaniamo.} o da nu mumento all'auto se spacca la rota de poppa. D\`atte da fare. \direct{Esce in fretta}}
\boaspeaks{\direct{ai marinai che entrano} Guagli\'u, curr\'ite. Faciteve curaggio: ’a Maronna ’a Catena nce aiuta. Ammainate ’a vela maestra e manten\'iteve l\`ese. Appizzate li rrecchie pe' lu sisco de lu Capitanio. Guagli\'u, fac\'immece ann\`ore: simmo Napulitane!}
\marinersspeaks{\direct{in coro}S\'immo Napulitane! \direct{Escono di corsa}}
\boaspeaks{\direct{al vento che soffia forte} Sciosciasci\`o! Puozza jettare lu sango, tu e la tempesta de chi t'\`e muorto!}
\StageDir{Provenienti da sotto coperta entrano alonso, Sebastiano, Antonio, Gonzalo, e Ferdinando.}
\alospeaks{Forza, Nostromo! Chist'\`e lu mumenti che nce haje da fa' vedere chi \`e don Nicola. Attenzione! ’O Capotanio add\`o stace? Sveglia! Facite l'uommene nun facite lli creature! ’E marinare, ogneduno a lu posto sujo!}
boaspeaks{Aggi\`atece pacienzia, Majest\`a! Vuje purz\'i ve n'avit' ’a scennere a v'havite da mettere a lu posto vuosto}
\antspeaks{E lu Capitanio?}
\boaspeaks{E nun lu sentite? Scenn\'itev\`enne, nzerrateve in cabina. Qua disturbate la fatica nosta, facite confusione! Insomma, la prisenzia vosta fa cchi\'u dammaggio de la tempesta!}
\gonspeaks{Mb\`e? Cerca de essere calmo.}

%%%%%%%TAGLIO ALCUNE BATTUTE PER INSERIRE ANCHE LA PARTE IN VERSI%%%%%%
\StageDir{Escono tutti.}
\boaspeaks{\direct{entra di corsa, assai agitato} Avasci\`ate lu picco! Av\`ascia, ancora! Attiente, facitele sentire lu velaccio! \direct{Dall'interno, grida. Entrano \gon, \ant e \seb . Vedendoli il \boa li affronta inferocito}}

\pend
\endnumbering
\end{drama}

\begin{drama*}
\poemlines{5}
\boaspeaks{Cc\`a state n'ata vota? E che mal\'ina? \\ Fusseve surde o pazze? Jatev\`enne! \\ Scenn\'itav\`enne dint'a li cabine. \\ Ce ne scenn\'immo a ffunno tuttuquante, \\ cumme ve l'aggia di', \\ sango … r' ’e ddieci!} \\
\sebspeaks{Nun ghiastemmare, male te ne vene}
\end{drama*}

\switchcolumn

\selectlanguage{english}
\Character{Alonso}{alo}
\Character{Sebastian}{seb}
\Character{Prospero}{pro}
\Character{Antonio}{ant}
\Character{Ferdinand}{fer}
\Character{Gonzalo}{gon}
\Character{Adriano}{adr}
\Character{Francisco}{fra}
\Character{Caliban}{cal}
\Character{Trinculo}{tri}
\Character{Stephano}{ste}
\Character{Master}{master}
\Character{Boatswain}{boa}
\Character{Mariners}{mariners}
\Character{Miranda}{mir}
\Character{Ariel}{ari}
\Character{Iris}{iris}
\Character{Ceres}{ceres}
\Character{Juno}{juno}
\Character{Nymphs}{nymphs}
\Character{Reapers}{reapers}

\Act{Act First}
\Scene{Scene First}

\StageDir{A tempestuous noise of thunder and lightning heard.
Enter a Ship-\master and a \boa}

\begin{drama}
\masterspeaks{Boatswain!}
\boaspeaks{Here, master. What cheer?}
\masterspeaks{Good –- speak to th’ mariners. Fall to’t yarely, or we run ourselves aground. Bestir, bestir! \direct{Exit}}
\direct{Enter \mariners}
\boaspeaks{Hey, my hearts! Cheerly, cheerly, my hearts! Yare, yare! Take in the topsail. Tend to th’ master’s whistle. \direct{To the storm} — Blow till thou burst thy wind, if room enough!}
\StageDir{Enter \alo , \seb , \ant , \fer , \gon and others}
\alospeaks{Good boatswain, have care. Where’s the master? \direct{To the \mariners} Play the men.}
\boaspeaks{I prey now, keep below}
\antspeaks{Where is the master, bos'n?}
\boaspeaks{Do you not hear him? You mar our labour. Keep your cabins –– you do assiste the storm.}
\gonspeaks{Nay, goog, be patient}
\boaspeaks{When the sea is. Hence! What care these roarers for the name of king? To cabin; silence! Trouble us not!}

\end{drama}

\end{paracol}

\end{document}`

Go to top