Numerando com romanos a parte pré-textual

130 views
Skip to first unread message

Andre Luiz Tietbohl Ramos

unread,
Feb 23, 2015, 11:42:18 AM2/23/15
to late...@googlegroups.com
Olá,

Tentando numerar com romanos a parte pretextual, retirei o comentário e adicionei a aplicação
do formato pre-textual romano no abntex2.cls segundo a sugestão da página:

https://code.google.com/p/abntex2/wiki/HowToPretextuaisRomanos

%%% -----
%%% Formato de cabecalho/rodape
%%% -----

%%% Páginas pré-textuais

\makepagestyle{pre_textual_romano} %%% escolha um nome
  \pagenumbering{Roman}
  \makeevenfoot{pretextual}{}{\ABNTEXfontereduzida \textbf \thepage}{}
  \makeoddfoot{pretextual}{}{\ABNTEXfontereduzida \textbf \thepage}{}

% Aplicação do formato pre_textual_romano
\newcommand{\pretextual}{%
  \aliaspagestyle{chapter}{pre_textual_romano}
  \pagestyle{pre_textual_romano}
  \aliaspagestyle{cleared}{pre_textual_romano}
  \aliaspagestyle{part}{pre_textual_romano}
}
\renewcommand{\frontmatter}{\pretextual}

Entretanto, infelizmente, agora o documemnto não é mais compilado e ocorre o seguinte erro:


! Class memoir Error: Undefined pagestyle 'pretextual', so I cannot change it.

See the memoir class documentation for explanation.
Type  H <return>  for immediate help.
...                                             
                                                 
l.768 ...{\ABNTEXfontereduzida \textbf \thepage}{}
                                                 
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on phd.log.
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 256
Latexmk: Use the -f option to force complete processing,
unless error was exceeding maximum runs of latex/pdflatex.

Qualquer auxílio apreciado!

Obrigado,

--
Andre Luiz Tietbohl Ramos <andrel...@gmail.com>

Lauro César

unread,
Feb 23, 2015, 11:45:40 AM2/23/15
to late...@googlegroups.com
Andre

Eu corrigi os erros da página do portal do abnTeX2:


Por favor, olhe novamente.

Abraços!

Lauro César 

--
You received this message because you are subscribed to the Google Groups "Latex-br" group.
To unsubscribe from this group and stop receiving emails from it, send an email to latex-br+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/latex-br/1424709734.7262.6.camel%40sigmatech.
For more options, visit https://groups.google.com/d/optout.

Joao Paulo

unread,
Sep 30, 2019, 11:50:01 AM9/30/19
to Latex-br
Lauro,

Obrigado, usei a orientação do abntex2 no github e consegui colocar numeração romana no pretextual.

Postando aqui apenas para o caso de alguém precisar.


Como complemento, a numeração romana só funcionou no meu sumário quando eu coloquei um \newpage logo abaixo de \tableofcontents*
Sem esse \newpage, a página do sumário fica com numeração arábica, embora o resumo e abstract fiquem em romanos.

Reply all
Reply to author
Forward
0 new messages