I have renamed section numbering as the following (rather long) string:

    {Title \arabic{section}:}

In the table of contents, section 'numbers' appear overlappped to section
names. 
See enclosed test file.
Is that a bug? 
Any hints to fix that? 

Thank you 

--
Pol


---- enc
#LyX 1.4.2 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\begin_preamble
\usepackage{lastpage}
\usepackage{listings}
\usepackage[nice]{nicefrac} 
\usepackage[official]{eurosym}
\usepackage[T1]{fontenc}
\usepackage{ae,aecompl}
\usepackage{mathptmx}% instead of package times
\usepackage[scaled=0.92]{helvet} % or [scaled=0.92], if you like
\usepackage{courier}
\usepackage{nameref}
\usepackage[ps2pdf,urlcolor=blue,a4paper, pdftitle={Title of PDF-Document},
colorlinks=true]{hyperref}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single
\papersize a4paper
\use_geometry true
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 2.2cm
\topmargin 2cm
\rightmargin 2.9cm
\bottommargin 2cm
\headheight 0cm
\headsep 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\bullet 0 0 9 -1
\bullet 1 0 10 -1
\tracking_changes false
\output_changes true
\end_header

\begin_body

\begin_layout Standard
\begin_inset LatexCommand \tableofcontents{}

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Standard


\backslash
renewcommand{
\backslash
thesection}{Title 
\backslash
arabic{section}:}
\end_layout

\begin_layout Standard


\backslash
renewcommand{
\backslash
labelenumi}{} 
\end_layout

\end_inset


\end_layout

\begin_layout Section

\series bold
First 
\series default
Chapter 
\end_layout

\begin_layout Standard
text
\end_layout

\begin_layout Section
Second Chapter 
\end_layout

\begin_layout Standard
text
\end_layout

\begin_layout Section
Third Chapter 
\end_layout

\begin_layout Standard
text
\end_layout

\end_body
\end_document 

Reply via email to