change text of TOC
jezZiFeR
jezzifer at gmail.com
Wed Dec 18 09:04:43 UTC 2019
Dear all,
I also try to reproduce this with KOMA-Script-report in German, but none of the possibilites mentioned in the thread seem to work. The title of the TOC keeps staying the same. Does this work differently in KOMA?
Thanks
Jess
Am 18. Dez. 2019, 05:44 +0100 schrieb Jürgen Spitzmüller <spitz at lyx.org>:
> Am Dienstag, den 17.12.2019, 23:08 +0100 schrieb Ricardo Berlasso:
> > You can use Babel for this. For example, if your document is in
> > English, go to the preamble and write something like this
> >
> > \usepackage[english]{babel}
> > \addto\captionsenglish{
> > \renewcommand{\contentsname}{The New Name}
> > }
> >
> > For other languages you just need to change every "english" string
> > for the needed language. For example, in Spanish
> >
> > \usepackage[spanish]{babel}
> > \addto\captionsspanish{
> > \renewcommand{\contentsname}{El nuevo título}
> > }
>
> Since babel is automatically loaded by LyX (but usually after the user
> preamble) I'd rather do
>
> \AtBeginDocument{%
> \addto\captionsenglish{
> \renewcommand{\contentsname}{The New Name}
> }
> }
>
> Cf. https://wiki.lyx.org/FAQ/Unsorted#renameEnv
>
> Jürgen
>
> --
> lyx-users mailing list
> lyx-users at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20191218/61361e7b/attachment.html>
More information about the lyx-users
mailing list