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


do with Chapter names.

How i do that?


I am not sure, if I understand what you want to do (there is no MWE in the question).

Assuming you are loading package hyperref:

\chapter{Chapter Title}\label{chap}
\section{Section Title}\label{sec}
\chaptername, \sectionname, \subsectionname
\autoref{chap}, \autoref{sec}, \autoref{subsec}


enter image description here

|improve this answer|||||
  • Yes, you got the point. But I tried this, and it did not work. – Marco Aug 24 '18 at 2:09
  • @Marco My example as above? Or my code in your document? Note, there is no MWE in your question. So nobody knows what you really doing. Additionally nobody knows what »did not work« means. – esdd Aug 24 '18 at 18:26
  • Your example. But I solved it, I posted an answer. Thanks! – Marco Aug 26 '18 at 18:15
  • My example works for english. In your question brazil is not mentioned :( So nobody knows that this language should be used. And if you replace option english by option brazil, \captionsenglish by \captionsbrazil and \extrasenglish by \extrasbrazil, it still works ... – esdd Aug 26 '18 at 19:19
  • You are right. I will just comment my previous answer here and mark your answer as accepted. "My solution: I solved it. I had to change the default names of Babel package, in this case, the brazilian captions: \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." Sorry for not paying more attention to your code, and for not mentioning that I used the Brazilian language. – Marco Aug 26 '18 at 19:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.