Re: fine-tuning equation alignment

2008-02-12 Thread winson
Once you are in the math mode, press Ctrl-Enter without inputting anything. By 
doing so, you will get two rows of empty boxes. Then, you can choose any box to 
input LHS, RHS, and =.

Winson 




problem on nomenclature first page layout

2008-02-12 Thread winson
Hi there,

In my class file, I have defined the layout of 'frontmatter' environment to 
print page numbers at the bottom middle of the pages. However, the defined 
layout does not work on the first page of the nomenclature. It always has the 
page number printed on the top right corner of page, although all the other 
pages have the page numbers at the right position. How can I solve this 
problem? Thanks in advance for the help!

\newenvironment{frontmatter}
{\newpage\setcounter{page}{1}\renewcommand{\thepage}{\roman{page}}
[EMAIL PROTECTED]@oddhead}{}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
{\renewcommand{\thepage}{\arabic{page}}\setcounter{page}{1}}

\begin{frontmatter}
\maketitle
\copyrightpage
\input{Abstract}
\tableofcontents
\listoffigures
\listoftables
\printnomenclature
\input{Acknowledgements}
\end{frontmatter}   

Winson



Re: fine-tuning equation alignment

2008-02-12 Thread winson
Once you are in the math mode, press Ctrl-Enter without inputting anything. By 
doing so, you will get two rows of empty boxes. Then, you can choose any box to 
input LHS, RHS, and =.

Winson 




problem on nomenclature first page layout

2008-02-12 Thread winson
Hi there,

In my class file, I have defined the layout of 'frontmatter' environment to 
print page numbers at the bottom middle of the pages. However, the defined 
layout does not work on the first page of the nomenclature. It always has the 
page number printed on the top right corner of page, although all the other 
pages have the page numbers at the right position. How can I solve this 
problem? Thanks in advance for the help!

\newenvironment{frontmatter}
{\newpage\setcounter{page}{1}\renewcommand{\thepage}{\roman{page}}
[EMAIL PROTECTED]@oddhead}{}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
{\renewcommand{\thepage}{\arabic{page}}\setcounter{page}{1}}

\begin{frontmatter}
\maketitle
\copyrightpage
\input{Abstract}
\tableofcontents
\listoffigures
\listoftables
\printnomenclature
\input{Acknowledgements}
\end{frontmatter}   

Winson



Re: fine-tuning equation alignment

2008-02-12 Thread winson
Once you are in the math mode, press Ctrl-Enter without inputting anything. By 
doing so, you will get two rows of empty boxes. Then, you can choose any box to 
input LHS, RHS, and =.

Winson 




problem on nomenclature first page layout

2008-02-12 Thread winson
Hi there,

In my class file, I have defined the layout of 'frontmatter' environment to 
print page numbers at the bottom middle of the pages. However, the defined 
layout does not work on the first page of the nomenclature. It always has the 
page number printed on the top right corner of page, although all the other 
pages have the page numbers at the right position. How can I solve this 
problem? Thanks in advance for the help!

\newenvironment{frontmatter}
{\newpage\setcounter{page}{1}\renewcommand{\thepage}{\roman{page}}
[EMAIL PROTECTED]@oddhead}{}
[EMAIL PROTECTED]
[EMAIL PROTECTED]
{\renewcommand{\thepage}{\arabic{page}}\setcounter{page}{1}}

\begin{frontmatter}
\maketitle
\copyrightpage
\input{Abstract}
\tableofcontents
\listoffigures
\listoftables
\printnomenclature
\input{Acknowledgements}
\end{frontmatter}   

Winson



Re: Implementation of the format definition in a given .cls file

2007-11-09 Thread Winson
Hello there, thanks to everyone!

I finally have solved the problem by using ERT.

Cheers!

Winson

 



Re: Implementation of the format definition in a given .cls file

2007-11-09 Thread Winson
Hello there, thanks to everyone!

I finally have solved the problem by using ERT.

Cheers!

Winson

 



Re: Implementation of the format definition in a given .cls file

2007-11-09 Thread Winson
Hello there, thanks to everyone!

