Roberto Hernandez wrote:
> 
> On Wednesday 31 October 2001 06:26, Jean-Marc Lasgouttes wrote:
> | >>>>> "Roberto" == Roberto Hernandez <[EMAIL PROTECTED]> writes:
> |
> | Roberto> Table of Contents 1. I need a different title than the
> | Roberto> standard "Contents". Can this be done?
> |
> | in the preamble, add
> | \renewcommand{\contentsname}{your-new-title}
> 
> Thanks for this tip. However, I have a problem getting it to work correctly.
> When I add that line to the preamble, it doesn't work. I exported the file to
> TeX and then put the renewcommand after the \begin{document} line. That
> worked. Next I tried putting the renewcommand right before the ToC in LyX and
> that worked too.
> 
> Apparently the problem is that the preamble is not being processed correctly.
> This also makes sense because I tried specifying the page margins from within
> Layout -> Document and there was no change.

this works only without babel. this package is load by latex 
direct before \begin{document}, so all language specific
changes are overwritten with the language defaults.

\AtBeginDocument{\renewcommand{\contentsname}{your-new-title}}

did it

Herbert

Reply via email to