Graphics, Figures & Tables ⇒ How to change the listings names?
How to change the listings names?
I could change the names for the figures and tables:
\renewcommand{\figurename}{Abb.}
\renewcommand{\tablename}{Tab.}
but I didn´t found something to change the name for the listings.
And how can I change the style?? Normally e.g. the list of figures is printed with a lot of dots. I´d like to change the style like I do for the glosseries:
\glossarystyle{altlisthypergroup}
Can someone help me?
thanks and regards
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to change the listings names?
How does this style look like? But independently you can take a look at the tocloft package.nePolle wrote:[...] And how can I change the style?? Normally e.g. the list of figures is printed with a lot of dots. I´d like to change the style like I do for the glosseries:
\glossarystyle{altlisthypergroup}
[...]
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: How to change the listings names?
I knew that I could change the language with the babel stuff, but I like to use abbreviations e.g. figure >> fig., listing >> list.
this one:
"\listfigurename"
changes just only the headline for the list. I´d like to change the caption of a figure e.g. figure 2.1: nice image >> fig. 2.1: nice image
"How does this style look like?"
E.g.:
G | K (you can click on a letter and the dokument jumps to the group of the letter)
G
GUI Graphic....
GREAT Great is great...
K
kids smal people...
regards
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to change the listings names?
I have a question for my understanding. With »listing« do you mean the float environment provided by the listings package? You need to be much more precise in your descriptions and you should propose targeted questions. But the above requested MWE will clarify many things.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10