I finally have solved the problem by using ERT.

Cheers!

Winson

 



Implementation of the format definition in a given .cls file

2007-11-08 Thread Winson
I am writing my thesis with ucthesis.cls downloaded from CTAN and installed on 
my computer. I made my ucthesis.layout as following:

#% Do not delete the line below; configure depends on this  
#  \DeclareLaTeXClass[ucthesis]{UC Thesis}

# Read the definitions from report.layout
Input report.layout

The layout file works. But when I tried to add a title to my thesis by clicking 
on Title in style combo box on the toolbar, I got error message Undefined 
control sequence at compilation. I know that the format of title page is 
already defined in ucthesis.cls. But I just could not figure out what I shall 
do in my layout file or lyx file in order to implement the definition properly. 
The content of ucthesis.cls is attached. 

Thanks in advance for your help.

Winson

-
%% ucthesis.cls
%% Copyright (C) 1988-2004 Daniel Gildea, BBF, Ethan Munson.
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
%
% This work has the LPPL maintenance status unmaintained.
% 
% This work consists of the files ucthesis.cls, uct10.clo, uct11.clo,
% uct12.clo, uctest.bib, and uctest.tex.

%%% 
%%%  @LaTeX-class-file{
%%% filename= ucthesis.cls,
%%% version = 3.2,
%%% date= 19 December 2004,
%%% license = LPPL,
%%% codetable   = ISO/ASCII,
%%% keywords= LaTeX, ucthesis,
%%% docstring   = This file is the main file for the ucthesis
%%%class, which is intended to meet the requirements
%%%for University of California Ph.D. dissertations.
%%%It is a direct port to LaTeX2e from UCTHESIS
%%%v2.7 by Ethan V. Munson, with no changes other 
%%%than those for compatibility.  The major modifictions
%%%are in the font selection commands in the option
%%%files uct1x.clo.
%%%
%%%UCTHESIS.STY v2.7 is based on the standard
%%%report.sty as modified by Mittelbach and Schopf in
%%%Jan 1992.  The primary differences are (1) the use
%%%of pseudo-double-spacing, except in certain special
%%%environments; and (2) the use of a 6 inch line
%%%with 4em paragraph indentation.  It is only
%%%intended for single-sided printing.  Double-sided
%%%printing may be possible, but you're on
%%%your own.
%%%
%%%I know of no bugs in this implementation,
%%%but would be happy to hear of any problems
%%%that arise with it.
%%%
%%%Version 2.x fixes a bug in the previous
%%%version of 20 Jun 1988.  The bug was that 
%%%draft optional mode didn't work because of
%%%problems in handling optional arguments.
%%%This file does not seem to work with earlier 
%%%versions of LaTeX (pre-Jan 1992).
%%%
%%%Version 2.3 includes a single-spaced 
%%%tabular* environment.
%%% 
%%%Version 2.4 sets \evensidemargin correctly
%%%for two-sided style.  It also adds new
%%%environments (\smalltabular and
%%%\scriptsizetabular) which produce tables
%%%with smaller fonts.  The obvious methods
%%%of producing small-font tables don't work
%%%in ucthesis style.
%%%
%%%Version 2.5 adds support for the \maketitle
%%%macro.
%%%
%%%Version 2.6 adds support for complete and
%%%correct front matter.  Some dead code was
%%%removed, too.
%%%
%%%Version 2.7 adds front matter support for
%%%thesis committees of more than 3 people
%%%and for a labeled signature line on the
%%%abstract page.
%%%
%%%Version 3.0 is a direct port of version 2.7
%%%to LaTeX2e.  The major revisions in ucthesis.cls
%%%are converting option processing to LaTeX2e

Re: Implementation of the format definition in a given .cls file

2007-11-08 Thread Winson
Richard Heck [EMAIL PROTECTED] writes:

 Which command is it that is undefined? That would be a start.
 
 rh

Richard,

It shows that it is \maketitle. I looked through ucthesis.cls, it is actually 
defined in the file. I figure that I might need to redefine it or provide some 
parameters for it in my document or layout file. But I just do not know how to 
do it.

Thanks,

Winson






Implementation of the format definition in a given .cls file

2007-11-08 Thread Winson
I am writing my thesis with ucthesis.cls downloaded from CTAN and installed on 
my computer. I made my ucthesis.layout as following:

#% Do not delete the line below; configure depends on this  
#  \DeclareLaTeXClass[ucthesis]{UC Thesis}

# Read the definitions from report.layout
Input report.layout

The layout file works. But when I tried to add a title to my thesis by clicking 
on Title in style combo box on the toolbar, I got error message Undefined 
control sequence at compilation. I know that the format of title page is 
already defined in ucthesis.cls. But I just could not figure out what I shall 
do in my layout file or lyx file in order to implement the definition properly. 
The content of ucthesis.cls is attached. 

Thanks in advance for your help.

Winson

-
%% ucthesis.cls
%% Copyright (C) 1988-2004 Daniel Gildea, BBF, Ethan Munson.
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
%
% This work has the LPPL maintenance status unmaintained.
% 
% This work consists of the files ucthesis.cls, uct10.clo, uct11.clo,
% uct12.clo, uctest.bib, and uctest.tex.

%%% 
%%%  @LaTeX-class-file{
%%% filename= ucthesis.cls,
%%% version = 3.2,
%%% date= 19 December 2004,
%%% license = LPPL,
%%% codetable   = ISO/ASCII,
%%% keywords= LaTeX, ucthesis,
%%% docstring   = This file is the main file for the ucthesis
%%%class, which is intended to meet the requirements
%%%for University of California Ph.D. dissertations.
%%%It is a direct port to LaTeX2e from UCTHESIS
%%%v2.7 by Ethan V. Munson, with no changes other 
%%%than those for compatibility.  The major modifictions
%%%are in the font selection commands in the option
%%%files uct1x.clo.
%%%
%%%UCTHESIS.STY v2.7 is based on the standard
%%%report.sty as modified by Mittelbach and Schopf in
%%%Jan 1992.  The primary differences are (1) the use
%%%of pseudo-double-spacing, except in certain special
%%%environments; and (2) the use of a 6 inch line
%%%with 4em paragraph indentation.  It is only
%%%intended for single-sided printing.  Double-sided
%%%printing may be possible, but you're on
%%%your own.
%%%
%%%I know of no bugs in this implementation,
%%%but would be happy to hear of any problems
%%%that arise with it.
%%%
%%%Version 2.x fixes a bug in the previous
%%%version of 20 Jun 1988.  The bug was that 
%%%draft optional mode didn't work because of
%%%problems in handling optional arguments.
%%%This file does not seem to work with earlier 
%%%versions of LaTeX (pre-Jan 1992).
%%%
%%%Version 2.3 includes a single-spaced 
%%%tabular* environment.
%%% 
%%%Version 2.4 sets \evensidemargin correctly
%%%for two-sided style.  It also adds new
%%%environments (\smalltabular and
%%%\scriptsizetabular) which produce tables
%%%with smaller fonts.  The obvious methods
%%%of producing small-font tables don't work
%%%in ucthesis style.
%%%
%%%Version 2.5 adds support for the \maketitle
%%%macro.
%%%
%%%Version 2.6 adds support for complete and
%%%correct front matter.  Some dead code was
%%%removed, too.
%%%
%%%Version 2.7 adds front matter support for
%%%thesis committees of more than 3 people
%%%and for a labeled signature line on the
%%%abstract page.
%%%
%%%Version 3.0 is a direct port of version 2.7
%%%to LaTeX2e.  The major revisions in ucthesis.cls
%%%are converting option processing to LaTeX2e

Re: Implementation of the format definition in a given .cls file

2007-11-08 Thread Winson
Richard Heck [EMAIL PROTECTED] writes:

 Which command is it that is undefined? That would be a start.
 
 rh

Richard,

It shows that it is \maketitle. I looked through ucthesis.cls, it is actually 
defined in the file. I figure that I might need to redefine it or provide some 
parameters for it in my document or layout file. But I just do not know how to 
do it.

Thanks,

Winson






Implementation of the format definition in a given .cls file

2007-11-08 Thread Winson
I am writing my thesis with ucthesis.cls downloaded from CTAN and installed on 
my computer. I made my ucthesis.layout as following:

#% Do not delete the line below; configure depends on this  
#  \DeclareLaTeXClass[ucthesis]{UC Thesis}

# Read the definitions from report.layout
Input report.layout

The layout file works. But when I tried to add a title to my thesis by clicking 
on "Title" in style combo box on the toolbar, I got error message "Undefined 
control sequence" at compilation. I know that the format of title page is 
already defined in ucthesis.cls. But I just could not figure out what I shall 
do in my layout file or lyx file in order to implement the definition properly. 
The content of ucthesis.cls is attached. 

Thanks in advance for your help.

Winson

-
%% ucthesis.cls
%% Copyright (C) 1988-2004 Daniel Gildea, BBF, Ethan Munson.
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
%
% This work has the LPPL maintenance status "unmaintained".
% 
% This work consists of the files ucthesis.cls, uct10.clo, uct11.clo,
% uct12.clo, uctest.bib, and uctest.tex.

%%% 
%%%  @LaTeX-class-file{
%%% filename= "ucthesis.cls",
%%% version = "3.2",
%%% date= "19 December 2004",
%%% license = "LPPL",
%%% codetable   = "ISO/ASCII",
%%% keywords= "LaTeX, ucthesis",
%%% docstring   = "This file is the main file for the ucthesis
%%%class, which is intended to meet the requirements
%%%for University of California Ph.D. dissertations.
%%%It is a direct port to LaTeX2e from UCTHESIS
%%%v2.7 by Ethan V. Munson, with no changes other 
%%%than those for compatibility.  The major modifictions
%%%are in the font selection commands in the option
%%%files uct1x.clo.
%%%
%%%UCTHESIS.STY v2.7 is based on the standard
%%%report.sty as modified by Mittelbach and Schopf in
%%%Jan 1992.  The primary differences are (1) the use
%%%of pseudo-double-spacing, except in certain special
%%%environments; and (2) the use of a 6 inch line
%%%with 4em paragraph indentation.  It is only
%%%intended for single-sided printing.  Double-sided
%%%printing may be possible, but you're on
%%%your own.
%%%
%%%I know of no bugs in this implementation,
%%%but would be happy to hear of any problems
%%%that arise with it.
%%%
%%%Version 2.x fixes a bug in the previous
%%%version of 20 Jun 1988.  The bug was that 
%%%"draft" optional mode didn't work because of
%%%problems in handling optional arguments.
%%%This file does not seem to work with earlier 
%%%versions of LaTeX (pre-Jan 1992).
%%%
%%%Version 2.3 includes a single-spaced 
%%%tabular* environment.
%%% 
%%%Version 2.4 sets \evensidemargin correctly
%%%for two-sided style.  It also adds new
%%%environments (\smalltabular and
%%%\scriptsizetabular) which produce tables
%%%with smaller fonts.  The obvious methods
%%%of producing small-font tables don't work
%%%in ucthesis style.
%%%
%%%Version 2.5 adds support for the \maketitle
%%%macro.
%%%
%%%Version 2.6 adds support for complete and
%%%correct front matter.  Some dead code was
%%%removed, too.
%%%
%%%Version 2.7 adds front matter support for
%%%thesis committees of more than 3 people
%%%and for a labeled signature line on the
%%%abstract page.
%%%
%%%Version 3.0 is a direct port of version 2.7
%%%to 

Re: Implementation of the format definition in a given .cls file

2007-11-08 Thread Winson
Richard Heck <[EMAIL PROTECTED]> writes:

> Which command is it that is undefined? That would be a start.
> 
> rh

Richard,

It shows that it is "\maketitle". I looked through ucthesis.cls, it is actually 
defined in the file. I figure that I might need to redefine it or provide some 
parameters for it in my document or layout file. But I just do not know how to 
do it.

Thanks,

Winson






Re: Error message LaTeX Error: no \title given

2006-09-26 Thread winson
Juergen:

Thank you! Your Dirty  Quick approach works. I will refresh my LaTeX knowledge 
a little bit, and will try the 'better approach' soon. Thanks again.  






Re: Error message LaTeX Error: no \title given

2006-09-26 Thread winson
Juergen:

Thank you! Your Dirty  Quick approach works. I will refresh my LaTeX knowledge 
a little bit, and will try the 'better approach' soon. Thanks again.  






Re: Error message "LaTeX Error: no \title given"

2006-09-26 Thread winson
Juergen:

Thank you! Your Dirty & Quick approach works. I will refresh my LaTeX knowledge 
a little bit, and will try the 'better approach' soon. Thanks again.  






How to use style file

2006-09-25 Thread winson
Hello there:

I am planning to submit a paper to a journal. The
format of the journal paper is provided as a style
file, say 'ndst.sty'. 

I am using LyX 1.42 on Windows XP. Following the
instructions in 'Customization' manual, I did the
following:

1)I made a copy of 'artical.layout', and renamed it to
'ndst.layout'.

2)I modified the top lines of 'ndst.layout' to
#% Do not delete the line below; configure depends on
this
#  \DeclareLaTeXClass[article,
ndst.sty]{article(ndst)}

