Nicolas Ferré wrote:
I'd like to put some maths in a short title, but it seems that, for
instance, I cannot use the /overrightarrow command in it. I get the
following error:
Illegal parameter number in definition of [EMAIL PROTECTED]
\section[$\overrightarrow{bla}1$]{Title 1}
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.
I really can't understand the problem. See the attached lyx example. The
tex file seems ok, but I guess I am missing something ?
In general it is easier to insert the optional title
as ERT, otherwise you have to be realy sure, that all
macros are robust. If you use pdflatex with hyperref,
then you should always use
\section{\texorpdfstring{TeX}{PDF-Bookmark}}
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes