Theses, Books, Title pagesHow can I change the name of "Listings"

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

How can I change the name of "Listings"

Post by templateuser »

Hello

I can't change the name of the "Listings". I have already used these commands:

Code: Select all

\renewcommand*{\lstlistlistingname}{Listagens}
\renewcommand*{\lstlistingname}{Listagem}
but it wasn't enough to change it all .... can anyone help me?

AndreiaFaria

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

How can I change the name of "Listings"

Post by Vel »

Hi,

Simply put the following into the preamble in main.tex (before \begin{document}):

Code: Select all

\renewcommand\lstlistingname{Algorithm}
\renewcommand\lstlistlistingname{Algorithms}
Replace Algorithm(s) with whatever you would like the new listings to be called.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
Post Reply