affiliation?

2007-04-04 Thread Richard Wang

Hi,

I am using lyx on my Intel Mac.  I want to put "affiliation" in the  
article by putting the tex in the lyx.  But I got an error message:


undefined control sequence.
Latex Error: Environment Affiliations undefined

Any way to put the affiliations?

Thanks,
Richard



unavailable document class- Mac intel

2006-09-04 Thread Richard Wang

Hi,

I install the MacTex and then lyx-1.4.2 on Mac Intel machine, but get  
unavailable document class for all document classes.  Can anybody  
give me suggestion about this solving this problem?


Thanks,
Richard


put graph in the center of a float

2005-07-18 Thread Richard Wang

Hi,

Can someone tell me how to put a graph in the center of a float?  I 
export the lyx file to Latex  file. The graphs parts don't contain 
{center} in the Latex code.  They always print out to the left on the 
paper.


Thanks!

Richard



Re: laprint & psfrag

2005-05-27 Thread Richard Wang

In case that someone knows a2ping, the line 1681 is:

 o_force_papersize:
die if is_page1_stop();
 # vvv ($llx,$lly,$urx,$ury)=(0,0,$papersize_x,$papersize_y);

Thanks.

Richard


On May 27, 2005, at 1:01 PM, Richard Wang wrote:

I see, I removed it.   Now the line 36,  ~/a2ping.pl part has problem, 
matlab shows:


/Users/richardwang/a2ping.pl  command does not exist.

Then I replace ~/a2ping.pl by a2ping, but it shows:

Compiling: LaTeX -> dvips -> pdf ...
Died at /usr/local/teTeX/bin/powerpc-apple-darwin-current/a2ping line 
1618,  line 1.

cd /tmp; a2ping laprint_out.ps: Signal 127
cp: /tmp/laprint_out.pdf: No such file or directory

Any suggestions?

Richard





On May 27, 2005, at 12:43 PM, Vaclav Smidl wrote:



! LaTeX Error: File `mono-pre.tex' not found.


Oh, sorry, I did not noticed that.
It is a file with my personal newcommands. :-).
Remove it or replace with your own...

Best,

Vasek







Re: laprint & psfrag

2005-05-27 Thread Richard Wang
I see, I removed it.   Now the line 36,  ~/a2ping.pl part has problem, 
matlab shows:


/Users/richardwang/a2ping.pl  command does not exist.

Then I replace ~/a2ping.pl by a2ping, but it shows:

Compiling: LaTeX -> dvips -> pdf ...
Died at /usr/local/teTeX/bin/powerpc-apple-darwin-current/a2ping line 
1618,  line 1.

cd /tmp; a2ping laprint_out.ps: Signal 127
cp: /tmp/laprint_out.pdf: No such file or directory

Any suggestions?

Richard





On May 27, 2005, at 12:43 PM, Vaclav Smidl wrote:



! LaTeX Error: File `mono-pre.tex' not found.


Oh, sorry, I did not noticed that.
It is a file with my personal newcommands. :-).
Remove it or replace with your own...

Best,

Vasek





Re: laprint & psfrag

2005-05-27 Thread Richard Wang
that's exact what I did.  I changed graphicp to graphicx,  It runs well  
in the beginning, but the system could not find the file mono-pre.tex.   
There should be a way to fix it..



LaTeX2e <2003/12/01>
Babel  and hyphenation patterns for american, french, german,  
ngerman, n

ohyphenation, loaded.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/geometry/geometry.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/keyval.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/geometry/geometry.cfg))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphicx.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/trig.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.cfg)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/dvips.def)))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/psfrag/psfrag.sty)

