Re: Bug using BibTex and IEEEtran with author name containing And

2017-01-12 Thread Anders Ekberg
> On 2017Jan12, at 10:48, Jürgen Spitzmüller <sp...@lyx.org> wrote:
> 
> 2017-01-12 9:28 GMT+01:00 Anders Ekberg <a...@me.com <mailto:a...@me.com>>:
> I discovered a very strange bug:
> Using Lyx on Mac and inserting a reference file created by BibDesk using the 
> IEEEtran format. The reference file has two entries that have the same 
> authors. One author has a name containing And that I suspect can be related 
> to the problem. In the output the first reference is fine, but in the second 
> the author is missing. If I change the bibliography format to plain 
> everything works. I can also get it to work by tweaking with the authors’ 
> names (e.g. removing the second author). LyX, bib and pdf-files for a minimum 
> example are enclosed.
> 
> Don’t know if it is a bug in LyX, TeX, BibDesk, BibTeX or something else, but 
> it is definitely the strangest bug I have seen for a long time… 
> Any ideas of the cause?
> 
> It's not a bug but a feature of IEEEtran.bst:
> 
> % This function detects entries with names that are identical to that of
> % the previous entry and replaces the repeated names with dashes (if the
> % "is.dash.repeated.names" user control is nonzero).
> FUNCTION {name.or.dash}
> { 's :=
>oldname empty$
>  { s 'oldname := s }
>  { s oldname =
>  { is.dash.repeated.names
>   { repeated.name.dashes }
>   { s 'oldname := s }
> if$
>  }
>  { s 'oldname := s }
>if$
>  }
>if$
> }
> 
> You can switch it off by 
> 
> 1. adding the following entry to your bib file:
> 
> @IEEEtranBSTCTL{IEEEexample:BSTcontrol,
> CTLdash_repeated_names = "no",
> }
> 2. then adding the following to your preamble
> 
> \usepackage{IEEEtrantools}
> 3. and finally, this somewhere in your document:
> 
> \bstctlcite{IEEEexample:BSTcontrol} <>
> 
> HTH
> Jürgen
Thanks, that explained it perfectly!

Anders

Re: Bug using BibTex and IEEEtran with author name containing And

2017-01-12 Thread Jürgen Spitzmüller
2017-01-12 9:28 GMT+01:00 Anders Ekberg <a...@me.com>:

> I discovered a very strange bug:
> Using Lyx on Mac and inserting a reference file created by BibDesk using
> the IEEEtran format. The reference file has two entries that have the same
> authors. One author has a name containing And that I suspect can be related
> to the problem. In the output the first reference is fine, but in the
> second the author is missing. If I change the bibliography format to plain
> everything works. I can also get it to work by tweaking with the authors’
> names (e.g. removing the second author). LyX, bib and pdf-files for a
> minimum example are enclosed.
>
> Don’t know if it is a bug in LyX, TeX, BibDesk, BibTeX or something else,
> but it is definitely the strangest bug I have seen for a long time…
> Any ideas of the cause?
>

It's not a bug but a feature of IEEEtran.bst:

% This function detects entries with names that are identical to that of
% the previous entry and replaces the repeated names with dashes (if the
% "is.dash.repeated.names" user control is nonzero).
FUNCTION {name.or.dash}
{ 's :=
   oldname empty$
 { s 'oldname := s }
 { s oldname =
 { is.dash.repeated.names
  { repeated.name.dashes }
  { s 'oldname := s }
if$
 }
 { s 'oldname := s }
   if$
 }
   if$
}

You can switch it off by

1. adding the following entry to your bib file:

@IEEEtranBSTCTL{IEEEexample:BSTcontrol,
CTLdash_repeated_names = "no",
}

2. then adding the following to your preamble

\usepackage{IEEEtrantools}

3. and finally, this somewhere in your document:

\bstctlcite{IEEEexample:BSTcontrol}


HTH

Jürgen




>
> All the best!
> Anders
>
>
>
>
>
>


Re: Enumitem and IEEETran

2014-10-04 Thread Guenter Milde
On 2014-10-03, Anders Host-Madsen wrote:
 It seems enumitem and IEEETran.cls are not compatible. I
 found the following solution on the web. Insert

 \let\labelindent\relax

 BEFORE enuitem is included. That works. The issue is
 that in LyX, the latex preamble comes after enumitem
 is called. Any way to include the above statement
 before enumitem is called?

A relatively easy hack would be to 

* copy the enumitem.module file from the LyX library (See HelpAbout
  LyX for the location at your machine) to the local LyX library (on Unix
  ~/.lyx/layouts/) and rename to, e.g., ieetranenumitem.module.
  
* in this local file, change the first line like e.g.

-#\DeclareLyXModule[enumitem.sty]{Customisable Lists (enumitem)}
+#\DeclareLyXModule[enumitem.sty]{Customisable Lists (enumitem-ieeehack)}

* and the preamble code
  
 AddToPreamble
+   \let\labelindent\relax 
\usepackage{enumitem}   % customizable list environments
\newlength{\lyxlabelwidth}  % auxiliary length 
 EndPreamble
 
 
Then use the new enumitem-ieeehack module.

(Remember, that the labelindent macro is now the one defined by enumitem
and maybe strange things happen with label indentation in the ieee class.)

(Also remember to update you local copy when a new version of the
upstream enumitem.module is issued.)

Günter



Re: Enumitem and IEEETran

2014-10-04 Thread Guenter Milde
On 2014-10-03, Anders Host-Madsen wrote:
 It seems enumitem and IEEETran.cls are not compatible. I
 found the following solution on the web. Insert

 \let\labelindent\relax

 BEFORE enuitem is included. That works. The issue is
 that in LyX, the latex preamble comes after enumitem
 is called. Any way to include the above statement
 before enumitem is called?

A relatively easy hack would be to 

* copy the enumitem.module file from the LyX library (See HelpAbout
  LyX for the location at your machine) to the local LyX library (on Unix
  ~/.lyx/layouts/) and rename to, e.g., ieetranenumitem.module.
  
* in this local file, change the first line like e.g.

-#\DeclareLyXModule[enumitem.sty]{Customisable Lists (enumitem)}
+#\DeclareLyXModule[enumitem.sty]{Customisable Lists (enumitem-ieeehack)}

* and the preamble code
  
 AddToPreamble
+   \let\labelindent\relax 
\usepackage{enumitem}   % customizable list environments
\newlength{\lyxlabelwidth}  % auxiliary length 
 EndPreamble
 
 
Then use the new enumitem-ieeehack module.

(Remember, that the labelindent macro is now the one defined by enumitem
and maybe strange things happen with label indentation in the ieee class.)

(Also remember to update you local copy when a new version of the
upstream enumitem.module is issued.)

Günter



Re: Enumitem and IEEETran

2014-10-04 Thread Guenter Milde
On 2014-10-03, Anders Host-Madsen wrote:
> It seems enumitem and IEEETran.cls are not compatible. I
> found the following solution on the web. Insert

> \let\labelindent\relax

> BEFORE enuitem is included. That works. The issue is
> that in LyX, the latex preamble comes after enumitem
> is called. Any way to include the above statement
> before enumitem is called?

A relatively easy hack would be to 

* copy the "enumitem.module" file from the LyX library (See Help>About
  LyX for the location at your machine) to the local LyX library (on Unix
  ~/.lyx/layouts/) and rename to, e.g., "ieetranenumitem.module".
  
* in this local file, change the first line like e.g.

-#\DeclareLyXModule[enumitem.sty]{Customisable Lists (enumitem)}
+#\DeclareLyXModule[enumitem.sty]{Customisable Lists (enumitem-ieeehack)}

* and the preamble code
  
 AddToPreamble
+   \let\labelindent\relax 
\usepackage{enumitem}   % customizable list environments
\newlength{\lyxlabelwidth}  % auxiliary length 
 EndPreamble
 
 
Then use the new "enumitem-ieeehack" module.

(Remember, that the "labelindent" macro is now the one defined by enumitem
and maybe strange things happen with label indentation in the ieee class.)

(Also remember to update you local copy when a new version of the
upstream enumitem.module is issued.)

Günter



Enumitem and IEEETran

2014-10-03 Thread Anders Host-Madsen
It seems enumitem and IEEETran.cls are not compatible. I
found the following solution on the web. Insert

\let\labelindent\relax

BEFORE enuitem is included. That works. The issue is
that in LyX, the latex preamble comes after enumitem
is called. Any way to include the above statement
before enumitem is called? 



Enumitem and IEEETran

2014-10-03 Thread Anders Host-Madsen
It seems enumitem and IEEETran.cls are not compatible. I
found the following solution on the web. Insert

\let\labelindent\relax

BEFORE enuitem is included. That works. The issue is
that in LyX, the latex preamble comes after enumitem
is called. Any way to include the above statement
before enumitem is called? 



Enumitem and IEEETran

2014-10-03 Thread Anders Host-Madsen
It seems enumitem and IEEETran.cls are not compatible. I
found the following solution on the web. Insert

\let\labelindent\relax

BEFORE enuitem is included. That works. The issue is
that in LyX, the latex preamble comes after enumitem
is called. Any way to include the above statement
before enumitem is called? 



confusion about IEEEtran vs. ieee bib

2014-03-06 Thread Neal Becker
I'm using ieeetr bib option in lyx, which uses ieeetr bib style.

I'm using texlive on fedora 20.  I also have a package:

rpm -ql  texlive-biblatex-ieee
/usr/share/doc/texlive-biblatex-ieee
/usr/share/doc/texlive-biblatex-ieee/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.bbx
/usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.cbx
/usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx
/usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx

What is this, how would lyx use it, and should I care?



Re: confusion about IEEEtran vs. ieee bib

2014-03-06 Thread stefano franchi
On Thu, Mar 6, 2014 at 9:49 AM, Neal Becker ndbeck...@gmail.com wrote:
 I'm using ieeetr bib option in lyx, which uses ieeetr bib style.

 I'm using texlive on fedora 20.  I also have a package:

 rpm -ql  texlive-biblatex-ieee
 /usr/share/doc/texlive-biblatex-ieee
 /usr/share/doc/texlive-biblatex-ieee/lppl1.3.txt
 /usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.bbx
 /usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.cbx
 /usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx
 /usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx


 What is this,

Well, these are two biblatex styles for ieee (cbx files are the
citation styles, and .bbx files are the style for the references
section). If you use standard bibtex you can safely ignore them. You
probably have one or more  .bst files in your installation (perhaps
ieeetr.bst) that governs formatting under bibtex. Should you decide to
use biblatex instead, you would probably use the styles you listed.



 how would lyx use it

See the wiki page on biblatex on how to use it from within lyx.
Support is currently only partial. That means yo uneed to load
bibalatex (with the required styles) and the .bib file  manually from
the preamble. You can insert citation directly with LyX interface,
unless you want to do fancy things.

 and should I care?

I'm afraid that's up to you to decide...;-)


Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


confusion about IEEEtran vs. ieee bib

2014-03-06 Thread Neal Becker
I'm using ieeetr bib option in lyx, which uses ieeetr bib style.

I'm using texlive on fedora 20.  I also have a package:

rpm -ql  texlive-biblatex-ieee
/usr/share/doc/texlive-biblatex-ieee
/usr/share/doc/texlive-biblatex-ieee/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.bbx
/usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.cbx
/usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx
/usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx

What is this, how would lyx use it, and should I care?



Re: confusion about IEEEtran vs. ieee bib

2014-03-06 Thread stefano franchi
On Thu, Mar 6, 2014 at 9:49 AM, Neal Becker ndbeck...@gmail.com wrote:
 I'm using ieeetr bib option in lyx, which uses ieeetr bib style.

 I'm using texlive on fedora 20.  I also have a package:

 rpm -ql  texlive-biblatex-ieee
 /usr/share/doc/texlive-biblatex-ieee
 /usr/share/doc/texlive-biblatex-ieee/lppl1.3.txt
 /usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.bbx
 /usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.cbx
 /usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx
 /usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx


 What is this,

Well, these are two biblatex styles for ieee (cbx files are the
citation styles, and .bbx files are the style for the references
section). If you use standard bibtex you can safely ignore them. You
probably have one or more  .bst files in your installation (perhaps
ieeetr.bst) that governs formatting under bibtex. Should you decide to
use biblatex instead, you would probably use the styles you listed.



 how would lyx use it

See the wiki page on biblatex on how to use it from within lyx.
Support is currently only partial. That means yo uneed to load
bibalatex (with the required styles) and the .bib file  manually from
the preamble. You can insert citation directly with LyX interface,
unless you want to do fancy things.

 and should I care?

I'm afraid that's up to you to decide...;-)


Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


confusion about IEEEtran vs. ieee bib

2014-03-06 Thread Neal Becker
I'm using ieeetr bib option in lyx, which uses ieeetr bib style.

I'm using texlive on fedora 20.  I also have a package:

rpm -ql  texlive-biblatex-ieee
/usr/share/doc/texlive-biblatex-ieee
/usr/share/doc/texlive-biblatex-ieee/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.bbx
/usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.cbx
/usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx
/usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx

What is this, how would lyx use it, and should I care?



Re: confusion about IEEEtran vs. ieee bib

2014-03-06 Thread stefano franchi
On Thu, Mar 6, 2014 at 9:49 AM, Neal Becker  wrote:
> I'm using ieeetr bib option in lyx, which uses ieeetr bib style.
>
> I'm using texlive on fedora 20.  I also have a package:
>
> rpm -ql  texlive-biblatex-ieee
> /usr/share/doc/texlive-biblatex-ieee
> /usr/share/doc/texlive-biblatex-ieee/lppl1.3.txt
> /usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.bbx
> /usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.cbx
> /usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx
> /usr/share/texlive/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx
>

> What is this,

Well, these are two biblatex styles for ieee (cbx files are the
citation styles, and .bbx files are the style for the references
section). If you use standard bibtex you can safely ignore them. You
probably have one or more  .bst files in your installation (perhaps
ieeetr.bst) that governs formatting under bibtex. Should you decide to
use biblatex instead, you would probably use the styles you listed.



> how would lyx use it

See the wiki page on biblatex on how to use it from within lyx.
Support is currently only partial. That means yo uneed to load
bibalatex (with the required styles) and the .bib file  manually from
the preamble. You can insert citation directly with LyX interface,
unless you want to do fancy things.

> and should I care?

I'm afraid that's up to you to decide...;-)


Cheers,

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: bibliography not working in ieeetran [solved]

2013-01-31 Thread Art Edwards
On 01/30/2013 11:52 AM, Art Edwards wrote:
 I'm using the ieeetran template in lyx 2.0.2. All citations turn up
 missing, even though I have used lyx to insert them from the .bib files
 in the same directory. When I transfer all the content to a REVTeX4
 template, all the citations are found correctly.

 Tell me what other information you would need to help debug this.

 Art Edwards

In the immortal words of Emily Litella, Never mind. I had taken out some
of what I thought was just IEEE cruft from the template. Oops!

Art Edwards


Re: bibliography not working in ieeetran [solved]

2013-01-31 Thread Art Edwards
On 01/30/2013 11:52 AM, Art Edwards wrote:
 I'm using the ieeetran template in lyx 2.0.2. All citations turn up
 missing, even though I have used lyx to insert them from the .bib files
 in the same directory. When I transfer all the content to a REVTeX4
 template, all the citations are found correctly.

 Tell me what other information you would need to help debug this.

 Art Edwards

In the immortal words of Emily Litella, Never mind. I had taken out some
of what I thought was just IEEE cruft from the template. Oops!

Art Edwards


Re: bibliography not working in ieeetran [solved]

2013-01-31 Thread Art Edwards
On 01/30/2013 11:52 AM, Art Edwards wrote:
> I'm using the ieeetran template in lyx 2.0.2. All citations turn up
> missing, even though I have used lyx to insert them from the .bib files
> in the same directory. When I transfer all the content to a REVTeX4
> template, all the citations are found correctly.
>
> Tell me what other information you would need to help debug this.
>
> Art Edwards
>
In the immortal words of Emily Litella, Never mind. I had taken out some
of what I thought was just IEEE cruft from the template. Oops!

Art Edwards


bibliography not working in ieeetran

2013-01-30 Thread Art Edwards
I'm using the ieeetran template in lyx 2.0.2. All citations turn up
missing, even though I have used lyx to insert them from the .bib files
in the same directory. When I transfer all the content to a REVTeX4
template, all the citations are found correctly.

Tell me what other information you would need to help debug this.

Art Edwards


bibliography not working in ieeetran

2013-01-30 Thread Art Edwards
I'm using the ieeetran template in lyx 2.0.2. All citations turn up
missing, even though I have used lyx to insert them from the .bib files
in the same directory. When I transfer all the content to a REVTeX4
template, all the citations are found correctly.

Tell me what other information you would need to help debug this.

Art Edwards


bibliography not working in ieeetran

2013-01-30 Thread Art Edwards
I'm using the ieeetran template in lyx 2.0.2. All citations turn up
missing, even though I have used lyx to insert them from the .bib files
in the same directory. When I transfer all the content to a REVTeX4
template, all the citations are found correctly.

Tell me what other information you would need to help debug this.

Art Edwards


IEEEtran and Theorem Numbering by Type

2012-07-19 Thread Virgil
Hi, everyone!
The IEEETran class has a corresponding LyX layout which seems to work well. 
This 
includes handling theorems.

However, it appears that after a recent LyX update, none of the modules for 
numbering theorems by type (e.g., theorem 1, theorem 2, lemma 1, proposition 1, 
theorem 3, lemma 2, ..., as opposed to theorem 1, theorem 2, lemma 3, 
proposition 4, ...). can be chosen if the IEEEtran document class has been 
selected.

It seems that this restriction is hard-coded and cannot be changed from within 
LyX (one can obviously export to LaTeX, and manually change certain lines, and 
compile from LaTeX).

Is this a bug or a feature?

Is there a work-around other than the LaTeX export route?

If this is intentional, it would be nice if the user was allowed to overrule 
it, 
and add some of the Theorem by Type modules. Perhaps a maintainer has assumed 
that each and every IEEE publication today forbids Theorem by Type numbering. 
However, such prohibition does not appear to exist. For example, the IEEEtran 
manual says is:
Sometimes it is desirable that a structure share its counter with another 
structure. This can be accomplished by using the alternate form of \newtheorem
\newtheorem{struct_type}[num_like]{struct_title}
where num_like is the name of an existing structure.
(see pag 14 of the IEEEtran_HOWTO.pdf ). 

That paragraph suggests clearly that a theorem common counter is by no means 
mandatory...

...and even if  all IEEE publications in existence today made the common 
counter 
mandatory (which does not seem to be the case), the policy could be changed in 
the future, or new IEEE publications could deviate from it.

Please, remove that restriction, whether intentional or not (perhaps LyX could 
simply generate some sort of warning when a user chooses numbered by type 
and IEEEtran together).

Many thanks.

Virgil



IEEEtran and Theorem Numbering by Type

2012-07-19 Thread Virgil
Hi, everyone!
The IEEETran class has a corresponding LyX layout which seems to work well. 
This 
includes handling theorems.

However, it appears that after a recent LyX update, none of the modules for 
numbering theorems by type (e.g., theorem 1, theorem 2, lemma 1, proposition 1, 
theorem 3, lemma 2, ..., as opposed to theorem 1, theorem 2, lemma 3, 
proposition 4, ...). can be chosen if the IEEEtran document class has been 
selected.

It seems that this restriction is hard-coded and cannot be changed from within 
LyX (one can obviously export to LaTeX, and manually change certain lines, and 
compile from LaTeX).

Is this a bug or a feature?

Is there a work-around other than the LaTeX export route?

If this is intentional, it would be nice if the user was allowed to overrule 
it, 
and add some of the Theorem by Type modules. Perhaps a maintainer has assumed 
that each and every IEEE publication today forbids Theorem by Type numbering. 
However, such prohibition does not appear to exist. For example, the IEEEtran 
manual says is:
Sometimes it is desirable that a structure share its counter with another 
structure. This can be accomplished by using the alternate form of \newtheorem
\newtheorem{struct_type}[num_like]{struct_title}
where num_like is the name of an existing structure.
(see pag 14 of the IEEEtran_HOWTO.pdf ). 

That paragraph suggests clearly that a theorem common counter is by no means 
mandatory...

...and even if  all IEEE publications in existence today made the common 
counter 
mandatory (which does not seem to be the case), the policy could be changed in 
the future, or new IEEE publications could deviate from it.

Please, remove that restriction, whether intentional or not (perhaps LyX could 
simply generate some sort of warning when a user chooses numbered by type 
and IEEEtran together).

Many thanks.

Virgil



IEEEtran and Theorem Numbering by Type

2012-07-19 Thread Virgil
Hi, everyone!
The IEEETran class has a corresponding LyX layout which seems to work well. 
This 
includes handling theorems.

However, it appears that after a recent LyX update, none of the modules for 
numbering theorems by type (e.g., theorem 1, theorem 2, lemma 1, proposition 1, 
theorem 3, lemma 2, ..., as opposed to theorem 1, theorem 2, lemma 3, 
proposition 4, ...). can be chosen if the IEEEtran document class has been 
selected.

It seems that this restriction is hard-coded and cannot be changed from within 
LyX (one can obviously export to LaTeX, and manually change certain lines, and 
compile from LaTeX).

Is this a "bug" or a "feature"?

Is there a work-around other than the LaTeX export route?

If this is intentional, it would be nice if the user was allowed to overrule 
it, 
and add some of the Theorem by Type modules. Perhaps a maintainer has assumed 
that each and every IEEE publication today forbids "Theorem by Type" numbering. 
However, such prohibition does not appear to exist. For example, the IEEEtran 
manual says is:
"Sometimes it is desirable that a structure share its counter with another 
structure. This can be accomplished by using the alternate form of \newtheorem
\newtheorem{struct_type}[num_like]{struct_title}
where num_like is the name of an existing structure."
(see pag 14 of the IEEEtran_HOWTO.pdf ). 

That paragraph suggests clearly that a theorem "common counter" is by no means 
mandatory...

...and even if  all IEEE publications in existence today made the common 
counter 
mandatory (which does not seem to be the case), the policy could be changed in 
the future, or new IEEE publications could deviate from it.

Please, remove that restriction, whether intentional or not (perhaps LyX could 
simply generate some sort of "warning" when a user chooses "numbered by type" 
and IEEEtran together).

Many thanks.

Virgil



Re: Author affiliation in IEEEtran

2011-07-07 Thread Julien Rioux

On 01/07/2011 10:27 AM, zyc04 wrote:

Dear all,

I am using LyX2.0 to submit a paper to IEEE conference. The IEEEtran template 
accompanied with LyX is used.
My question is:

1) how to add two affiliations to one author, i.e. AuthorName{1,2} and {1,2} 
should be in superscript form.

The corresponding LaTex source code is: AuthorName\IEEEauthorrefmark{1,2}

but it produces such result: AuthorName{*}, only one affiliation and the marker is *, not 
roman number 1,2.


Can anybody help me? Thanks.






zyc04
2011-07-02



It's easy to put LaTeX source code into your document using the menu 
Insert  TeX Code. But first you will need to figure out what the proper 
code would be. See Obtaining Support at 
http://www.michaelshell.org/tex/ieeetran/


--
Julien



Re: Author affiliation in IEEEtran

2011-07-07 Thread Julien Rioux

On 01/07/2011 10:27 AM, zyc04 wrote:

Dear all,

I am using LyX2.0 to submit a paper to IEEE conference. The IEEEtran template 
accompanied with LyX is used.
My question is:

1) how to add two affiliations to one author, i.e. AuthorName{1,2} and {1,2} 
should be in superscript form.

The corresponding LaTex source code is: AuthorName\IEEEauthorrefmark{1,2}

but it produces such result: AuthorName{*}, only one affiliation and the marker is *, not 
roman number 1,2.


Can anybody help me? Thanks.






zyc04
2011-07-02



It's easy to put LaTeX source code into your document using the menu 
Insert  TeX Code. But first you will need to figure out what the proper 
code would be. See Obtaining Support at 
http://www.michaelshell.org/tex/ieeetran/


--
Julien



Re: Author affiliation in IEEEtran

2011-07-07 Thread Julien Rioux

On 01/07/2011 10:27 AM, zyc04 wrote:

Dear all,

I am using LyX2.0 to submit a paper to IEEE conference. The IEEEtran template 
accompanied with LyX is used.
My question is:

1) how to add two affiliations to one author, i.e. AuthorName{1,2} and {1,2} 
should be in superscript form.

