How can I rename the Listing prefix which is standing before the number of it? So I would like to rename "Listing ##" to "Something ##". I hope you understand me
Document Classes ⇒ How can I rename a Listing caption
How can I rename a Listing caption
How can I rename the Listing prefix which is standing before the number of it? So I would like to rename "Listing ##" to "Something ##". I hope you understand me
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
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
How can I rename a Listing caption
How can I rename a Listing caption
Code: Select all
LaTeX Error: \lstlistingname undefined.- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
Re: How can I rename a Listing caption
Stefan
Re: How can I rename a Listing caption
Thank you - it's working
Re: How can I rename a Listing caption
How can I rename a Listing caption
Code: Select all
\usepackage{caption}
\DeclareCaptionLabelFormat{something}{#2.#1.}
\captionsetup[lstlisting]{labelformat=something}