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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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