Hi there
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
Graphics, Figures & Tables ⇒ How to change the listings names?
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to change the listings names?
The according macros are \listfigurename for the LoF and \listtablename for the LoT. But using the babel package with an appropriate language option should make this superfluous.
Best regards
Thorsten
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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: How to change the listings names?
Thank you for your answer.
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
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?
Renaming the caption labels can also be done with babel. But I have still no idea regarding the lists. With hyperref you can also create links in those lists to jump to a figure (or table). For more information provide a minimal working example (MWE) and tell us which language (or dialect) your document shall have).
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.
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.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10