Re: IT WORKS BUT.... Re: I found the reason Re: Now 4 error messages Re: OK but another problem Re: IEEE template/layout

2001-07-02 Thread Dekel Tsur

On Sun, Jul 01, 2001 at 05:26:31PM -0500, A. Gunes Koru wrote:
 Now I get the dvi output however there is a problem here. The writings go
 over the picture. And also it writes picture on the screen i am attaching
 the example.lyx file I created and also the postscript file it generated
 so that you can see it. How can we solve it?

The problem is that you mix code from the old IEEEtran.cls and the new
IEEEtran.cls.
If you use the new class file (V1.4), use

\RequirePackage{graphics}
\newenvironment{biography}[2][]{%
\addcontentsline{toc}{section}{Biography}
\footnotesize\unitlength 1mm\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   guarantees correct page breaking
\noindent\setbox0\hbox{\ifx\\#1\\%
\framebox(25,32){}%
\else%
\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}%
\fi}%   box containing the frame
\ht0=37mm\count10=\ht0\divide\count10 by\baselineskip%  calculates lines
\global\hangindent29mm\global\hangafter-\count10%
\hskip-28.5mm\setbox0\hbox to 28.5mm {\raise-30.5mm\box0\hss}%
\dp0=0mm\ht0=0mm\box0\noindent{\bfseries#2}\rmfamily}{
\par\normalfont}

However, the two figures will be one on top of another.
Don't ask me how to fix this.
I suggest you don't try to improve the class file if you don't know what you
are doing. Just use the original class file without trying to insert the eps
figures.



Re: IT WORKS BUT.... Re: I found the reason Re: Now 4 error messages Re: OK but another problem Re: IEEE template/layout

2001-07-02 Thread Dekel Tsur

On Sun, Jul 01, 2001 at 05:26:31PM -0500, A. Gunes Koru wrote:
 Now I get the dvi output however there is a problem here. The writings go
 over the picture. And also it writes picture on the screen i am attaching
 the example.lyx file I created and also the postscript file it generated
 so that you can see it. How can we solve it?

The problem is that you mix code from the old IEEEtran.cls and the new
IEEEtran.cls.
If you use the new class file (V1.4), use

\RequirePackage{graphics}
\newenvironment{biography}[2][]{%
\addcontentsline{toc}{section}{Biography}
\footnotesize\unitlength 1mm\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   guarantees correct page breaking
\noindent\setbox0\hbox{\ifx\\#1\\%
\framebox(25,32){}%
\else%
\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}%
\fi}%   box containing the frame
\ht0=37mm\count10=\ht0\divide\count10 by\baselineskip%  calculates lines
\global\hangindent29mm\global\hangafter-\count10%
\hskip-28.5mm\setbox0\hbox to 28.5mm {\raise-30.5mm\box0\hss}%
\dp0=0mm\ht0=0mm\box0\noindent{\bfseries#2}\rmfamily}{
\par\normalfont}

However, the two figures will be one on top of another.
Don't ask me how to fix this.
I suggest you don't try to improve the class file if you don't know what you
are doing. Just use the original class file without trying to insert the eps
figures.



Re: IT WORKS BUT.... Re: I found the reason Re: Now 4 error messages Re: OK but another problem Re: IEEE template/layout

2001-07-02 Thread Dekel Tsur

On Sun, Jul 01, 2001 at 05:26:31PM -0500, A. Gunes Koru wrote:
> Now I get the dvi output however there is a problem here. The writings go
> over the picture. And also it writes picture on the screen i am attaching
> the example.lyx file I created and also the postscript file it generated
> so that you can see it. How can we solve it?

The problem is that you mix code from the old IEEEtran.cls and the new
IEEEtran.cls.
If you use the new class file (V1.4), use

\RequirePackage{graphics}
\newenvironment{biography}[2][]{%
\addcontentsline{toc}{section}{Biography}
\footnotesize\unitlength 1mm\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   guarantees correct page breaking
\noindent\setbox0\hbox{\ifx\\#1\\%
\framebox(25,32){}%
\else%
\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}%
\fi}%   box containing the frame
\ht0=37mm\count10=\ht0\divide\count10 by\baselineskip%  calculates lines
\global\hangindent29mm\global\hangafter-\count10%
\hskip-28.5mm\setbox0\hbox to 28.5mm {\raise-30.5mm\box0\hss}%
\dp0=0mm\ht0=0mm\box0\noindent{\bfseries#2}\rmfamily}{
\par\normalfont}

