book(ams) class doesn't have abstract style

2008-11-08 Thread Laser Yuan
Actually, I have two problem with using the book(ams) class.

First, I want to have a piece of abstract in my document just before the
content list. But there is no option for this format in book(ams) class. Can
I add abstract to the document manually, and how to do that?

Second, when ever I compile the lyx book file, all the child document are
automatically opened. How can I avoid that?

Thanks for your help in advance.

Bests,

Laser


Re: The index numbers overlap with the titles

2008-11-25 Thread Laser Yuan
Hi,

As you know, book{ams} layout can automatically general Content, List of
Figure etc. But sometimes List of Figures has the index numbers overlap
on the titles of those figures. I exact one page pdf(below link) to show
this phenomenon. Can I fix it?
http://www.yousendit.com/download/TTZuRFFSZ1A5eFZFQlE9PQ

Thanks in advance


Re: The index numbers overlap with the titles

2008-11-26 Thread Laser Yuan
Could anybody help me? This time I attached the lyx code bellow, which
demonstrate the bug. I'm hoping for a quick response, since I'm supposed to
turn in the thesis in days. Thanks for your help!

#LyX 1.5.6 created this file. For more info see http://www.lyx.org/
\lyxformat 276
\begin_document
\begin_header
\textclass amsbook
\language english
\inputencoding auto
\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
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author 
\end_header

\begin_body

\begin_layout Standard
\begin_inset FloatList figure

\end_inset


\end_layout

\begin_layout Chapter
I
\end_layout

\begin_layout Section
jkhk
\end_layout

\begin_layout Subsection
vbcb
\end_layout

\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Standard

\end_layout

\begin_layout Standard
\begin_inset Caption

\begin_layout Standard
Overlap
\end_layout

\end_inset


\end_layout

\begin_layout Standard

\end_layout

\end_inset


\end_layout

\begin_layout Subsection
adfsd
\end_layout

\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Standard
\begin_inset Caption

\begin_layout Standard
Overlap
\end_layout

\end_inset


\end_layout

\begin_layout Standard

\end_layout

\end_inset


\end_layout

\end_body
\end_document


How to implement batch convertion on equations style.

2009-02-12 Thread Laser Yuan
I have attached the sample file bellow. I have put many equations in arrays
since I want to get multiline equation with single label and align them to
the left. But it turned out that elements in the array are not in display
style. Finally, I found using aligned AMS environment is what I desired. I
just need to put all of them to the second column to get them align left.
But situation now is that I have so many equations need to perform this
conversion. Could anybody give a  suggest on what I shall do to minimize the
workload. Thanks in advance!

Laser

#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
\usepackage{lmodern}
\newcommand{\1}{\mbox{1\hspace{-1mm}I}}
\numberwithin{equation}{section}

%control the line space in multiline equations
\usepackage{calc}
\setlength{\jot}{3mm+3pt}
\end_preamble
\use_default_options true
\begin_modules
theorems-ams
\end_modules
\language english
\inputencoding auto
\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 11
\spacing double
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 3
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize a4paper
\use_geometry true
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 3cm
\rightmargin 1.5cm
\bottommargin 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle plain
\tracking_changes false
\output_changes false
\author 
\author 
\end_header

\begin_body

\begin_layout Standard
I have inputed so many equations like this ( faractions, exponentials are
 not in display style, equations aligned to the left, with only one lable):
\begin_inset Formula \begin{equation}
\begin{array}{l}
v^{-}\left(x;a,b\right)=-\left(c^{+}+c^{-}\right)\frac{\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\\
+\frac{\left(h-rc^{+}\right)\exp-\left(\rho_{1}+\rho_{2}\right)b}{r\left(\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)\right)}\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\\
+\frac{\left(p+h\right)\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\left(\rho_{2}\exp-\rho_{2}b-\rho_{1}\exp-\rho_{1}b\right)}{r\left(\rho_{1}-\rho_{2}\right)\left(\exp\rho_{1}\left(a-b\right)-\exp\rho_{2}\left(a-b\right)\right)}\\
+\frac{p+rc^{-}}{r}\frac{\left(\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)-\exp\rho_{1}\left(a-b\right)+\exp\rho_{2}\left(a-b\right)\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\end{array}\label{eq:with
one lable}\end{equation}

\end_inset


\end_layout

\begin_layout Standard
What's the quickest way to convert all those equations into this style (all
 items are in display style )
