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

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to