GeneralAbstract Heading question

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
waxranger
Posts: 27
Joined: Tue Jan 22, 2008 11:58 pm

Abstract Heading question

Post by waxranger »

Hi

I'm using the ngerman.sty package for german language. Unfortunately the heading for the "Abstract" is translated in german as well, but I think it looks better not to use the german translation. Is there some way to define the \abstractname{} in the preamble of the document without changing the entry in the ngerman.sty file?

thanks
Fab

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Abstract Heading question

Post by localghost »

Just redefine the name command of the abstract to what you want.

Code: Select all

\renewcommand{\abstractname}{Abstract}
As a German user you'd better use the babel package for multilingual documents with an equivalent option.

Code: Select all

\usepackage[ngerman]{babel}
Then the redefinition looks a little bit different.

Code: Select all

\addto{\captionsngerman}{
  \renewcommand{\abstractname}{Abstract}
}
Take a look at the documentation of the babel package to learn more.


Best reagrds an welcome on Board
Thorsten
waxranger
Posts: 27
Joined: Tue Jan 22, 2008 11:58 pm

Re: Abstract Heading question

Post by waxranger »

Thanks for the warm welcome!

you solved my problem! I did try the \renewcommand but it didn't work, because I was using babel with ngerman...

got to check the manual as you said!

thanks + regards
Fab
Post Reply