! LaTeX Error: File `mono-pre.tex' not found.

Type X to quit or  to proceed,
or enter new name. (Default extension: tex)



On May 27, 2005, at 11:10 AM, Vaclav Smidl wrote:


On Friday 27 May 2005 19:40, Richard Wang wrote:

Hi Vasek,

Thanks for the message.  I tried to run monoprint with the following
code,

x=0:0.1:1
plot(x,sin(x))
monoprint(1,'test4',2)



Strange. Works fine on my setup. (Linux, tetex)
BTW, I would not use 2 as the third argument. The picture would be  
bigger than
the page of article class. You would need to add a3paper to its  
options.



But the system hung...


Well, this happens when there is malformed latex code in the figure  
and latex

runs in interactive mode.

Do you have all the packages? graphicp,psfrag, geometry
Actually, you do not need graphicp, change it to graphicx, it should  
also

work.

What happens if you go to /tmp and run:
latex pcttmp.tex
manually?


Vasek

--  
--- 
--

Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web:  
http://www.utia.cas.cz/AS/smidl/

of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic





laprint & psfrag

2005-05-27 Thread Richard Wang

it hangs on line 33 in monoprint.m :

eval('!cd /tmp; latex pcttmp.tex >/dev/null;');

any suggestions?

Richard


Begin forwarded message:


From: Richard Wang <[EMAIL PROTECTED]>
Date: May 27, 2005 10:40:21 AM PDT
To: Vaclav Smidl <[EMAIL PROTECTED]>
Cc: lyx-users@lists.lyx.org
Subject: Re: laprint & psfrag

Hi Vasek,

Thanks for the message.  I tried to run monoprint with the following  
code,


x=0:0.1:1
plot(x,sin(x))
monoprint(1,'test4',2)

But the system hung...

Did I use it incorrectly?
I have a2ping installed in my system.

Richard

On May 27, 2005, at 2:15 AM, Vaclav Smidl wrote:


Hi,
I do, indirectly.

I have a matlab .m file that runs latex on background and produce a  
.pdf file.

Attached.
It is also using a2ping script, which is too big for mailinglist,  
google for

it, or I can send it in private e-mail.

Vasek



On Friday 27 May 2005 10:08, Richard Wang wrote:

Hi,

Anyone use laprint, a matlab function, successfully in lyx?

Richard


--  
-- 
---

Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web:  
http://www.utia.cas.cz/AS/smidl/

of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic





Re: laprint & psfrag

2005-05-27 Thread Richard Wang

Hi Vasek,

Thanks for the message.  I tried to run monoprint with the following  
code,


x=0:0.1:1
plot(x,sin(x))
monoprint(1,'test4',2)

But the system hung...

Did I use it incorrectly?
I have a2ping installed in my system.

Richard

On May 27, 2005, at 2:15 AM, Vaclav Smidl wrote:


Hi,
I do, indirectly.

I have a matlab .m file that runs latex on background and produce a  
.pdf file.

Attached.
It is also using a2ping script, which is too big for mailinglist,  
google for

it, or I can send it in private e-mail.

Vasek



On Friday 27 May 2005 10:08, Richard Wang wrote:

Hi,

Anyone use laprint, a matlab function, successfully in lyx?

Richard


--  
--- 
--

Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web:  
http://www.utia.cas.cz/AS/smidl/

of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic





laprint & psfrag

2005-05-27 Thread Richard Wang

Hi,

Anyone use laprint, a matlab function, successfully in lyx?

Richard



Article title covers page number...

2005-05-24 Thread Richard Wang

Hi,

My article title on every page covers the page number.  I use AMS 
article.  Is there anyway to fix this?


There's also a word 'english'  in the beginning of my title on every 
page, can anyone tell me how to remove it?  Thanks.


Richard



Theorem and Definition for math paper

2002-10-22 Thread Richard Wang
Hi,
I am writing a math paper with a few theorems.  Any one can tell me how 
to write a "Thereom" title beside typing it myself?  Thanks.

Richard




xforms for RH7.2

2002-05-03 Thread Richard Wang

Hi,
Can Anybody tell me where to download xform for RH7.2?  It is neccessary
for installing lyx?
Thanks!

Richard




how to reference a float figure

2002-04-29 Thread Richard Wang

Any one can tell me how to reference a flow figure?  Thanks!

Richard



numbering equation

2002-03-07 Thread Richard Wang

Hi,

Is there a way to syncronize the number of equation to the use of the 
equation?  For example,

-
1+1=2   (#)

 From (#) we know that addition is so easy ..
--

We don't know what the first # is until we see the dvi file.  Can we 
"link" the 2nd # with the 1st # for the equation such that they are 
always the same?  Thanks!

Richard




integration does not show on the lyx

2002-03-05 Thread Richard Wang



Hi,
 
I find the \int can not be shown 
on the lyx, and the subscript doesn't look right for some character e.g. 
u^n.  Although these features do not cause any problem on dvi file, I am 
wondering if my software need to be updated to fixed4.  
 
Does everybody have the same 
situation?
 
Richard  
 
 


Re: \mathbf and equation number in Lyx

2002-03-04 Thread Richard Wang

Thanks!  

How about for the feature Lyx does not offer?  For example bold italic. 
 In the help, we see:

*bold italic*

By default you get always upright letters if you mark the charcaters and 
make them bold with ctrl-b. To get bold italic characters write in 
Preamble:

\newcommand{\bold}[1]{\textbf{\textit{#1}}

I am not sure how to write this kind of Preamble. If I put this line on 
the top of my
lyx document, it does not work at all. Any idea?

Richard

Herbert Voss wrote:

>On Tuesday, 5. March 2002 06:30, Richard Wang wrote:
>
>>Can anyone tell me how to get these Latex features, the \mathbf (larger
>>font) and equation number in Lyx?  Thanks!
>>
>
>in mathmode ctrl-b to start bold and ctrl-b to toggle back. 
>alt-m-n for numbering (cursor inside the formula).
>
>Herbert
>






\mathbf and equation number in Lyx

2002-03-04 Thread Richard Wang

Hi,

Can anyone tell me how to get these Latex features, the \mathbf (larger 
font) and equation number in Lyx?  Thanks!

Richard




Transfer Latex documents to Lyx environment

2002-03-04 Thread Richard Wang

Hi,

I have some documents which are already typed in Latex with many math 
equations in them. I want to make these Latex file become Lyx file so I 
can work on the remaining of the documents in Lyx.  The only way I can 
imagine is copy the Latex text file and paste them to Lyx environment. 
But this way can not make math equations  show up in Lyx.  Anybody know 
how to solve this problem?

Richard