change text of TOC

jezZiFeR jezzifer at gmail.com
Wed Dec 18 09:37:52 UTC 2019


Am 18. Dez. 2019, 10:28 +0100 schrieb Richard Kimberly Heck <rikiheck at lyx.org>:
> On 12/18/19 4:04 AM, jezZiFeR wrote:
> > 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?
> I think what I suggested should also work here:
> \renewcommand\contentsname{What You Want}


This line also does not work for me.

> But it looks as if this might be deprecated in favor of something involving tocbasic.sty, which I've not investigated.

Do you maybe have a hint how to investigate here? For me such things still are not easy.

> Remember: We can always look at the LaTeX files themselves (in this case, scrartcl.cls) to see how they work.
> Also: Please reply inline, not by top-posting.
Is this what you mean by replying inline? I am going to do that in the future, even though for me top-posting is easier to overlook.

Thanks
Jess



> Riki
>
>
> >
> >
> >
> > 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/12e18219/attachment.html>


More information about the lyx-users mailing list