Basic Question on the elsarticle.lyx template regarding the template specific label

2016-02-08 Thread Henry Leung
Hi,

I am new to LyX and has no latex experience.  I went through introduction
and the tutorial and that's all I know before I try out the different
template (Yes, I can't wait with the new excitement)

I am trying to write paper using the elsarticle.lyx template and was
confused by the "author label", "author footnote label" and the like.  I
would like to know how to create them when I am writing paper in lyx as I
need them.  Currently I can only copy and paste these label and change the
content in it for new author, and the corresponding "author footnote
label".  All I understand is they are not the regular label or footnote
that was introduced in the tutorial.  Are they template (or document class)
specific? I tried to google the answer as well as looking into the help
file, but I could not find any mention of such (I must admit I did not go
through every single one of them and I simple used the find function with
keyword like "author label")

Thank you in advance for answering this basic question.

Regards,
Henry.


Re: Basic Question on the elsarticle.lyx template regarding the template specific label

2016-02-08 Thread Rich Shepard

On Mon, 8 Feb 2016, Henry Leung wrote:


I am trying to write paper using the elsarticle.lyx template and was
confused by the "author label", "author footnote label" and the like. I
would like to know how to create them when I am writing paper in lyx as I
need them. Currently I can only copy and paste these label and change the
content in it for new author, and the corresponding "author footnote
label". All I understand is they are not the regular label or footnote
that was introduced in the tutorial. Are they template (or document class)
specific?


Henry,

  Perhaps you're not starting correctly. Try this:

  In LyX, use File -> New from template -> elsarticle.lyx. Now you'll see a
heavily commented template with accompanying notes and examples. Fill in the
blanks and replace sample text with your own, or delete those environments
you do not need.

Rich


pst-eucl intersection problem

2016-02-08 Thread camus . philippe
Hello. 
In the following code, the circle (of center A) is drawn but with the 
\pstInterLC, I get an error. 
Compiling with ps2pdf gives the message "ps2pdf error" and no output; 
with XeTeX, I get a notification about a Ghostscript error and an output 
without the intersection points. 


\psset{unit=1cm} 
\pspicture(-3,-2)(9,3) 
\psplot{-3}{9}{x 3 div}\psplot{0}{9}{x 3 div 2 sub} 
\rput(7,2.5){$\mathscr{D}$}\rput(8,0.5){$\mathscr{D}'$} 
\pstGeonode[PosAngle=135](2,-1){A} 
\pstGeonode[PosAngle=100](0,0){B}(6,2){B'} 
\pstGeonode[PosAngle=300](6,0){C'}\pstGeonode[PosAngle=300,PointName=none,PointSymbol=none](0,-2){C1}
 
\pstProjection[CodeFig=true,PosAngle=300]{C'}{C1}{B}[C] 
\pstMiddleAB[CodeFig=true,PointName=none]{B}{C}{O1}\pstMiddleAB[CodeFig=true,PointName=none]{B'}{C'}{O2}
 
\pstLineAB[nodesep=-1]{O1}{O2} 
\pstCircleOA[Radius=\pstDistAB{B}{C} 2 div]{A}{} 
\pstInterLC[Radius=\pstDistAB{B}{C} 2 div]{O1}{O2}{A}{}{O}{O'} 
%\pstCircleOA{O}{A} 
\endpspicture 

Any idea ? 
Thanks 

Philippe 



Re: pst-eucl intersection problem

2016-02-08 Thread Herbert Voss

Am 08.02.2016 um 19:02 schrieb camus.phili...@free.fr:

Hello.
In the following code, the circle (of center A) is drawn but with the
\pstInterLC, I get an error.
Compiling with ps2pdf gives the message "ps2pdf error" and no output;
with XeTeX, I get a notification about a Ghostscript error and an output
without the intersection points.

\psset{unit=1cm}
\pspicture(-3,-2)(9,3)
\psplot{-3}{9}{x 3 div}\psplot{0}{9}{x 3 div 2 sub}
\rput(7,2.5){$\mathscr{D}$}\rput(8,0.5){$\mathscr{D}'$}
\pstGeonode[PosAngle=135](2,-1){A}
\pstGeonode[PosAngle=100](0,0){B}(6,2){B'}
\pstGeonode[PosAngle=300](6,0){C'}\pstGeonode[PosAngle=300,PointName=none,PointSymbol=none](0,-2){C1}
\pstProjection[CodeFig=true,PosAngle=300]{C'}{C1}{B}[C]
\pstMiddleAB[CodeFig=true,PointName=none]{B}{C}{O1}\pstMiddleAB[CodeFig=true,PointName=none]{B'}{C'}{O2}
\pstLineAB[nodesep=-1]{O1}{O2}
\pstCircleOA[Radius=\pstDistAB{B}{C} 2 div]{A}{}
\pstInterLC[Radius=\pstDistAB{B}{C} 2 div]{O1}{O2}{A}{}{O}{O'}


Radius is not possible for \pstInterLC. It is radius=value[unit]
or something like

\pstCircleOA{A}{C}
\pstInterLC{O1}{O2}{A}{C}{O}{O'}

Herbert