Re: A period after section number
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
Re: A period after section number
> Oops, > It seems I got an additional dot in the figures. No, I don't have any problems for the figures (float), see the attachment. newfile1.pdf Description: Adobe PDF document
Re: A period after section number
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 >
Re: A period after section number
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
Re: A period after section number
Anders Host-Madsen wrote: > You should be able to do this with the titlesec package. > > For example, it has the following command: > > "and you may add a dot after the counter simply with > \titlelabel{\thetitle.\quad}" > > My experience is that trying to change the section labels > manually gives headaches. But doesn't that give you: 1. Section 1 1.1. Subsection with 1 too many dots
Re: A period after section number
You should be able to do this with the titlesec package. For example, it has the following command: "and you may add a dot after the counter simply with \titlelabel{\thetitle.\quad}" My experience is that trying to change the section labels manually gives headaches.
Re: A period after section number
> > 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
Re: A period after section number
On Sun, Jul 24, 2011 at 4:22 AM, Eisa Ayed wrote: > Hello, > I am writing in Article class and the default numbering is: > 1 Introduction > > I need to insert a dot after the section number like > 1. Introduction > > is there a way to do this? > I don't know if this can help, but this is the default numbering of (sub)sections when using Spanish as the main document language. Liviu > Thanks, > ~Eisa > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: A period after section number
Thank you Waluyo. 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 Thanks. On 2011-07-23, at 9:06 PM, Waluyo Adi Siswanto wrote: >> I need to insert a dot after the section number like >> 1. Introduction > > This command works for me, see dot before } > > \renewcommand \thesection {\@arabic\c@section.} > > Inserted in latex preamble (Document>settings>latex preamble) > > regards > waluyo
Re: A period after section number
> I need to insert a dot after the section number like > 1. Introduction This command works for me, see dot before } \renewcommand \thesection {\@arabic\c@section.} Inserted in latex preamble (Document>settings>latex preamble) regards waluyo
A period after section number
Hello, I am writing in Article class and the default numbering is: 1 Introduction I need to insert a dot after the section number like 1. Introduction is there a way to do this? Thanks, ~Eisa