The corresponding LaTex source code is: AuthorName\IEEEauthorrefmark{1,2}

but it produces such result: AuthorName{*}, only one affiliation and the marker is *, not 
roman number "1,2".


Can anybody help me? Thanks.






zyc04
2011-07-02



It's easy to put LaTeX source code into your document using the menu 
Insert > TeX Code. But first you will need to figure out what the proper 
code would be. See "Obtaining Support" at 
http://www.michaelshell.org/tex/ieeetran/


--
Julien



Author affiliation in IEEEtran

2011-07-01 Thread zyc04
Dear all,

I am using LyX2.0 to submit a paper to IEEE conference. The IEEEtran template 
accompanied with LyX is used.
My question is:

1) how to add two affiliations to one author, i.e. AuthorName{1,2} and {1,2} 
should be in superscript form.

The corresponding LaTex source code is: AuthorName\IEEEauthorrefmark{1,2}

but it produces such result: AuthorName{*}, only one affiliation and the marker 
is *, not roman number 1,2.


Can anybody help me? Thanks.






zyc04
2011-07-02


Author affiliation in IEEEtran

2011-07-01 Thread zyc04
Dear all,

I am using LyX2.0 to submit a paper to IEEE conference. The IEEEtran template 
accompanied with LyX is used.
My question is:

