LaTeX forum ⇒ GeneralHow to redefine Section and Subsection in autoref names Topic is solved

LaTeX specific issues not fitting into one of the other forums of this category.
marcocintra
Posts: 2
Joined: Mon Aug 20, 2018 2:24 am

How to redefine Section and Subsection in autoref names

Postby marcocintra » Mon Aug 20, 2018 2:30 am

I want do redefine Section and Subsection in autoref names the same way

  1. \renewcommand\chaptername{NewChapterName}
  2. \renewcommand\chapterautorefname{NewChapterName}


do with Chapter names.

How i do that?

Tags:

User avatar
Johannes_B
Site Moderator
Posts: 3830
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Aug 20, 2018 7:04 am

Welcome to the forum,

can you provide a minimal working example for us? We don't have to type a simple document and can start testing and working on a solution right away.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

marcocintra
Posts: 2
Joined: Mon Aug 20, 2018 2:24 am

Postby marcocintra » Sun Aug 26, 2018 8:17 pm

I solved it.

I had to change the default names of Babel package, in this case, the brazilian captions:

  1. \addto\captionsbrazil{
  2. \renewcommand{\chapterautorefname}{Seção}
  3. \renewcommand{\sectionautorefname}{Seção}
  4. \renewcommand{\subsectionautorefname}{Seção}
  5. }


So, the Chapter, Section and Subsection Autoref names were changed to "Seção" names.


Return to “General”

Who is online

Users browsing this forum: No registered users and 9 guests