Ramon Flores wrote:
Em Sexta, 16 de Fevereiro de 2007 17:36, o Richard Heck escreveu:
This looks to be more a LaTeX issue than a layout issue. Instead of
\addtocounter{exemplo}{1}
use
\refstepcounter{exemplo}
The latter both steps the counter and makes it the target for
cross-references.
Em Sexta, 16 de Fevereiro de 2007 17:36, o Richard Heck escreveu:
> This looks to be more a LaTeX issue than a layout issue. Instead of
>
> \addtocounter{exemplo}{1}
>
> use
>
> \refstepcounter{exemplo}
>
> The latter both steps the counter and makes it the target for
> cross-references. Otherwise,
This looks to be more a LaTeX issue than a layout issue. Instead of
\addtocounter{exemplo}{1}
use
\refstepcounter{exemplo}
The latter both steps the counter and makes it the target for
cross-references. Otherwise, the target remains whatever it was,
probably section, which is why you're seeing
Hi:
I have written a layout that is similar to book, but with a new environment,
called exemplo (example in English).
This environment has a "LabelType" of type "counter", and the counter works
nicely almost always, both in LyX screen as in output. I.e. each
new "exemplo" is numbered taking i