Preamble
\usepackage{ndst}
EndPreamble

The remaining lines of 'ndst.layout' are kept
unchanged.

After I reconfigured LyX and re-started LyX, the
document classs Article(ndst) is still marked as
'UnAvailable'.

This may be caused by that the system could not locate
file 'ndst.sys', as I am not sure where to put it. I
would appreciate if anyone can give me some help on
how to configure LyX on Windows XP, so that the
document class in style file can be applied to my
paper.

Regards,

Winson 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: How to use style file

2006-09-25 Thread winson
Paul,

Thank you so much. Following what you said, the format is recognized now.

Winson




How to use style file

2006-09-25 Thread winson
Hello there:

I am planning to submit a paper to a journal. The
format of the journal paper is provided as a style
file, say 'ndst.sty'. 

I am using LyX 1.42 on Windows XP. Following the
instructions in 'Customization' manual, I did the
following:

1)I made a copy of 'artical.layout', and renamed it to
'ndst.layout'.

2)I modified the top lines of 'ndst.layout' to
#% Do not delete the line below; configure depends on
this
#  \DeclareLaTeXClass[article,
ndst.sty]{article(ndst)}

Preamble
\usepackage{ndst}
EndPreamble

The remaining lines of 'ndst.layout' are kept
unchanged.