1) how to add two affiliations to one author, i.e. AuthorName{1,2} and {1,2} 
should be in superscript form.

The corresponding LaTex source code is: AuthorName\IEEEauthorrefmark{1,2}

but it produces such result: AuthorName{*}, only one affiliation and the marker 
is *, not roman number 1,2.


Can anybody help me? Thanks.






zyc04
2011-07-02


Author affiliation in IEEEtran

2011-07-01 Thread zyc04
Dear all,

I am using LyX2.0 to submit a paper to IEEE conference. The IEEEtran template 
accompanied with LyX is used.
My question is:

1) how to add two affiliations to one author, i.e. AuthorName{1,2} and {1,2} 
should be in superscript form.

The corresponding LaTex source code is: AuthorName\IEEEauthorrefmark{1,2}

but it produces such result: AuthorName{*}, only one affiliation and the marker 
is *, not roman number "1,2".


Can anybody help me? Thanks.






zyc04
2011-07-02


IEEEtran help

2011-03-08 Thread Myriam Abramson

Help! I have a paper due tomorrow! The specification for the papers
requires that subsections be numbered and IEEEtran seems to make them
alphabetical. I tried to change that by putting

\renewcommand{\thesubsection}{\arabic{subsection}}

in the latex preamble but I'm still getting them with the
alphabet. Any ideas?

TIA
-- 
   myriam



Re: IEEEtran help

2011-03-08 Thread Paul A . Rubin
Myriam Abramson mabramson at gmail.com writes:

 
 
 Help! I have a paper due tomorrow! The specification for the papers
 requires that subsections be numbered and IEEEtran seems to make them
 alphabetical. I tried to change that by putting
 
 \renewcommand{\thesubsection}{\arabic{subsection}}
 
 in the latex preamble but I'm still getting them with the
 alphabet. Any ideas?
 

Journals tend to have quirky formatting choices, which are enforced in their
LaTeX class files.  I always use the most generic class suitable (usually
article or AMS article) for anything other than an actual journal paper.  So my
first suggestion is that you switch from IEEEtran to something with fewer
formatting features embedded in the LaTeX class, and then make any adjustments
you need (with ERT if necessary).

That said, try \renewcommand{\thesubsectiondis}{\arabic{subsection}.} in the
preamble (note the 'dis' appended to the command name).

Paul



IEEEtran help

2011-03-08 Thread Myriam Abramson

Help! I have a paper due tomorrow! The specification for the papers
requires that subsections be numbered and IEEEtran seems to make them
alphabetical. I tried to change that by putting

\renewcommand{\thesubsection}{\arabic{subsection}}

in the latex preamble but I'm still getting them with the
alphabet. Any ideas?

TIA
-- 
   myriam



Re: IEEEtran help

2011-03-08 Thread Paul A . Rubin
Myriam Abramson mabramson at gmail.com writes:

 
 
 Help! I have a paper due tomorrow! The specification for the papers
 requires that subsections be numbered and IEEEtran seems to make them
 alphabetical. I tried to change that by putting
 
 \renewcommand{\thesubsection}{\arabic{subsection}}
 
 in the latex preamble but I'm still getting them with the
 alphabet. Any ideas?
 

