To add packages to Lyx do the following:
1. Get the package you need from CTAN or by Googling it and copying the
text file packagename.sty to the appropriate place (depending on
your operating system: on my WINDOWS XP it is in:
C:\texlive\2010\texmf-dist\tex\latex\titlesec and on Linux:
/usr/share/texmf-texlive/tex/latex/titlesec
2. Update you Latex (on WINDOWS use the package manager of your Latex
distribution with your Latex package manager (mpm for Miktex and
tlmgr for Texlive); on Linux use: sudo texhash
3. Reconfigure Lyx: Tools/reconfigure
Enjoy!
EK
On 7/24/2011 11:57 PM, Eisa Ayed wrote:
Oops,
It seems I got an additional dot in the figures.
I can't use titlesec package simply because I don't know how to compile and add
packages to Lyx.
I have looked to some links about adding packages but for some reasons It was
not working for me.
I don't want to mess-up with my thesis that's why i'm trying to find a solution
without installing packages.
Cheers,
On 2011-07-24, at 2:00 PM, Eisa Ayed wrote:
Perfect.. It works now,
Thank you so much Waluyo.
On 2011-07-24, at 4:18 AM, Waluyo Adi Siswanto wrote:
This works great for sections.
However, this will add an extra dot for the subsections.
I ended up having something like this:
1. Introduction
1..1 Problem Definition
instead of
1. Introduction
1.1 Problem Definition
Then I would the following commands to redefine the dots for
subsection and subsubsection
\renewcommand \thesection {\@arabic\c@section.}
\renewcommand\thesubsection {\thesection\@arabic\c@subsection}
\renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection}
the commands will give you
1.
1.1
1.1.1
regards
waluyo
--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness /Professor
*Director*, Center of Excellence for /Computational & System neuroscience,
The Friedman Brain Institute, MSSM/
*Director*, The laboratory of /Visual & Computational Neuroscience/
Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology
The Mount Sinai School of Medicine
One Gustave Levy Place
New York, NY, 10029