After I reconfigured LyX and re-started LyX, the
document classs Article(ndst) is still marked as
'UnAvailable'.

This may be caused by that the system could not locate
file 'ndst.sys', as I am not sure where to put it. I
would appreciate if anyone can give me some help on
how to configure LyX on Windows XP, so that the
document class in style file can be applied to my
paper.

Regards,

Winson 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: How to use style file

2006-09-25 Thread winson
Paul,

Thank you so much. Following what you said, the format is recognized now.

Winson




How to use style file

2006-09-25 Thread winson
Hello there:

I am planning to submit a paper to a journal. The
format of the journal paper is provided as a style
file, say 'ndst.sty'. 

I am using LyX 1.42 on Windows XP. Following the
instructions in 'Customization' manual, I did the
following:

1)I made a copy of 'artical.layout', and renamed it to
'ndst.layout'.

2)I modified the top lines of 'ndst.layout' to
#% Do not delete the line below; configure depends on
this
#  \DeclareLaTeXClass[article,
ndst.sty]{article(ndst)}

Preamble
\usepackage{ndst}
EndPreamble

The remaining lines of 'ndst.layout' are kept
unchanged.

After I reconfigured LyX and re-started LyX, the
document classs Article(ndst) is still marked as
'UnAvailable'.

This may be caused by that the system could not locate
file 'ndst.sys', as I am not sure where to put it. I
would appreciate if anyone can give me some help on
how to configure LyX on Windows XP, so that the
document class in style file can be applied to my
paper.

Regards,

Winson 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: How to use style file

2006-09-25 Thread winson
Paul,

Thank you so much. Following what you said, the format is recognized now.

Winson