Journals tend to have quirky formatting choices, which are enforced in their
LaTeX class files.  I always use the most generic class suitable (usually
article or AMS article) for anything other than an actual journal paper.  So my
first suggestion is that you switch from IEEEtran to something with fewer
formatting features embedded in the LaTeX class, and then make any adjustments
you need (with ERT if necessary).

That said, try \renewcommand{\thesubsectiondis}{\arabic{subsection}.} in the
preamble (note the 'dis' appended to the command name).

Paul



IEEEtran help

2011-03-08 Thread Myriam Abramson

Help! I have a paper due tomorrow! The specification for the papers
requires that subsections be numbered and IEEEtran seems to make them
alphabetical. I tried to change that by putting

\renewcommand{\thesubsection}{\arabic{subsection}}

in the latex preamble but I'm still getting them with the
alphabet. Any ideas?

TIA
-- 
   myriam



Re: IEEEtran help

2011-03-08 Thread Paul A . Rubin
Myriam Abramson  gmail.com> writes:

> 
> 
> Help! I have a paper due tomorrow! The specification for the papers
> requires that subsections be numbered and IEEEtran seems to make them
> alphabetical. I tried to change that by putting
> 
> \renewcommand{\thesubsection}{\arabic{subsection}}
> 
> in the latex preamble but I'm still getting them with the
> alphabet. Any ideas?
> 

Journals tend to have quirky formatting choices, which are enforced in their
LaTeX class files.  I always use the most generic class suitable (usually
article or AMS article) for anything other than an actual journal paper.  So my
first suggestion is that you switch from IEEEtran to something with fewer
formatting features embedded in the LaTeX class, and then make any adjustments
you need (with ERT if necessary).

That said, try \renewcommand{\thesubsectiondis}{\arabic{subsection}.} in the
preamble (note the 'dis' appended to the command name).

Paul



Re: IEEEtran file Inserting photo help please..............

2010-09-24 Thread Sachin Garg
On Tuesday 14 September 2010 08:05 AM, Uwe Stöhr wrote:
 Am 13.09.2010 07:20, schrieb step...@vinvish.com:
 
 In the end of the IEEE trans template there is an option to insert the
 authors photo in the Biography section
 If we do nothing a BOX printed with PLACE YOUR PHOTO HERE  appears
   I want to remove that and insert a photos there
 Can somebody help me out??
 
 What exactly is the problem? In the IEEEtran template there is an image
 named CV-image.png as example. Simply left-click on that image and
 select an image file you like.

I am also unable to add a photo. I can't also see this CV-image.png
file. I am on Ubuntu 10.04, LyX 1.6.5

Thanks,
Sachin



Re: IEEEtran file Inserting photo help please..............

2010-09-24 Thread Uwe Stöhr

Am 24.09.2010 14:39, schrieb Sachin Garg:


What exactly is the problem? In the IEEEtran template there is an image
named CV-image.png as example. Simply left-click on that image and
select an image file you like.


I am also unable to add a photo. I can't also see this CV-image.png
file. I am on Ubuntu 10.04, LyX 1.6.5


You need LyX 1.6.7 to get this. If you cannot update to that version, 
replace the files IEEEtran.lyx and IEEEtran.layout in your installation 
with these ones:


http://www.lyx.org/trac/export/35491/lyx-devel/branches/BRANCH_1_6_X/lib/layouts/IEEEtran.layout

and

http://www.lyx.org/trac/export/35491/lyx-devel/branches/BRANCH_1_6_X/lib/templates/IEEEtran.lyx

and afterwards reconfigure LyX (menu Tools-Reconfigure).

regards Uwe


Re: IEEEtran file Inserting photo help please..............

2010-09-24 Thread Sachin Garg
On Tuesday 14 September 2010 08:05 AM, Uwe Stöhr wrote:
 Am 13.09.2010 07:20, schrieb step...@vinvish.com:
 
 In the end of the IEEE trans template there is an option to insert the
 authors photo in the Biography section
 If we do nothing a BOX printed with PLACE YOUR PHOTO HERE  appears
   I want to remove that and insert a photos there
 Can somebody help me out??
 
 What exactly is the problem? In the IEEEtran template there is an image
 named CV-image.png as example. Simply left-click on that image and
 select an image file you like.

I am also unable to add a photo. I can't also see this CV-image.png
file. I am on Ubuntu 10.04, LyX 1.6.5

Thanks,
Sachin



Re: IEEEtran file Inserting photo help please..............

2010-09-24 Thread Uwe Stöhr

Am 24.09.2010 14:39, schrieb Sachin Garg:


What exactly is the problem? In the IEEEtran template there is an image
named CV-image.png as example. Simply left-click on that image and
select an image file you like.


I am also unable to add a photo. I can't also see this CV-image.png
file. I am on Ubuntu 10.04, LyX 1.6.5


You need LyX 1.6.7 to get this. If you cannot update to that version, 
replace the files IEEEtran.lyx and IEEEtran.layout in your installation 
with these ones:


http://www.lyx.org/trac/export/35491/lyx-devel/branches/BRANCH_1_6_X/lib/layouts/IEEEtran.layout

and

http://www.lyx.org/trac/export/35491/lyx-devel/branches/BRANCH_1_6_X/lib/templates/IEEEtran.lyx

and afterwards reconfigure LyX (menu Tools-Reconfigure).

regards Uwe


Re: IEEEtran file Inserting photo help please..............

2010-09-24 Thread Sachin Garg
On Tuesday 14 September 2010 08:05 AM, Uwe Stöhr wrote:
> Am 13.09.2010 07:20, schrieb step...@vinvish.com:
> 
>> In the end of the IEEE trans template there is an option to insert the
>> authors photo in the Biography section
>> If we do nothing a BOX printed with "PLACE YOUR PHOTO HERE " appears
>>   I want to remove that and insert a photos there
>> Can somebody help me out??
> 
> What exactly is the problem? In the IEEEtran template there is an image
> named "CV-image.png" as example. Simply left-click on that image and
> select an image file you like.

I am also unable to add a photo. I can't also see this "CV-image.png"
file. I am on Ubuntu 10.04, LyX 1.6.5

Thanks,
Sachin



Re: IEEEtran file Inserting photo help please..............

2010-09-24 Thread Uwe Stöhr

Am 24.09.2010 14:39, schrieb Sachin Garg:


What exactly is the problem? In the IEEEtran template there is an image
named "CV-image.png" as example. Simply left-click on that image and
select an image file you like.


I am also unable to add a photo. I can't also see this "CV-image.png"
file. I am on Ubuntu 10.04, LyX 1.6.5


You need LyX 1.6.7 to get this. If you cannot update to that version, 
replace the files IEEEtran.lyx and IEEEtran.layout in your installation 
with these ones:


http://www.lyx.org/trac/export/35491/lyx-devel/branches/BRANCH_1_6_X/lib/layouts/IEEEtran.layout

and

http://www.lyx.org/trac/export/35491/lyx-devel/branches/BRANCH_1_6_X/lib/templates/IEEEtran.lyx

and afterwards reconfigure LyX (menu Tools->Reconfigure).

regards Uwe


Re: IEEEtran file Inserting photo help please..............

2010-09-13 Thread Waluyo Adi Siswanto
 In the end of the IEEE trans template there is an option to insert the
 authors photo in the Biography section
 If we do nothing a BOX printed with PLACE YOUR PHOTO HERE  appears
  I want to remove that and insert a photos there

Yes .. in biography environment, go to menu InsertShort Title
it will create red box with label opt
Inside the opt red box, InsertGraphics and link to your photograph
Set width 1in and set height 1.25in

Good luck

Waluyo


Re: IEEEtran file Inserting photo help please..............

2010-09-13 Thread Waluyo Adi Siswanto
 \begin{biography}
 {Stephen Thomas, } \textit{\footnotesize B.Tech ECE, Hardware Design
 Engineer,Vinvish Technologies}.\textit{\footnotesize{} }
 \end{biography}


I am not sure what's the problem with your document, however it works
fine to me.

When I use IEEEtrans document class, the biography environment always
in the following form, and I can use InsertShort Title and include
the photograph inside the opt red box.

\begin{IEEEbiography}
...
\end{IEEEbiography}

yours look different
 \begin{biography}
 ...
 \end{biography}

The template in LyX, that I mentioned previously also ok,  under
\begin{IEEEbiography} ... \end{IEEEbiography}

I hope you can solve it soon. I am sorry if it does not help you.

Regards
Waluyo


Re: IEEEtran file Inserting photo help please..............

2010-09-13 Thread Uwe Stöhr

Am 13.09.2010 07:20, schrieb step...@vinvish.com:


In the end of the IEEE trans template there is an option to insert the
authors photo in the Biography section
If we do nothing a BOX printed with PLACE YOUR PHOTO HERE  appears
  I want to remove that and insert a photos there
Can somebody help me out??


What exactly is the problem? In the IEEEtran template there is an image named CV-image.png as 
example. Simply left-click on that image and select an image file you like.


regards Uwe


Re: IEEEtran file Inserting photo help please..............

2010-09-13 Thread Waluyo Adi Siswanto
 In the end of the IEEE trans template there is an option to insert the
 authors photo in the Biography section
 If we do nothing a BOX printed with PLACE YOUR PHOTO HERE  appears
  I want to remove that and insert a photos there

Yes .. in biography environment, go to menu InsertShort Title
it will create red box with label opt
Inside the opt red box, InsertGraphics and link to your photograph
Set width 1in and set height 1.25in

Good luck

Waluyo


Re: IEEEtran file Inserting photo help please..............

2010-09-13 Thread Waluyo Adi Siswanto
 \begin{biography}
 {Stephen Thomas, } \textit{\footnotesize B.Tech ECE, Hardware Design
 Engineer,Vinvish Technologies}.\textit{\footnotesize{} }
 \end{biography}


