Alex Rivera | Logout

Change "List of Listings" text

Asked 2010-04-25T20:47:01.083
29

I tried to change the "List of Listings" text with the command

\renewcommand*{\lstlistlistingname}{List of XYZ}

before my \begin{document}. What's wrong with this?

By the way

\renewcommand*{\lstlistingname}{NewListing}

worked like a charm.

Edit: No error occurred, just no change in the text. It's still "List of Listings".

By the way this is how I included it:

\pagestyle{scrheadings}
\pagenumbering{Roman}

\pdfbookmark[0]{\contentsname}{Contents}
\tableofcontents
\listoftables
\listoffigures
\listoflistings

\pagestyle{scrheadings}
\pagenumbering{arabic}

I've seen that on the "List of Listings" page the numbering starts with "1" but it should be a "V". Some hints?

Thank you

Edit
Report

2 Answers

22

Just tried to change it myself. There is a separate command that provides the name. E.g.:

\renewcommand{\lstlistlistingname}{My listungs}

so both \lstlistingname and \lstlistlistingname need to be changed.

answered 2012-02-28T10:58:00.633
3

For answering your page numbering question:

Insert a \cleardoublepage just before \pagenumbering{arabic}. That should fix the roman numbering on your List of listings.

answered 2013-05-23T07:41:06.773

Your Answer