On Sat, May 29, 2010 at 09:37:15PM +0300, Amir Rachum wrote:

> This works, and I already use this sort of workaround (only with an empty
> math-mode).
> However, when I do this, it prints the section header (in the section
> itself) aligned to the right side of the page instead of the left, and it
> looks really bad (people have commented to me on how it looks).

You could try using the "Short Title" option in order to force the
exact appearance you want in the toc. Does the attached example work?

-- 
Enrico
#LyX 1.6.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass heb-article
\begin_preamble

\end_preamble
\use_default_options true
\language hebrew
\inputencoding cp1255
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry true
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 2.5cm
\topmargin 2cm
\rightmargin 2.5cm
\bottommargin 5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author "" 
\author "" 
\end_header

\begin_body

\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset


\end_layout

\begin_layout Section

\lang english
\begin_inset OptArg
status open

\begin_layout Plain Layout
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
L{section title}
\end_layout

\end_inset


\end_layout

\end_inset

section title
\end_layout

\end_body
\end_document

Reply via email to