I am not sure what's the problem with your document, however it works
fine to me.

When I use IEEEtrans document class, the biography environment always
in the following form, and I can use InsertShort Title and include
the photograph inside the opt red box.

\begin{IEEEbiography}
...
\end{IEEEbiography}

yours look different
 \begin{biography}
 ...
 \end{biography}

The template in LyX, that I mentioned previously also ok,  under
\begin{IEEEbiography} ... \end{IEEEbiography}

I hope you can solve it soon. I am sorry if it does not help you.

Regards
Waluyo


Re: IEEEtran file Inserting photo help please..............

2010-09-13 Thread Uwe Stöhr

Am 13.09.2010 07:20, schrieb step...@vinvish.com:


In the end of the IEEE trans template there is an option to insert the
authors photo in the Biography section
If we do nothing a BOX printed with PLACE YOUR PHOTO HERE  appears
  I want to remove that and insert a photos there
Can somebody help me out??


What exactly is the problem? In the IEEEtran template there is an image named CV-image.png as 
example. Simply left-click on that image and select an image file you like.


regards Uwe


Re: IEEEtran file Inserting photo help please..............

2010-09-13 Thread Waluyo Adi Siswanto
> In the end of the IEEE trans template there is an option to insert the
> authors photo in the Biography section
> If we do nothing a BOX printed with "PLACE YOUR PHOTO HERE " appears
>  I want to remove that and insert a photos there

Yes .. in biography environment, go to menu Insert>Short Title
it will create red box with label opt
Inside the opt red box, Insert>Graphics and link to your photograph
Set width 1in and set height 1.25in

Good luck

Waluyo


Re: IEEEtran file Inserting photo help please..............

2010-09-13 Thread Waluyo Adi Siswanto
> \begin{biography}
> {Stephen Thomas, } \textit{\footnotesize B.Tech ECE, Hardware Design
> Engineer,Vinvish Technologies}.\textit{\footnotesize{} }
> \end{biography}
>

I am not sure what's the problem with your document, however it works
fine to me.

When I use IEEEtrans document class, the biography environment always
in the following form, and I can use Insert>Short Title and include
the photograph inside the opt red box.

\begin{IEEEbiography}
...
\end{IEEEbiography}

yours look different
 \begin{biography}
 ...
 \end{biography}

The template in LyX, that I mentioned previously also ok,  under
\begin{IEEEbiography} ... \end{IEEEbiography}

I hope you can solve it soon. I am sorry if it does not help you.

Regards
Waluyo


Re: IEEEtran file Inserting photo help please..............

2010-09-13 Thread Uwe Stöhr

Am 13.09.2010 07:20, schrieb step...@vinvish.com:


In the end of the IEEE trans template there is an option to insert the
authors photo in the Biography section
If we do nothing a BOX printed with "PLACE YOUR PHOTO HERE " appears
  I want to remove that and insert a photos there
Can somebody help me out??


What exactly is the problem? In the IEEEtran template there is an image named "CV-image.png" as 
example. Simply left-click on that image and select an image file you like.


regards Uwe


IEEEtran file Inserting photo help please..............

2010-09-12 Thread stephen
 

 

 

Hi all,

 

Im working with the IEEEtran template file.It is great and ive been able
to do the document 

according to my needs except for one single thing; Inserting the authors
photo at the bibliography

Can somebody tell me how to insert the authors photo inside document via
Lyx??

 

Thanks 

Stephen


  



 

This email message, including any attached files, is confidential and intended 
solely for the use of the individual or entity to whom it has been addressed. 
Vinvish Technologies Pvt Ltd prohibits the right to publish, copy, distribute 
or disclose any information contained in this email, or its attachments, by any 
party other than the intended recipient. If you have received this email in 
error please notify the sender and delete it from your system.


Re: IEEEtran file Inserting photo help please..............

2010-09-12 Thread Waluyo Adi Siswanto

 according to my needs except for one single thing; Inserting the authors
 photo at the bibliography


You can find it in LyX template (FileNew from templateIEEETran.lyx):
by using InsertShort Title.

Regards
Waluyo


RE: IEEEtran file Inserting photo help please..............

2010-09-12 Thread stephen
Sorry to all,
I made a mistake I meant biography not bibliography



In the end of the IEEE trans template there is an option to insert the
authors photo in the Biography section
If we do nothing a BOX printed with PLACE YOUR PHOTO HERE  appears 
 I want to remove that and insert a photos there 
Can somebody help me out??

Thanks n sorry for the confusion

Regards
Stephen


-Original Message-
From: Waluyo Adi Siswanto [mailto:was.u...@gmail.com] 
Sent: Monday, September 13, 2010 10:36 AM
To: step...@vinvish.com
Cc: lyx-users@lists.lyx.org
Subject: Re: IEEEtran file Inserting photo help please..


 according to my needs except for one single thing; Inserting the authors
 photo at the biography


You can find it in LyX template (FileNew from templateIEEETran.lyx):
by using InsertShort Title.

Regards
Waluyo

This email message, including any attached files, is confidential and intended 
solely for the use of the individual or entity to whom it has been addressed. 
Vinvish Technologies Pvt Ltd prohibits the right to publish, copy, distribute 
or disclose any information contained in this email, or its attachments, by any 
party other than the intended recipient. If you have received this email in 
error please notify the sender and delete it from your system.


IEEEtran file Inserting photo help please..............

2010-09-12 Thread stephen
 

 

 

Hi all,

 

Im working with the IEEEtran template file.It is great and ive been able
to do the document 

according to my needs except for one single thing; Inserting the authors
photo at the bibliography

Can somebody tell me how to insert the authors photo inside document via
Lyx??

 

Thanks 

Stephen


  



 

This email message, including any attached files, is confidential and intended 
solely for the use of the individual or entity to whom it has been addressed. 
Vinvish Technologies Pvt Ltd prohibits the right to publish, copy, distribute 
or disclose any information contained in this email, or its attachments, by any 
party other than the intended recipient. If you have received this email in 
error please notify the sender and delete it from your system.


Re: IEEEtran file Inserting photo help please..............

2010-09-12 Thread Waluyo Adi Siswanto

 according to my needs except for one single thing; Inserting the authors
 photo at the bibliography


You can find it in LyX template (FileNew from templateIEEETran.lyx):
by using InsertShort Title.

Regards
Waluyo


RE: IEEEtran file Inserting photo help please..............

2010-09-12 Thread stephen
Sorry to all,
I made a mistake I meant biography not bibliography



In the end of the IEEE trans template there is an option to insert the
authors photo in the Biography section
If we do nothing a BOX printed with PLACE YOUR PHOTO HERE  appears 
 I want to remove that and insert a photos there 
Can somebody help me out??

Thanks n sorry for the confusion

Regards
Stephen


-Original Message-
From: Waluyo Adi Siswanto [mailto:was.u...@gmail.com] 
Sent: Monday, September 13, 2010 10:36 AM
To: step...@vinvish.com
Cc: lyx-users@lists.lyx.org
Subject: Re: IEEEtran file Inserting photo help please..


 according to my needs except for one single thing; Inserting the authors
 photo at the biography


You can find it in LyX template (FileNew from templateIEEETran.lyx):
by using InsertShort Title.

Regards
Waluyo

This email message, including any attached files, is confidential and intended 
solely for the use of the individual or entity to whom it has been addressed. 
Vinvish Technologies Pvt Ltd prohibits the right to publish, copy, distribute 
or disclose any information contained in this email, or its attachments, by any 
party other than the intended recipient. If you have received this email in 
error please notify the sender and delete it from your system.


IEEEtran file Inserting photo help please..............

2010-09-12 Thread stephen
 

 

 

Hi all,

 

Im working with the "IEEEtran" template file.It is great and ive been able
to do the document 

according to my needs except for one single thing; "Inserting the authors
photo" at the bibliography

Can somebody tell me how to insert the authors photo inside document via
Lyx??

 

Thanks 

Stephen


  



 

This email message, including any attached files, is confidential and intended 
solely for the use of the individual or entity to whom it has been addressed. 
Vinvish Technologies Pvt Ltd prohibits the right to publish, copy, distribute 
or disclose any information contained in this email, or its attachments, by any 
party other than the intended recipient. If you have received this email in 
error please notify the sender and delete it from your system.


Re: IEEEtran file Inserting photo help please..............

2010-09-12 Thread Waluyo Adi Siswanto
>
> according to my needs except for one single thing; "Inserting the authors
> photo" at the bibliography
>

You can find it in LyX template (File>New from template>IEEETran.lyx):
by using Insert>Short Title.

Regards
Waluyo


RE: IEEEtran file Inserting photo help please..............

2010-09-12 Thread stephen
Sorry to all,
I made a mistake I meant biography not bibliography



In the end of the IEEE trans template there is an option to insert the
authors photo in the Biography section
If we do nothing a BOX printed with "PLACE YOUR PHOTO HERE " appears 
 I want to remove that and insert a photos there 
Can somebody help me out??

Thanks n sorry for the confusion

Regards
Stephen


-Original Message-
From: Waluyo Adi Siswanto [mailto:was.u...@gmail.com] 
Sent: Monday, September 13, 2010 10:36 AM
To: step...@vinvish.com
Cc: lyx-users@lists.lyx.org
Subject: Re: IEEEtran file Inserting photo help please..

>
> according to my needs except for one single thing; "Inserting the authors
> photo" at the biography
>

You can find it in LyX template (File>New from template>IEEETran.lyx):
by using Insert>Short Title.

Regards
Waluyo

This email message, including any attached files, is confidential and intended 
solely for the use of the individual or entity to whom it has been addressed. 
Vinvish Technologies Pvt Ltd prohibits the right to publish, copy, distribute 
or disclose any information contained in this email, or its attachments, by any 
party other than the intended recipient. If you have received this email in 
error please notify the sender and delete it from your system.