\begin_inset Formula \begin{equation}
\begin{aligned} 
v^{-}\left(x;a,b\right)=-\left(c^{+}+c^{-}\right)\frac{\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\\
 
+\frac{\left(h-rc^{+}\right)\exp-\left(\rho_{1}+\rho_{2}\right)b}{r\left(\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)\right)}\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\\
 
+\frac{\left(p+h\right)\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\left(\rho_{2}\exp-\rho_{2}b-\rho_{1}\exp-\rho_{1}b\right)}{r\left(\rho_{1}-\rho_{2}\right)\left(\exp\rho_{1}\left(a-b\right)-\exp\rho_{2}\left(a-b\right)\right)}\\
 
+\frac{p+rc^{-}}{r}\frac{\left(\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)-\exp\rho_{1}\left(a-b\right)+\exp\rho_{2}\left(a-b\right)\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\end{aligned}
\label{eq:still one lable}\end{equation}

\end_inset


\end_layout

\end_body
\end_document


How to get a modified Enumerate style?

2009-02-23 Thread Laser Yuan
Hi,

I need to write an description for an algorithm in my paper, which includes
several steps . Basically the Enumerate style will fit my purpose. Except
that I want a sequence like this:

Step 1 ...
   ...
Step 2
   ...

instead of

1. .
...
2. .
...

Any method could achieve this style? Thanks in advance!


List of Tables, numbering problem

2009-07-16 Thread Laser Yuan
Hello,

I have tables in Chapters, say, two in the first Chapter, one in the second.
And I'm using ASM(book) class.

The numbering comes up with the list of talbes are like this:

1 
2 ...

1 ...

I want it to be:
1.1 ...
1.2 ...

2.1 ...

Could anybody tell me, how this wizard numbering happened. and how to solve
it. I attached a sample as bellow for your information

Thanks.
_

#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass amsbook
\begin_preamble

\end_preamble
\use_default_options true
\begin_modules
theorems-ams
\end_modules
\language english
\inputencoding auto
\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 onehalf
\use_hyperref false
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 3
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 3cm
\rightmargin 1.5cm
\bottommargin 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\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 FloatList table

\end_inset


\end_layout

\begin_layout Chapter
the first chapter
\end_layout

\begin_layout Section
the first section of chapter 1
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the second table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Chapter
the second chapter
\end_layout

\begin_layout Section
the first section of chapter 2
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first chapter in chapter 2
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document


importing latex with new document class.

2009-08-14 Thread Laser Yuan
Hi,

I need to import a latex document to lyx. It turned out not be working since
a new class file is used in the latex file. As I remember, in old version of
lyx, user can define the document class in document setting. It's not
allowed to do so now. My question is how can I import a latex file with a
new latex class included. Thanks for your help.

Regards,
Laser


book(ams) class doesn't have abstract style

2008-11-08 Thread Laser Yuan
Actually, I have two problem with using the book(ams) class.

First, I want to have a piece of abstract in my document just before the
content list. But there is no option for this format in book(ams) class. Can
I add abstract to the document manually, and how to do that?

Second, when ever I compile the lyx book file, all the child document are
automatically opened. How can I avoid that?

Thanks for your help in advance.

Bests,

Laser


Re: The index numbers overlap with the titles

2008-11-25 Thread Laser Yuan
Hi,

As you know, book{ams} layout can automatically general Content, List of
Figure etc. But sometimes List of Figures has the index numbers overlap
on the titles of those figures. I exact one page pdf(below link) to show
this phenomenon. Can I fix it?
http://www.yousendit.com/download/TTZuRFFSZ1A5eFZFQlE9PQ

Thanks in advance


Re: The index numbers overlap with the titles

2008-11-26 Thread Laser Yuan
Could anybody help me? This time I attached the lyx code bellow, which
demonstrate the bug. I'm hoping for a quick response, since I'm supposed to
turn in the thesis in days. Thanks for your help!

#LyX 1.5.6 created this file. For more info see http://www.lyx.org/
\lyxformat 276
\begin_document
\begin_header
\textclass amsbook
\language english
\inputencoding auto
\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
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author 
\end_header

\begin_body

\begin_layout Standard
\begin_inset FloatList figure

\end_inset


\end_layout

\begin_layout Chapter
I
\end_layout

\begin_layout Section
jkhk
\end_layout

\begin_layout Subsection
vbcb
\end_layout

\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Standard

\end_layout

\begin_layout Standard
\begin_inset Caption

\begin_layout Standard
Overlap
\end_layout

\end_inset


\end_layout

\begin_layout Standard

\end_layout

\end_inset


\end_layout

\begin_layout Subsection
adfsd
\end_layout

\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Standard
\begin_inset Caption

\begin_layout Standard
Overlap
\end_layout

\end_inset


\end_layout

\begin_layout Standard

\end_layout

\end_inset


\end_layout

\end_body
\end_document


How to implement batch convertion on equations style.

2009-02-12 Thread Laser Yuan
I have attached the sample file bellow. I have put many equations in arrays
since I want to get multiline equation with single label and align them to
the left. But it turned out that elements in the array are not in display
style. Finally, I found using aligned AMS environment is what I desired. I
just need to put all of them to the second column to get them align left.
But situation now is that I have so many equations need to perform this
conversion. Could anybody give a  suggest on what I shall do to minimize the
workload. Thanks in advance!

Laser

#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
\usepackage{lmodern}
\newcommand{\1}{\mbox{1\hspace{-1mm}I}}
\numberwithin{equation}{section}

%control the line space in multiline equations
\usepackage{calc}
\setlength{\jot}{3mm+3pt}
\end_preamble
\use_default_options true
\begin_modules
theorems-ams
\end_modules
\language english
\inputencoding auto
\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 11
\spacing double
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 3
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize a4paper
\use_geometry true
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 3cm
\rightmargin 1.5cm
\bottommargin 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle plain
\tracking_changes false
\output_changes false
\author 
\author 
\end_header

\begin_body

\begin_layout Standard
I have inputed so many equations like this ( faractions, exponentials are
 not in display style, equations aligned to the left, with only one lable):
\begin_inset Formula \begin{equation}
\begin{array}{l}
v^{-}\left(x;a,b\right)=-\left(c^{+}+c^{-}\right)\frac{\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\\
+\frac{\left(h-rc^{+}\right)\exp-\left(\rho_{1}+\rho_{2}\right)b}{r\left(\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)\right)}\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\\
+\frac{\left(p+h\right)\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\left(\rho_{2}\exp-\rho_{2}b-\rho_{1}\exp-\rho_{1}b\right)}{r\left(\rho_{1}-\rho_{2}\right)\left(\exp\rho_{1}\left(a-b\right)-\exp\rho_{2}\left(a-b\right)\right)}\\
+\frac{p+rc^{-}}{r}\frac{\left(\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)-\exp\rho_{1}\left(a-b\right)+\exp\rho_{2}\left(a-b\right)\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\end{array}\label{eq:with
one lable}\end{equation}

\end_inset


\end_layout

\begin_layout Standard
What's the quickest way to convert all those equations into this style (all
 items are in display style )
\begin_inset Formula \begin{equation}
\begin{aligned} 
v^{-}\left(x;a,b\right)=-\left(c^{+}+c^{-}\right)\frac{\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\\
 
+\frac{\left(h-rc^{+}\right)\exp-\left(\rho_{1}+\rho_{2}\right)b}{r\left(\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)\right)}\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\\
 
+\frac{\left(p+h\right)\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\left(\rho_{2}\exp-\rho_{2}b-\rho_{1}\exp-\rho_{1}b\right)}{r\left(\rho_{1}-\rho_{2}\right)\left(\exp\rho_{1}\left(a-b\right)-\exp\rho_{2}\left(a-b\right)\right)}\\
 
+\frac{p+rc^{-}}{r}\frac{\left(\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)-\exp\rho_{1}\left(a-b\right)+\exp\rho_{2}\left(a-b\right)\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\end{aligned}
\label{eq:still one lable}\end{equation}

\end_inset


\end_layout

\end_body
\end_document


How to get a modified Enumerate style?

2009-02-23 Thread Laser Yuan
Hi,

I need to write an description for an algorithm in my paper, which includes
several steps . Basically the Enumerate style will fit my purpose. Except
that I want a sequence like this:

Step 1 ...
   ...
Step 2
   ...

instead of

1. .
...
2. .
...

Any method could achieve this style? Thanks in advance!


List of Tables, numbering problem

2009-07-16 Thread Laser Yuan
Hello,

I have tables in Chapters, say, two in the first Chapter, one in the second.
And I'm using ASM(book) class.

The numbering comes up with the list of talbes are like this:

1 
2 ...

1 ...

I want it to be:
1.1 ...
1.2 ...

2.1 ...

Could anybody tell me, how this wizard numbering happened. and how to solve
it. I attached a sample as bellow for your information

Thanks.
_

#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass amsbook
\begin_preamble

\end_preamble
\use_default_options true
\begin_modules
theorems-ams
\end_modules
\language english
\inputencoding auto
\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 onehalf
\use_hyperref false
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 3
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 3cm
\rightmargin 1.5cm
\bottommargin 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\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 FloatList table

\end_inset


\end_layout

\begin_layout Chapter
the first chapter
\end_layout

\begin_layout Section
the first section of chapter 1
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the second table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Chapter
the second chapter
\end_layout

\begin_layout Section
the first section of chapter 2
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first chapter in chapter 2
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document


importing latex with new document class.

2009-08-14 Thread Laser Yuan
Hi,

I need to import a latex document to lyx. It turned out not be working since
a new class file is used in the latex file. As I remember, in old version of
lyx, user can define the document class in document setting. It's not
allowed to do so now. My question is how can I import a latex file with a
new latex class included. Thanks for your help.

Regards,
Laser


book(ams) class doesn't have "abstract" style

2008-11-08 Thread Laser Yuan
Actually, I have two problem with using the book(ams) class.

First, I want to have a piece of abstract in my document just before the
content list. But there is no option for this format in book(ams) class. Can
I add abstract to the document manually, and how to do that?

Second, when ever I compile the lyx book file, all the child document are
automatically opened. How can I avoid that?

Thanks for your help in advance.

Bests,

Laser


Re: The index numbers overlap with the titles

2008-11-25 Thread Laser Yuan
Hi,

As you know, book{ams} layout can automatically general "Content", "List of
Figure" etc. But sometimes "List of Figures" has the index numbers overlap
on the titles of those figures. I exact one page pdf(below link) to show
this phenomenon. Can I fix it?
http://www.yousendit.com/download/TTZuRFFSZ1A5eFZFQlE9PQ

Thanks in advance


Re: The index numbers overlap with the titles

2008-11-26 Thread Laser Yuan
Could anybody help me? This time I attached the lyx code bellow, which
demonstrate the bug. I'm hoping for a quick response, since I'm supposed to
turn in the thesis in days. Thanks for your help!

#LyX 1.5.6 created this file. For more info see http://www.lyx.org/
\lyxformat 276
\begin_document
\begin_header
\textclass amsbook
\language english
\inputencoding auto
\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
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author ""
\end_header

\begin_body

\begin_layout Standard
\begin_inset FloatList figure

\end_inset


\end_layout

\begin_layout Chapter
I
\end_layout

\begin_layout Section
jkhk
\end_layout

\begin_layout Subsection
vbcb
\end_layout

\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Standard

\end_layout

\begin_layout Standard
\begin_inset Caption

\begin_layout Standard
Overlap
\end_layout

\end_inset


\end_layout

\begin_layout Standard

\end_layout

\end_inset


\end_layout

\begin_layout Subsection
adfsd
\end_layout

\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Standard
\begin_inset Caption

\begin_layout Standard
Overlap
\end_layout

\end_inset


\end_layout

\begin_layout Standard

\end_layout

\end_inset


\end_layout

\end_body
\end_document


How to implement batch convertion on equations style.

2009-02-12 Thread Laser Yuan
I have attached the sample file bellow. I have put many equations in arrays
since I want to get multiline equation with single label and align them to
the left. But it turned out that elements in the array are not in display
style. Finally, I found using aligned AMS environment is what I desired. I
just need to put all of them to the second column to get them align left.
But situation now is that I have so many equations need to perform this
conversion. Could anybody give a  suggest on what I shall do to minimize the
workload. Thanks in advance!

Laser

#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
\usepackage{lmodern}
\newcommand{\1}{\mbox{1\hspace{-1mm}I}}
\numberwithin{equation}{section}

%control the line space in multiline equations
\usepackage{calc}
\setlength{\jot}{3mm+3pt}
\end_preamble
\use_default_options true
\begin_modules
theorems-ams
\end_modules
\language english
\inputencoding auto
\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 11
\spacing double
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 3
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize a4paper
\use_geometry true
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 3cm
\rightmargin 1.5cm
\bottommargin 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle plain
\tracking_changes false
\output_changes false
\author ""
\author ""
\end_header

\begin_body

\begin_layout Standard
I have inputed so many equations like this ( faractions, exponentials are
 not in display style, equations aligned to the left, with only one lable):
\begin_inset Formula \begin{equation}
\begin{array}{l}
v^{-}\left(x;a,b\right)=-\left(c^{+}+c^{-}\right)\frac{\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\\
+\frac{\left(h-rc^{+}\right)\exp-\left(\rho_{1}+\rho_{2}\right)b}{r\left(\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)\right)}\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\\
+\frac{\left(p+h\right)\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\left(\rho_{2}\exp-\rho_{2}b-\rho_{1}\exp-\rho_{1}b\right)}{r\left(\rho_{1}-\rho_{2}\right)\left(\exp\rho_{1}\left(a-b\right)-\exp\rho_{2}\left(a-b\right)\right)}\\
+\frac{p+rc^{-}}{r}\frac{\left(\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)-\exp\rho_{1}\left(a-b\right)+\exp\rho_{2}\left(a-b\right)\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\end{array}\label{eq:with
one lable}\end{equation}

\end_inset


\end_layout

\begin_layout Standard
What's the quickest way to convert all those equations into this style (all
 items are in display style )
\begin_inset Formula \begin{equation}
\begin{aligned} &
v^{-}\left(x;a,b\right)=-\left(c^{+}+c^{-}\right)\frac{\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\\
 &
+\frac{\left(h-rc^{+}\right)\exp-\left(\rho_{1}+\rho_{2}\right)b}{r\left(\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)\right)}\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\\
 &
+\frac{\left(p+h\right)\left(\exp\left(\rho_{1}x+\rho_{2}a\right)-\exp\left(\rho_{2}x+\rho_{1}a\right)\right)\left(\rho_{2}\exp-\rho_{2}b-\rho_{1}\exp-\rho_{1}b\right)}{r\left(\rho_{1}-\rho_{2}\right)\left(\exp\rho_{1}\left(a-b\right)-\exp\rho_{2}\left(a-b\right)\right)}\\
 &
+\frac{p+rc^{-}}{r}\frac{\left(\exp\rho_{1}\left(x-b\right)-\exp\rho_{2}\left(x-b\right)-\exp\rho_{1}\left(a-b\right)+\exp\rho_{2}\left(a-b\right)\right)}{\exp\rho_{1}\left(b-a\right)-\exp\rho_{2}\left(b-a\right)}\end{aligned}
\label{eq:still one lable}\end{equation}

\end_inset


\end_layout

\end_body
\end_document


How to get a modified Enumerate style?

2009-02-23 Thread Laser Yuan
Hi,

I need to write an description for an algorithm in my paper, which includes
several steps . Basically the Enumerate style will fit my purpose. Except
that I want a sequence like this:

Step 1 ...
   ...
Step 2
   ...

instead of

1. .
...
2. .
...

Any method could achieve this style? Thanks in advance!


List of Tables, numbering problem

2009-07-16 Thread Laser Yuan
Hello,

I have tables in Chapters, say, two in the first Chapter, one in the second.
And I'm using ASM(book) class.

The numbering comes up with the "list of talbes" are like this:

1 
2 ...

1 ...

I want it to be:
1.1 ...
1.2 ...

2.1 ...

Could anybody tell me, how this wizard numbering happened. and how to solve
it. I attached a sample as bellow for your information

Thanks.
_

#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass amsbook
\begin_preamble

\end_preamble
\use_default_options true
\begin_modules
theorems-ams
\end_modules
\language english
\inputencoding auto
\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 onehalf
\use_hyperref false
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 3
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 3cm
\rightmargin 1.5cm
\bottommargin 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\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 FloatList table

\end_inset


\end_layout

\begin_layout Chapter
the first chapter
\end_layout

\begin_layout Section
the first section of chapter 1
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the second table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Chapter
the second chapter
\end_layout

\begin_layout Section
the first section of chapter 2
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first chapter in chapter 2
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document


importing latex with new document class.

2009-08-14 Thread Laser Yuan
Hi,

I need to import a latex document to lyx. It turned out not be working since
a new class file is used in the latex file. As I remember, in old version of
lyx, user can define the document class in document setting. It's not
allowed to do so now. My question is how can I import a latex file with a
new latex class included. Thanks for your help.

Regards,
Laser