GeneralHow to redefine Section and Subsection in autoref names

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

How to redefine Section and Subsection in autoref names

Post by marcocintra »

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

Code: Select all

\renewcommand\chaptername{NewChapterName}
\renewcommand\chapterautorefname{NewChapterName}
do with Chapter names.

How i do that?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

How to redefine Section and Subsection in autoref names

Post by Johannes_B »

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

How to redefine Section and Subsection in autoref names

Post by marcocintra »

I solved it.

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

Code: Select all

\addto\captionsbrazil{
\renewcommand{\chapterautorefname}{Seção}
\renewcommand{\sectionautorefname}{Seção}
\renewcommand{\subsectionautorefname}{Seção}
}
So, the Chapter, Section and Subsection Autoref names were changed to "Seção" names.
Post Reply