Keywords in article(IEEETran)

2010-07-06 Thread Waluyo Adi Siswanto
I am using a document class article(IEEETran).
However I need to use Keywords instead of the default Index Terms
How can I change to Keywords

Thanks,
Waluyo


Re: Keywords in article(IEEETran)

2010-07-06 Thread Waluyo Adi Siswanto
I have the answer, write in the latex preamble
\renewcommand\IEEEkeywordsname{Keywords}

Waluyo

On 6 July 2010 16:52, Waluyo Adi Siswanto was.u...@gmail.com wrote:
 I am using a document class article(IEEETran).
 However I need to use Keywords instead of the default Index Terms
 How can I change to Keywords

 Thanks,
 Waluyo



Keywords in article(IEEETran)

2010-07-06 Thread Waluyo Adi Siswanto
I am using a document class article(IEEETran).
However I need to use Keywords instead of the default Index Terms
How can I change to Keywords

Thanks,
Waluyo


Re: Keywords in article(IEEETran)

2010-07-06 Thread Waluyo Adi Siswanto
I have the answer, write in the latex preamble
\renewcommand\IEEEkeywordsname{Keywords}

Waluyo

On 6 July 2010 16:52, Waluyo Adi Siswanto was.u...@gmail.com wrote:
 I am using a document class article(IEEETran).
 However I need to use Keywords instead of the default Index Terms
 How can I change to Keywords

 Thanks,
 Waluyo



Keywords in article(IEEETran)

2010-07-06 Thread Waluyo Adi Siswanto
I am using a document class article(IEEETran).
However I need to use "Keywords" instead of the default "Index Terms"
How can I change to "Keywords"

Thanks,
Waluyo


Re: Keywords in article(IEEETran)

2010-07-06 Thread Waluyo Adi Siswanto
I have the answer, write in the latex preamble
\renewcommand\IEEEkeywordsname{Keywords}

Waluyo

On 6 July 2010 16:52, Waluyo Adi Siswanto <was.u...@gmail.com> wrote:
> I am using a document class article(IEEETran).
> However I need to use "Keywords" instead of the default "Index Terms"
> How can I change to "Keywords"
>
> Thanks,
> Waluyo
>


Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Raja Zubair
Hi Uwe

Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document class. It 
also seems from the IEEEtran How to that the user is free to use any Latex 
commands

IEEE publications use the figure environment to contain
algorithms that are not to be a part of the main text flow.
Peter Williams’ and Rogerio Brito’s algorithmic.sty package
[24] or Szász János’ algorithmicx.sty package [25] (the latter is
designed to be more customizable than the former) may be of
help in producing algorithm-like structures (although authors
are of course free to use whatever LATEX commands they are
most comfortable with in this regard). However, do not use
the floating algorithm environment of algorithm.sty (also by
Williams and Brito) or algorithm2e.sty (by Christophe Fiorio)
as the only floating structures IEEE uses are figures and tables.
Furthermore, IEEEtran will not be in control of the (non-IEEE)
caption style produced by the algorithm.sty or algorithm2e.sty
float environments.


If Lyx-Code is not a good way to write some pseudo-code in IEEEtran using Lyx, 
then what is the recommended way to do it ?

with best regards
Zubair




From: Uwe Stöhr uwesto...@web.de
To: Raja Zubair rzna...@yahoo.com
Cc: lyx-users@lists.lyx.org
Sent: Mon, May 24, 2010 8:47:25 PM
Subject: Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

Am 24.05.2010 17:47, schrieb Raja Zubair:

 I don't find Lyx-Code in IEEEtran document class in Lyx 2.0 alpha 3. Any idea 
 to get it back ?

I need to know if IEEE accept LyX code when submitting a paper. I would wonder 
if yes.

regards Uwe



  

Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 12:58, schrieb Raja Zubair:


Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document
class. It also seems from the IEEEtran How to that the user is free to
use any Latex commands

(although authors
are of course free to use whatever LATEX commands they are
most comfortable with in this regard)


OK. I'll re-add LyX code again.

thanks for the report and regards
Uwe


Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 12:58, schrieb Raja Zubair:


Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document class.


I fixed this now.
You can fix this too by adding this line to the file IEEEtran.layout:

Input lyxmacros.inc

regards Uwe


Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Raja Zubair
Hi Uwe

Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document class. It 
also seems from the IEEEtran How to that the user is free to use any Latex 
commands

IEEE publications use the figure environment to contain
algorithms that are not to be a part of the main text flow.
Peter Williams’ and Rogerio Brito’s algorithmic.sty package
[24] or Szász János’ algorithmicx.sty package [25] (the latter is
designed to be more customizable than the former) may be of
help in producing algorithm-like structures (although authors
are of course free to use whatever LATEX commands they are
most comfortable with in this regard). However, do not use
the floating algorithm environment of algorithm.sty (also by
Williams and Brito) or algorithm2e.sty (by Christophe Fiorio)
as the only floating structures IEEE uses are figures and tables.
Furthermore, IEEEtran will not be in control of the (non-IEEE)
caption style produced by the algorithm.sty or algorithm2e.sty
float environments.


If Lyx-Code is not a good way to write some pseudo-code in IEEEtran using Lyx, 
then what is the recommended way to do it ?

with best regards
Zubair




From: Uwe Stöhr uwesto...@web.de
To: Raja Zubair rzna...@yahoo.com
Cc: lyx-users@lists.lyx.org
Sent: Mon, May 24, 2010 8:47:25 PM
Subject: Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

Am 24.05.2010 17:47, schrieb Raja Zubair:

 I don't find Lyx-Code in IEEEtran document class in Lyx 2.0 alpha 3. Any idea 
 to get it back ?

I need to know if IEEE accept LyX code when submitting a paper. I would wonder 
if yes.

regards Uwe



  

Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 12:58, schrieb Raja Zubair:


Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document
class. It also seems from the IEEEtran How to that the user is free to
use any Latex commands

(although authors
are of course free to use whatever LATEX commands they are
most comfortable with in this regard)


OK. I'll re-add LyX code again.

thanks for the report and regards
Uwe


Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 12:58, schrieb Raja Zubair:


Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document class.


I fixed this now.
You can fix this too by adding this line to the file IEEEtran.layout:

Input lyxmacros.inc

regards Uwe


Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Raja Zubair
Hi Uwe

Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document class. It 
also seems from the IEEEtran How to that the user is free to use any Latex 
commands

IEEE publications use the figure environment to contain
algorithms that are not to be a part of the main text flow.
Peter Williams’ and Rogerio Brito’s algorithmic.sty package
[24] or Szász János’ algorithmicx.sty package [25] (the latter is
designed to be more customizable than the former) may be of
help in producing algorithm-like structures (although authors
are of course free to use whatever LATEX commands they are
most comfortable with in this regard). However, do not use
the floating algorithm environment of algorithm.sty (also by
Williams and Brito) or algorithm2e.sty (by Christophe Fiorio)
as the only floating structures IEEE uses are figures and tables.
Furthermore, IEEEtran will not be in control of the (non-IEEE)
caption style produced by the algorithm.sty or algorithm2e.sty
float environments.


If Lyx-Code is not a good way to write some pseudo-code in IEEEtran using Lyx, 
then what is the recommended way to do it ?

with best regards
Zubair




From: Uwe Stöhr <uwesto...@web.de>
To: Raja Zubair <rzna...@yahoo.com>
Cc: lyx-users@lists.lyx.org
Sent: Mon, May 24, 2010 8:47:25 PM
Subject: Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

Am 24.05.2010 17:47, schrieb Raja Zubair:

> I don't find Lyx-Code in IEEEtran document class in Lyx 2.0 alpha 3. Any idea 
> to get it back ?

I need to know if IEEE accept LyX code when submitting a paper. I would wonder 
if yes.

regards Uwe



  

Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 12:58, schrieb Raja Zubair:


Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document
class. It also seems from the IEEEtran How to that the user is free to
use any Latex commands

(although authors
are of course free to use whatever LATEX commands they are
most comfortable with in this regard)


OK. I'll re-add LyX code again.

thanks for the report and regards
Uwe


Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-25 Thread Uwe Stöhr

Am 25.05.2010 12:58, schrieb Raja Zubair:


Lyx-Code was available in Lyx 1.6.6 when using the IEEEtran document class.


I fixed this now.
You can fix this too by adding this line to the file IEEEtran.layout:

Input lyxmacros.inc

regards Uwe


Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-24 Thread Raja Zubair
Hi

I don't find Lyx-Code in IEEEtran document class in Lyx 2.0 alpha 3. Any idea 
to get it back ?

regards
Zubair


  

Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-24 Thread Uwe Stöhr

Am 24.05.2010 17:47, schrieb Raja Zubair:


I don't find Lyx-Code in IEEEtran document class in Lyx 2.0 alpha 3. Any idea 
to get it back ?


I need to know if IEEE accept LyX code when submitting a paper. I would wonder 
if yes.

regards Uwe


Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-24 Thread Raja Zubair
Hi

I don't find Lyx-Code in IEEEtran document class in Lyx 2.0 alpha 3. Any idea 
to get it back ?

regards
Zubair


  

Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-24 Thread Uwe Stöhr

Am 24.05.2010 17:47, schrieb Raja Zubair:


I don't find Lyx-Code in IEEEtran document class in Lyx 2.0 alpha 3. Any idea 
to get it back ?


I need to know if IEEE accept LyX code when submitting a paper. I would wonder 
if yes.

regards Uwe


Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-24 Thread Raja Zubair
Hi

I don't find Lyx-Code in IEEEtran document class in Lyx 2.0 alpha 3. Any idea 
to get it back ?

regards
Zubair


  

Re: Lyx-Code not available in IEEEtran in Lyx 2.0 alpha 3

2010-05-24 Thread Uwe Stöhr