However, the two figures will be one on top of another.
Don't ask me how to fix this.
I suggest you don't try to improve the class file if you don't know what you
are doing. Just use the original class file without trying to insert the eps
figures.



Re: I found the reason Re: Now 4 error messages Re: OK but another problem Re: IEEE template/layout

2001-07-01 Thread Dekel Tsur

On Mon, Jul 02, 2001 at 12:29:38AM +0300, Dekel Tsur wrote:
  You do need to load the graphics package and remove the [] after the
  includegraphics command:

 Note that even with these changes the IEEE template file will note work
 because the template doesn't give two arguments to the biography environment.
 You need to add {figurename} before {Your Name} and {Coauthor} at the end of
 the template.

Another option is to define the eps figure argument as optional:

\RequirePackage{graphics}
\newenvironment{biography}[2][]{% % !AC
\footnotesize\unitlength 1mm\bigskip\bigskip\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   garantees correct page breaking
\noindent\setbox0\hbox{\ifx\\#1\\%
\framebox(25,32){}%
\else%
\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}%
\fi}%
picture % !AC
\ht0=37mm\count10=\ht0\divide\count10 by\baselineskip%  calculates lines
\global\hangindent29mm\global\hangafter-\count10%
\hskip-28.5mm\setbox0\hbox to 28.5mm {\raise-30.5mm\box0\hss}%
\dp0=0mm\ht0=0mm\box0\noindent\bf#2\rm}{ % !AC
\par\rm\normalsize}

With this change, you can use the template file with no change.
If you want to insert a picture, use [figurename]{Your name}
instead of {figurename}{Your Name}



Re: I found the reason Re: Now 4 error messages Re: OK but another problem Re: IEEE template/layout

2001-07-01 Thread Dekel Tsur

On Mon, Jul 02, 2001 at 12:29:38AM +0300, Dekel Tsur wrote:
  You do need to load the graphics package and remove the [] after the
  includegraphics command:

 Note that even with these changes the IEEE template file will note work
 because the template doesn't give two arguments to the biography environment.
 You need to add {figurename} before {Your Name} and {Coauthor} at the end of
 the template.

Another option is to define the eps figure argument as optional:

\RequirePackage{graphics}
\newenvironment{biography}[2][]{% % !AC
\footnotesize\unitlength 1mm\bigskip\bigskip\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   garantees correct page breaking
\noindent\setbox0\hbox{\ifx\\#1\\%
\framebox(25,32){}%
\else%
\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}%
\fi}%
picture % !AC
\ht0=37mm\count10=\ht0\divide\count10 by\baselineskip%  calculates lines
\global\hangindent29mm\global\hangafter-\count10%
\hskip-28.5mm\setbox0\hbox to 28.5mm {\raise-30.5mm\box0\hss}%
\dp0=0mm\ht0=0mm\box0\noindent\bf#2\rm}{ % !AC
\par\rm\normalsize}

With this change, you can use the template file with no change.
If you want to insert a picture, use [figurename]{Your name}
instead of {figurename}{Your Name}



Re: I found the reason Re: Now 4 error messages Re: OK but another problem Re: IEEE template/layout

2001-07-01 Thread Dekel Tsur

On Mon, Jul 02, 2001 at 12:29:38AM +0300, Dekel Tsur wrote:
> > You do need to load the graphics package and remove the [] after the
> > includegraphics command:

> Note that even with these changes the IEEE template file will note work
> because the template doesn't give two arguments to the biography environment.
> You need to add {figurename} before {Your Name} and {Coauthor} at the end of
> the template.

Another option is to define the eps figure argument as optional:

\RequirePackage{graphics}
\newenvironment{biography}[2][]{% % !AC
\footnotesize\unitlength 1mm\bigskip\bigskip\bigskip\parskip=0pt\par%
\rule{0pt}{39mm}\vspace{-39mm}\par%   garantees correct page breaking
\noindent\setbox0\hbox{\ifx\\#1\\%
\framebox(25,32){}%
\else%
\resizebox{25mm}{32mm}{\includegraphics{#1.eps}}%
\fi}%
picture % !AC
\ht0=37mm\count10=\ht0\divide\count10 by\baselineskip%  calculates lines
\global\hangindent29mm\global\hangafter-\count10%
\hskip-28.5mm\setbox0\hbox to 28.5mm {\raise-30.5mm\box0\hss}%
\dp0=0mm\ht0=0mm\box0\noindent\bf#2\rm}{ % !AC
\par\rm\normalsize}

With this change, you can use the template file with no change.
If you want to insert a picture, use [figurename]{Your name}
instead of {figurename}{Your Name}