Re: problemi con le impostazioni della numerazione

#85707
Up
0
Down
::


Yes! Now it works perfectly!!
thank you so much, now my text has exactly the format that i needed!

But unfortunately the linenumber printed in the apparatus is still the default one!
i’ll give you an example:

\documentclass[a4paper,oneside,11pt]{article}

\usepackage{eledmac}
\usepackage{setspace}
\usepackage[utf8]{inputenc}
\usepackage[italian,latin]{babel}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage

{geometry} %%%%
\onehalfspacing

%%%%CONTINUITà NUMERI DI VERSI DELLE STROFE%%%%%%
\makeatletter% We need to use command with an @.
\newcounter{stanzaline}% The counter to save the stanza line.
\newcommand{\savestanzaline}[0]{\setcounter{stanzaline}{\line@num}}%\line@num is the internal counter of eledmac use for line numbering.
\newcommand{\restorestanzaline}{\line@num=\thestanzaline}
%%%%%%%%%%

\begin{document}

\setstanzaindents{0,2,2,2,2,2,2,2,2,2,2,2,2,0}

[1] \emph{Stanza}

\vspace{1cm}

\beginnumbering

\stanza
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi
\&
\savestanzaline
\endnumbering
\vspace{1cm}

\beginnumbering

\pstart
[Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa ]
\pend
\endnumbering
\vspace{1cm}

[2]\emph{Stanza}
\vspace{1cm}

\beginnumbering
\restorestanzaline
\stanza
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in \edtext{\textbf{poesia}}{\Afootnote{A versi }} &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi
\&
\savestanzaline
\endnumbering

\beginnumbering

\pstart
[Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa Questo è il testo in prosa ]
\pend
\endnumbering
\vspace{1cm}

\vspace{1cm}

[3]\emph{Stanza}
\vspace{1cm}

\beginnumbering
\restorestanzaline
\stanza
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi &
Questo è il testo in versi
\&
\savestanzaline
\endnumbering

\end{document}

That is quite a problem… I am sorry to ask you so many questions but I am not able to set the right parameters by myself!
Thanks again for you patience
Lorenzo

Go to top