Am 24.05.2010 17:47, schrieb Raja Zubair:


I don't find Lyx-Code in IEEEtran document class in Lyx 2.0 alpha 3. Any idea 
to get it back ?


I need to know if IEEE accept LyX code when submitting a paper. I would wonder 
if yes.

regards Uwe


Problem compiling IEEEtran Standard Template (bare_jrnl.tex)

2009-02-24 Thread Bob McKay
My apologies if this has been asked before, but I couldn't find anything
directly relevant in the archives. I'm hitting a problem with IEEEtran and
LyX; it would be great if anyone could help to work out whether it is a
problem in what I'm doing, or perhaps a bug. I should add that I'm
reasonably familiar with TeX/LaTeX, but new to LyX, so apologies if I'm
missing something obvious.
Versions:
LyX 1.6.1 (linux and Mac OSX versions both show the problem)
pdfTeX pi-1.40.9-2.2 (Web2C 7.5.7) from the TeXLive distribution
IEEEtran bare_jrnl.tex V1.3
IEEEtran.cls V1.7a
IEEEtran.layout - no version number that I can find, but the one included
with LyX 1.6.1

I downloaded the most recent version of the IEEEtran template document from
the IEEE website, imported it into LyX, and tried to typeset it (unchanged)
using ps2pdf. Result:
Error popup from LyX / LaTeX: Paragraph ended before \markboth was complete.

An error also appears on standard error (I'm launching LyX from a terminal):

Error in latexParagraphs: You should not mix title layouts with normal ones.

On the other hand, typesetting bare_jrnl.tex with LaTeX works fine.

I think the problem might lie in the importing. Once imported into LyX, only
the first argument to \markboth shows as having markboth style (the second
argument just shows as standard), but I'm not certain how the styles of a
two-argument macro are normally treated in LyX.

I realise there have been previously reported bugs relating IEEEtran, LyX
and babel, but my understanding is that those were fixed in LyX 1.5.

It's not an urgent problem for me (I just deleted the whole markboth
section, since I'm just using it for a class demo, and markboth isn't
relevant - this fixed the problem), but I thought I should report it.

Thanks for any feedback.

Bob


Problem compiling IEEEtran Standard Template (bare_jrnl.tex)

2009-02-24 Thread Bob McKay
My apologies if this has been asked before, but I couldn't find anything
directly relevant in the archives. I'm hitting a problem with IEEEtran and
LyX; it would be great if anyone could help to work out whether it is a
problem in what I'm doing, or perhaps a bug. I should add that I'm
reasonably familiar with TeX/LaTeX, but new to LyX, so apologies if I'm
missing something obvious.
Versions:
LyX 1.6.1 (linux and Mac OSX versions both show the problem)
pdfTeX pi-1.40.9-2.2 (Web2C 7.5.7) from the TeXLive distribution
IEEEtran bare_jrnl.tex V1.3
IEEEtran.cls V1.7a
IEEEtran.layout - no version number that I can find, but the one included
with LyX 1.6.1

I downloaded the most recent version of the IEEEtran template document from
the IEEE website, imported it into LyX, and tried to typeset it (unchanged)
using ps2pdf. Result:
Error popup from LyX / LaTeX: Paragraph ended before \markboth was complete.

An error also appears on standard error (I'm launching LyX from a terminal):

Error in latexParagraphs: You should not mix title layouts with normal ones.

On the other hand, typesetting bare_jrnl.tex with LaTeX works fine.

I think the problem might lie in the importing. Once imported into LyX, only
the first argument to \markboth shows as having markboth style (the second
argument just shows as standard), but I'm not certain how the styles of a
two-argument macro are normally treated in LyX.

I realise there have been previously reported bugs relating IEEEtran, LyX
and babel, but my understanding is that those were fixed in LyX 1.5.

It's not an urgent problem for me (I just deleted the whole markboth
section, since I'm just using it for a class demo, and markboth isn't
relevant - this fixed the problem), but I thought I should report it.

Thanks for any feedback.

Bob


Problem compiling IEEEtran Standard Template (bare_jrnl.tex)

2009-02-24 Thread Bob McKay
My apologies if this has been asked before, but I couldn't find anything
directly relevant in the archives. I'm hitting a problem with IEEEtran and
LyX; it would be great if anyone could help to work out whether it is a
problem in what I'm doing, or perhaps a bug. I should add that I'm
reasonably familiar with TeX/LaTeX, but new to LyX, so apologies if I'm
missing something obvious.
Versions:
LyX 1.6.1 (linux and Mac OSX versions both show the problem)
pdfTeX pi-1.40.9-2.2 (Web2C 7.5.7) from the TeXLive distribution
IEEEtran bare_jrnl.tex V1.3
IEEEtran.cls V1.7a
IEEEtran.layout - no version number that I can find, but the one included
with LyX 1.6.1

I downloaded the most recent version of the IEEEtran template document from
the IEEE website, imported it into LyX, and tried to typeset it (unchanged)
using ps2pdf. Result:
Error popup from LyX / LaTeX: Paragraph ended before \markboth was complete.

An error also appears on standard error (I'm launching LyX from a terminal):

Error in latexParagraphs: You should not mix title layouts with normal ones.

On the other hand, typesetting bare_jrnl.tex with LaTeX works fine.

I think the problem might lie in the importing. Once imported into LyX, only
the first argument to \markboth shows as having markboth style (the second
argument just shows as standard), but I'm not certain how the styles of a
two-argument macro are normally treated in LyX.

I realise there have been previously reported bugs relating IEEEtran, LyX
and babel, but my understanding is that those were fixed in LyX 1.5.

It's not an urgent problem for me (I just deleted the whole markboth
section, since I'm just using it for a class demo, and markboth isn't
relevant - this fixed the problem), but I thought I should report it.

Thanks for any feedback.

Bob


IEEEtran theorem numbering by section

2008-05-20 Thread Virgil
Hello:
The IEEETran class has a corresponding LyX layout which seems to work well. 
Many theorem-like environments are provided in the drop-down environment list
on the top left corner.

But how can one choose per-section numbering (Theorem 3.5 for the firth theorem
in the third section, for example)?

According to the IEEETran manual, the newtheorem command allows for such
specification.

The user must first declare the structure name via
 
\newtheorem{struct_type}{struct_title}[in_counter]

where struct_type is the user chosen identifier for the structure, struct_title
is the heading that is used for the structure and in_counter is an optional name
of a counter whose number will be displayed with the structure number and whose
update will reset the structure counter.

Papers that use in_counter usually use “section” such that the section number is
the first part of each theorem number.

Example: \newtheorem{thm}{Theorem}[section]

It seems that LyX follows the same procedure when asked to generate LaTeX, but
ommitts the counter specifier (thus theorems are numbered sequentially
throughout the paper:

\newtheorem{thm}{Theorem}

The question is whether one can specify the counter (third parameter) from
within LyX, and how to do it.





Re: IEEEtran theorem numbering by section

2008-05-20 Thread Uwe Stöhr

Virgil schrieb:


But how can one choose per-section numbering (Theorem 3.5 for the firth theorem
in the third section, for example)?


Enable in the document settings dialog explicitely amsmath, then use this 
command in the preamble:

\numberwithin{counter}{section}

where counter is the counter of your theorem.

regards Uwe


IEEEtran theorem numbering by section (2)

2008-05-20 Thread Virgil
Uwe Stöhr wrote:
Virgil schrieb:

But how can one choose per-section numbering 
 Enable in the document settings dialog explicitely amsmath, 
 then use this command in the preamble:
 \numberwithin{counter}{section}
where counter is the counter of your theorem.

Hi:
It appears to work well. Thank you, very much! 
Some additional related comments:

Apparently, one needs to put in the preamble a version of the command 
\numberwithin{counter}{section}
for EACH theorem-like construct used. 
Ex:
\numberwithin{thm}{section}
\numberwithin{cor}{section}
\numberwithin{lemma}{section}

Also, there does not appear to be a direct way of knowing the short form
(abbreviated version) of the name of the construct that LyX uses, and
these forms appear to  be inconsistent... example
thm for theorem
cor for Corollary
lemma for Lemma

I don't know if these abbreviations are LaTeX conventions. 
If not, it would be best to have a uniform convention within LyX 
(first 3 letters in lower case. or
full name in lower case, etc.  etc). 
(To know the above forms I exported to LaTeX and viewed the result).

I did not know the difference between Use AMS Math package automatically 
and Use AMS math package.
I found the answer in the math help doc: 
The option 'Use AMS math package automatically' only uses AMS-math 
when math constructs are found that are supported by LyX..

However, the math help doc appears NOT to discuss theorems, 
proofs and related issues at all.

Thanks again.

Virgil
P.S. For some insanity, Gname wont't let me post this as a follow-up in 
the original thread (lines longer than 80 characters)




IEEEtran theorem numbering by section

2008-05-20 Thread Virgil
Hello:
The IEEETran class has a corresponding LyX layout which seems to work well. 
Many theorem-like environments are provided in the drop-down environment list
on the top left corner.

But how can one choose per-section numbering (Theorem 3.5 for the firth theorem
in the third section, for example)?

According to the IEEETran manual, the newtheorem command allows for such
specification.

The user must first declare the structure name via
 
\newtheorem{struct_type}{struct_title}[in_counter]

where struct_type is the user chosen identifier for the structure, struct_title
is the heading that is used for the structure and in_counter is an optional name
of a counter whose number will be displayed with the structure number and whose
update will reset the structure counter.

Papers that use in_counter usually use “section” such that the section number is
the first part of each theorem number.

Example: \newtheorem{thm}{Theorem}[section]

It seems that LyX follows the same procedure when asked to generate LaTeX, but
ommitts the counter specifier (thus theorems are numbered sequentially
throughout the paper:

\newtheorem{thm}{Theorem}

The question is whether one can specify the counter (third parameter) from
within LyX, and how to do it.





Re: IEEEtran theorem numbering by section

2008-05-20 Thread Uwe Stöhr

Virgil schrieb:


But how can one choose per-section numbering (Theorem 3.5 for the firth theorem
in the third section, for example)?


Enable in the document settings dialog explicitely amsmath, then use this 
command in the preamble:

\numberwithin{counter}{section}

where counter is the counter of your theorem.

regards Uwe


IEEEtran theorem numbering by section (2)

2008-05-20 Thread Virgil
Uwe Stöhr wrote:
Virgil schrieb:

But how can one choose per-section numbering 
 Enable in the document settings dialog explicitely amsmath, 
 then use this command in the preamble:
 \numberwithin{counter}{section}
where counter is the counter of your theorem.

Hi:
It appears to work well. Thank you, very much! 
Some additional related comments:

Apparently, one needs to put in the preamble a version of the command 
\numberwithin{counter}{section}
for EACH theorem-like construct used. 
Ex:
\numberwithin{thm}{section}
\numberwithin{cor}{section}
\numberwithin{lemma}{section}

Also, there does not appear to be a direct way of knowing the short form
(abbreviated version) of the name of the construct that LyX uses, and
these forms appear to  be inconsistent... example
thm for theorem
cor for Corollary
lemma for Lemma

I don't know if these abbreviations are LaTeX conventions. 
If not, it would be best to have a uniform convention within LyX 
(first 3 letters in lower case. or
full name in lower case, etc.  etc). 
(To know the above forms I exported to LaTeX and viewed the result).

I did not know the difference between Use AMS Math package automatically 
and Use AMS math package.
I found the answer in the math help doc: 
The option 'Use AMS math package automatically' only uses AMS-math 
when math constructs are found that are supported by LyX..

However, the math help doc appears NOT to discuss theorems, 
proofs and related issues at all.

Thanks again.

Virgil
P.S. For some insanity, Gname wont't let me post this as a follow-up in 
the original thread (lines longer than 80 characters)




IEEEtran theorem numbering by section

2008-05-20 Thread Virgil
Hello:
The IEEETran class has a corresponding LyX layout which seems to work well. 
Many theorem-like environments are provided in the drop-down "environment" list
on the top left corner.

But how can one choose per-section numbering (Theorem 3.5 for the firth theorem
in the third section, for example)?

According to the IEEETran manual, the newtheorem command allows for such
specification.

The user must first declare the structure name via
 
\newtheorem{struct_type}{struct_title}[in_counter]

where struct_type is the user chosen identifier for the structure, struct_title
is the heading that is used for the structure and in_counter is an optional name
of a counter whose number will be displayed with the structure number and whose
update will reset the structure counter.

Papers that use in_counter usually use “section” such that the section number is
the first part of each theorem number.

Example: \newtheorem{thm}{Theorem}[section]

It seems that LyX follows the same procedure when asked to generate LaTeX, but
ommitts the "counter" specifier (thus theorems are numbered sequentially
throughout the paper:

\newtheorem{thm}{Theorem}

The question is whether one can specify the counter (third parameter) from
within LyX, and how to do it.





Re: IEEEtran theorem numbering by section

2008-05-20 Thread Uwe Stöhr

Virgil schrieb:


But how can one choose per-section numbering (Theorem 3.5 for the firth theorem
in the third section, for example)?


Enable in the document settings dialog explicitely amsmath, then use this 
command in the preamble:

\numberwithin{counter}{section}

where counter is the counter of your theorem.

regards Uwe


IEEEtran theorem numbering by section (2)

2008-05-20 Thread Virgil
"Uwe Stöhr" wrote:
>Virgil schrieb:

>>But how can one choose per-section numbering 
> Enable in the document settings dialog explicitely amsmath, 
> then use this command in the preamble:
> \numberwithin{counter}{section}
>where counter is the counter of your theorem.

Hi:
It appears to work well. Thank you, very much! 
Some additional related comments:

Apparently, one needs to put in the preamble a version of the command 
\numberwithin{counter}{section}
for EACH theorem-like construct used. 
Ex:
\numberwithin{thm}{section}
\numberwithin{cor}{section}
\numberwithin{lemma}{section}

Also, there does not appear to be a direct way of knowing the short form
(abbreviated version) of the name of the construct that LyX uses, and
these forms appear to  be inconsistent... example
thm for theorem
cor for Corollary
lemma for Lemma

I don't know if these abbreviations are LaTeX conventions. 
If not, it would be best to have a uniform convention within LyX 
(first 3 letters in lower case. or
full name in lower case, etc.  etc). 
(To know the above forms I exported to LaTeX and viewed the result).

I did not know the difference between "Use AMS Math package automatically" 
and "Use AMS math package".
I found the answer in the math help doc: 
"The option 'Use AMS math package automatically' only uses AMS-math 
when math constructs are found that are supported by LyX.".

However, the math help doc appears NOT to discuss theorems, 
proofs and related issues at all.

Thanks again.

Virgil
P.S. For some insanity, Gname wont't let me post this as a follow-up in 
the original thread ("lines longer than 80 characters")




Re: Problems with abstract in IEEETran class

2008-04-21 Thread G. Milde
On 19.04.08, Myriam Abramson wrote:

 I am unfortunately converting from Lyx 1.5 (work) to Lyx 1.4 (home)
 through TeX files. 

If I remember right, you should be able to convert LyX 1.5 format to LyX 1.4
with the lyx2lyx script of LyX 1.5.

I remember that I once could enable an old lyx version to read in newer
lyx files by just replacing the lyx2lyx (and supporting) scripts.

Günter


Re: Problems with abstract in IEEETran class

2008-04-21 Thread G. Milde
On 19.04.08, Myriam Abramson wrote:

 I am unfortunately converting from Lyx 1.5 (work) to Lyx 1.4 (home)
 through TeX files. 

If I remember right, you should be able to convert LyX 1.5 format to LyX 1.4
with the lyx2lyx script of LyX 1.5.

I remember that I once could enable an old lyx version to read in newer
lyx files by just replacing the lyx2lyx (and supporting) scripts.

Günter


Re: Problems with abstract in IEEETran class

2008-04-21 Thread G. Milde
On 19.04.08, Myriam Abramson wrote:

> I am unfortunately converting from Lyx 1.5 (work) to Lyx 1.4 (home)
> through TeX files. 

If I remember right, you should be able to convert LyX 1.5 format to LyX 1.4
with the lyx2lyx script of LyX 1.5.

I remember that I once could enable an old lyx version to read in "newer"
lyx files by just replacing the lyx2lyx (and supporting) scripts.

Günter


Problems with abstract in IEEETran class

2008-04-19 Thread Myriam Abramson

Hello,

I am unfortunately converting from Lyx 1.5 (work) to Lyx 1.4 (home)
through TeX files. Anyway, I am having a problem now with the abstract
repeating twice. I'm attaching a LyX file (1.4.3) and a TeX file. How
do I fix that strange behavior?

TIA
-- 
   myriam



test.tex
Description: test.tex


test.lyx
Description: test.lyx


Re: Problems with abstract in IEEETran class

2008-04-19 Thread Paul A. Rubin

Myriam Abramson wrote:

Hello,

I am unfortunately converting from Lyx 1.5 (work) to Lyx 1.4 (home)
through TeX files. Anyway, I am having a problem now with the abstract
repeating twice. I'm attaching a LyX file (1.4.3) and a TeX file. How
do I fix that strange behavior?

TIA


Highlight the text of the abstract and use the text style dialog (Edit 
- Text style or ab button) to reset the size.  When you specify the 
size explicitly, LyX emits LaTeX with the text enclosed in braces. 
Apparently the braces give the IEEETran class major heartburn.  Don't 
know why, but I'm sure it's something intrinsic to the way the class 
file is written and thus out of your (or at least my) control.


Tested on LyX 1.4.4 and 1.5.4 (I don't have 1.4.3 anymore).

/Paul



Problems with abstract in IEEETran class

2008-04-19 Thread Myriam Abramson

Hello,

I am unfortunately converting from Lyx 1.5 (work) to Lyx 1.4 (home)
through TeX files. Anyway, I am having a problem now with the abstract
repeating twice. I'm attaching a LyX file (1.4.3) and a TeX file. How
do I fix that strange behavior?

TIA
-- 
   myriam



test.tex
Description: test.tex


test.lyx
Description: test.lyx


Re: Problems with abstract in IEEETran class

2008-04-19 Thread Paul A. Rubin

Myriam Abramson wrote:

Hello,

I am unfortunately converting from Lyx 1.5 (work) to Lyx 1.4 (home)
through TeX files. Anyway, I am having a problem now with the abstract
repeating twice. I'm attaching a LyX file (1.4.3) and a TeX file. How
do I fix that strange behavior?

TIA


Highlight the text of the abstract and use the text style dialog (Edit 
- Text style or ab button) to reset the size.  When you specify the 
size explicitly, LyX emits LaTeX with the text enclosed in braces. 
Apparently the braces give the IEEETran class major heartburn.  Don't 
know why, but I'm sure it's something intrinsic to the way the class 
file is written and thus out of your (or at least my) control.


Tested on LyX 1.4.4 and 1.5.4 (I don't have 1.4.3 anymore).

/Paul



Problems with abstract in IEEETran class

2008-04-19 Thread Myriam Abramson

Hello,

I am unfortunately converting from Lyx 1.5 (work) to Lyx 1.4 (home)
through TeX files. Anyway, I am having a problem now with the abstract
repeating twice. I'm attaching a LyX file (1.4.3) and a TeX file. How
do I fix that strange behavior?

TIA
-- 
   myriam



test.tex
Description: test.tex


test.lyx
Description: test.lyx


  1   2   3   >