Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manolo Martínez
Hi, Manoj.

I'll be happy to help you troubleshoot the layout. If you have LyX files that 
you want me to compile, or anything, let me know.

Cheers,
Manolo

On Wed, 3 Mar 2010 21:28:03 -0500
Manoj Rajagopalan rma...@umich.edu wrote:

 Hi lyx-users,
 
    REVTeX 4.1 was recently released and all APS and AIP journals require this 
 format which may be backwards-incompatible with v4.0. I've the extended 
 revtex4.layout that accompanies LyX to revtex4-1.layout and am attaching it. 
 I 
 request help with testing the layout.
 
I have ported the sample document aipsamp.tex that comes with the REVTeX 
 4.1 distribution to a lyx file and the PDFs generated from both sources are 
 almost identical so I believe I have addressed most of the issues.
 
This list doesn't accept emails over 60kB so I am able to attach only the 
 layout. Should someone be interested in the other files, please contact me 
 directly by email at this address.
 
 
 Thanks,
 Manoj Rajagopalan


Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi Manolo,

  Thanks! I will attach the AIP sample (aipsamp.tex) that came with RevTeX 
4.1, and my LyX port of that file (aipsamp-lyx.lyx) in a separate email to 
you (too big for this list). I'll also attach PDFs generated from aipsamp.tex 
and from aipsamp-lyx.lyx.

   It would help if you could port the APS sample that comes with revtex to 
lyx and compare the PDFs or DVIs generated from those. The easy part is in 
applying the layout. The time-consuming part is in copy-pasting the latex 
source and converting the tex markup into lyx equivalent. To speed this up 
see the last appendix that I created in aipsamp-lyx.lyx (how to use lyx with 
revtex).

   Latest RevTeX 4.1 can be downloaded from http://authors.aps.org/revtex4/ - 
they have already fixed a few bugs

At present, I am experiencing trouble with the \listofvideos command. LyX 
properly inserts this command where I want it but my latex doesn't compile 
and therefore my DVI and PDF are not being generated. Let me know if you 
happen to see the same. If there is a bug we could file a report. The video 
environment is a new feature that they have just begun to support.

   If you have suggestions for improvement those would be welcome.

Thanks once again!
Manoj


On Thursday 04 March 2010 12:09:19 pm Manolo Martínez wrote:
 Hi, Manoj.

 I'll be happy to help you troubleshoot the layout. If you have LyX files
 that you want me to compile, or anything, let me know.

 Cheers,
 Manolo

 On Wed, 3 Mar 2010 21:28:03 -0500

 Manoj Rajagopalan rma...@umich.edu wrote:
  Hi lyx-users,
 
     REVTeX 4.1 was recently released and all APS and AIP journals require
  this format which may be backwards-incompatible with v4.0. I've the
  extended revtex4.layout that accompanies LyX to revtex4-1.layout and am
  attaching it. I request help with testing the layout.
 
 I have ported the sample document aipsamp.tex that comes with the
  REVTeX 4.1 distribution to a lyx file and the PDFs generated from both
  sources are almost identical so I believe I have addressed most of the
  issues.
 
 This list doesn't accept emails over 60kB so I am able to attach only
  the layout. Should someone be interested in the other files, please
  contact me directly by email at this address.
 
 
  Thanks,
  Manoj Rajagopalan



Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi lyx-users,

   I have created a new wiki page for this layout:

http://wiki.lyx.org/Layouts/Revtex4-1

  Here I provide a link the layout file and list features to be tested and/or 
implemented.

Thanks,
Manoj


Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Julien Rioux
 At present, I am experiencing trouble with the \listofvideos command. LyX 
 properly inserts this command where I want it but my latex doesn't compile 
 and therefore my DVI and PDF are not being generated. Let me know if you 
 happen to see the same. If there is a bug we could file a report. The video 
 environment is a new feature that they have just begun to support.

Try in the preamble:

\def\lovname{List of Videos}

This should be considered a bug in revtex 4.1 IMHO.  Similar commands are
defined on line no 7088--7089 of revtex4-1.cls but \lovname is missing.

--
Julien




Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Julien Rioux
http://wiki.lyx.org/Layouts/Revtex4-1 says:
 Mention features from the REVTeX 4.1 documentation
 that should be tested (and fixed in the layout if
 broken) before final release of this layout.

* New environment: video
* \listofvideos seems broken (latex doesn't compile)

Nicely done.  See my other message about your compilation error.

* Using \cite instead of \footnote for footnotes as
 the REVTeX guide suggests. So far \footnote works but
 may not be acceptable by journals. Will using the LyX
 citation inset generate proper latex?

I don't see any mention of this in the revtex user's guide.  I don't see a
problem with this.  Revtex produces a .bib file from your footnotes and use the
bibtex mechanism.  For submission you need to inline the bibitems anyway.

* New feature: structured abstracts using the description environment

This works (at the level of LyX) out-of-the-box.  One can insert description
or other list environments and increase their nesting depth (using TAB or the
toolbar buttons).

* Test newly added support for arXiv.org in BibTeX

This should just work. More interesting are these features, which would require
changes in the LyX citation dialog (or use of ERT):

  - Multiple references in a single bibliography entry.
  - Prepending and/or appending text to a citation.
  - Online citation \onlinecite (this is not new in revtex 4.1, but maybe now is
an opportunity to implement it in LyX)

* Port the LaTeX AIP sample to LyX and visually diff the generated PDFs
* Port the LaTeX APS sample to LyX and visually diff the generated PDFs

This would indeed be a nice accomplishment.

--
Julien




Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manolo Martínez
Hi, Manoj.

I'll be happy to help you troubleshoot the layout. If you have LyX files that 
you want me to compile, or anything, let me know.

Cheers,
Manolo

On Wed, 3 Mar 2010 21:28:03 -0500
Manoj Rajagopalan rma...@umich.edu wrote:

 Hi lyx-users,
 
    REVTeX 4.1 was recently released and all APS and AIP journals require this 
 format which may be backwards-incompatible with v4.0. I've the extended 
 revtex4.layout that accompanies LyX to revtex4-1.layout and am attaching it. 
 I 
 request help with testing the layout.
 
I have ported the sample document aipsamp.tex that comes with the REVTeX 
 4.1 distribution to a lyx file and the PDFs generated from both sources are 
 almost identical so I believe I have addressed most of the issues.
 
This list doesn't accept emails over 60kB so I am able to attach only the 
 layout. Should someone be interested in the other files, please contact me 
 directly by email at this address.
 
 
 Thanks,
 Manoj Rajagopalan


Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi Manolo,

  Thanks! I will attach the AIP sample (aipsamp.tex) that came with RevTeX 
4.1, and my LyX port of that file (aipsamp-lyx.lyx) in a separate email to 
you (too big for this list). I'll also attach PDFs generated from aipsamp.tex 
and from aipsamp-lyx.lyx.

   It would help if you could port the APS sample that comes with revtex to 
lyx and compare the PDFs or DVIs generated from those. The easy part is in 
applying the layout. The time-consuming part is in copy-pasting the latex 
source and converting the tex markup into lyx equivalent. To speed this up 
see the last appendix that I created in aipsamp-lyx.lyx (how to use lyx with 
revtex).

   Latest RevTeX 4.1 can be downloaded from http://authors.aps.org/revtex4/ - 
they have already fixed a few bugs

At present, I am experiencing trouble with the \listofvideos command. LyX 
properly inserts this command where I want it but my latex doesn't compile 
and therefore my DVI and PDF are not being generated. Let me know if you 
happen to see the same. If there is a bug we could file a report. The video 
environment is a new feature that they have just begun to support.

   If you have suggestions for improvement those would be welcome.

Thanks once again!
Manoj


On Thursday 04 March 2010 12:09:19 pm Manolo Martínez wrote:
 Hi, Manoj.

 I'll be happy to help you troubleshoot the layout. If you have LyX files
 that you want me to compile, or anything, let me know.

 Cheers,
 Manolo

 On Wed, 3 Mar 2010 21:28:03 -0500

 Manoj Rajagopalan rma...@umich.edu wrote:
  Hi lyx-users,
 
     REVTeX 4.1 was recently released and all APS and AIP journals require
  this format which may be backwards-incompatible with v4.0. I've the
  extended revtex4.layout that accompanies LyX to revtex4-1.layout and am
  attaching it. I request help with testing the layout.
 
 I have ported the sample document aipsamp.tex that comes with the
  REVTeX 4.1 distribution to a lyx file and the PDFs generated from both
  sources are almost identical so I believe I have addressed most of the
  issues.
 
 This list doesn't accept emails over 60kB so I am able to attach only
  the layout. Should someone be interested in the other files, please
  contact me directly by email at this address.
 
 
  Thanks,
  Manoj Rajagopalan



Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi lyx-users,

   I have created a new wiki page for this layout:

http://wiki.lyx.org/Layouts/Revtex4-1

  Here I provide a link the layout file and list features to be tested and/or 
implemented.

Thanks,
Manoj


Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Julien Rioux
 At present, I am experiencing trouble with the \listofvideos command. LyX 
 properly inserts this command where I want it but my latex doesn't compile 
 and therefore my DVI and PDF are not being generated. Let me know if you 
 happen to see the same. If there is a bug we could file a report. The video 
 environment is a new feature that they have just begun to support.

Try in the preamble:

\def\lovname{List of Videos}

This should be considered a bug in revtex 4.1 IMHO.  Similar commands are
defined on line no 7088--7089 of revtex4-1.cls but \lovname is missing.

--
Julien




Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Julien Rioux
http://wiki.lyx.org/Layouts/Revtex4-1 says:
 Mention features from the REVTeX 4.1 documentation
 that should be tested (and fixed in the layout if
 broken) before final release of this layout.

* New environment: video
* \listofvideos seems broken (latex doesn't compile)

Nicely done.  See my other message about your compilation error.

* Using \cite instead of \footnote for footnotes as
 the REVTeX guide suggests. So far \footnote works but
 may not be acceptable by journals. Will using the LyX
 citation inset generate proper latex?

I don't see any mention of this in the revtex user's guide.  I don't see a
problem with this.  Revtex produces a .bib file from your footnotes and use the
bibtex mechanism.  For submission you need to inline the bibitems anyway.

* New feature: structured abstracts using the description environment

This works (at the level of LyX) out-of-the-box.  One can insert description
or other list environments and increase their nesting depth (using TAB or the
toolbar buttons).

* Test newly added support for arXiv.org in BibTeX

This should just work. More interesting are these features, which would require
changes in the LyX citation dialog (or use of ERT):

  - Multiple references in a single bibliography entry.
  - Prepending and/or appending text to a citation.
  - Online citation \onlinecite (this is not new in revtex 4.1, but maybe now is
an opportunity to implement it in LyX)

* Port the LaTeX AIP sample to LyX and visually diff the generated PDFs
* Port the LaTeX APS sample to LyX and visually diff the generated PDFs

This would indeed be a nice accomplishment.

--
Julien




Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manolo Martínez
Hi, Manoj.

I'll be happy to help you troubleshoot the layout. If you have LyX files that 
you want me to compile, or anything, let me know.

Cheers,
Manolo

On Wed, 3 Mar 2010 21:28:03 -0500
Manoj Rajagopalan  wrote:

> Hi lyx-users,
> 
>    REVTeX 4.1 was recently released and all APS and AIP journals require this 
> format which may be backwards-incompatible with v4.0. I've the extended 
> revtex4.layout that accompanies LyX to revtex4-1.layout and am attaching it. 
> I 
> request help with testing the layout.
> 
>I have ported the sample document aipsamp.tex that comes with the REVTeX 
> 4.1 distribution to a lyx file and the PDFs generated from both sources are 
> almost identical so I believe I have addressed most of the issues.
> 
>This list doesn't accept emails over 60kB so I am able to attach only the 
> layout. Should someone be interested in the other files, please contact me 
> directly by email at this address.
> 
> 
> Thanks,
> Manoj Rajagopalan


Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi Manolo,

  Thanks! I will attach the AIP sample (aipsamp.tex) that came with RevTeX 
4.1, and my LyX port of that file (aipsamp-lyx.lyx) in a separate email to 
you (too big for this list). I'll also attach PDFs generated from aipsamp.tex 
and from aipsamp-lyx.lyx.

   It would help if you could port the APS sample that comes with revtex to 
lyx and compare the PDFs or DVIs generated from those. The easy part is in 
applying the layout. The time-consuming part is in copy-pasting the latex 
source and converting the tex markup into lyx equivalent. To speed this up 
see the last appendix that I created in aipsamp-lyx.lyx (how to use lyx with 
revtex).

   Latest RevTeX 4.1 can be downloaded from http://authors.aps.org/revtex4/ - 
they have already fixed a few bugs

At present, I am experiencing trouble with the \listofvideos command. LyX 
properly inserts this command where I want it but my latex doesn't compile 
and therefore my DVI and PDF are not being generated. Let me know if you 
happen to see the same. If there is a bug we could file a report. The video 
environment is a new feature that they have just begun to support.

   If you have suggestions for improvement those would be welcome.

Thanks once again!
Manoj


On Thursday 04 March 2010 12:09:19 pm Manolo Martínez wrote:
> Hi, Manoj.
>
> I'll be happy to help you troubleshoot the layout. If you have LyX files
> that you want me to compile, or anything, let me know.
>
> Cheers,
> Manolo
>
> On Wed, 3 Mar 2010 21:28:03 -0500
>
> Manoj Rajagopalan  wrote:
> > Hi lyx-users,
> >
> >    REVTeX 4.1 was recently released and all APS and AIP journals require
> > this format which may be backwards-incompatible with v4.0. I've the
> > extended revtex4.layout that accompanies LyX to revtex4-1.layout and am
> > attaching it. I request help with testing the layout.
> >
> >I have ported the sample document aipsamp.tex that comes with the
> > REVTeX 4.1 distribution to a lyx file and the PDFs generated from both
> > sources are almost identical so I believe I have addressed most of the
> > issues.
> >
> >This list doesn't accept emails over 60kB so I am able to attach only
> > the layout. Should someone be interested in the other files, please
> > contact me directly by email at this address.
> >
> >
> > Thanks,
> > Manoj Rajagopalan



Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi lyx-users,

   I have created a new wiki page for this layout:

http://wiki.lyx.org/Layouts/Revtex4-1

  Here I provide a link the layout file and list features to be tested and/or 
implemented.

Thanks,
Manoj


Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Julien Rioux
> At present, I am experiencing trouble with the \listofvideos command. LyX 
> properly inserts this command where I want it but my latex doesn't compile 
> and therefore my DVI and PDF are not being generated. Let me know if you 
> happen to see the same. If there is a bug we could file a report. The video 
> environment is a new feature that they have just begun to support.

Try in the preamble:

\def\lovname{List of Videos}

This should be considered a bug in revtex 4.1 IMHO.  Similar commands are
defined on line no 7088--7089 of revtex4-1.cls but \lovname is missing.

--
Julien




Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Julien Rioux
http://wiki.lyx.org/Layouts/Revtex4-1 says:
> Mention features from the REVTeX 4.1 documentation
> that should be tested (and fixed in the layout if
> broken) before final release of this layout.
>
>* New environment: video
>* \listofvideos seems broken (latex doesn't compile)

Nicely done.  See my other message about your compilation error.

>* Using \cite instead of \footnote for footnotes as
> the REVTeX guide suggests. So far \footnote works but
> may not be acceptable by journals. Will using the LyX
> citation inset generate proper latex?

I don't see any mention of this in the revtex user's guide.  I don't see a
problem with this.  Revtex produces a .bib file from your footnotes and use the
bibtex mechanism.  For submission you need to inline the bibitems anyway.

>* New feature: structured abstracts using the description environment

This works (at the level of LyX) out-of-the-box.  One can insert "description"
or other list environments and increase their nesting depth (using TAB or the
toolbar buttons).

>* Test newly added support for arXiv.org in BibTeX

This should just work. More interesting are these features, which would require
changes in the LyX citation dialog (or use of ERT):

  - Multiple references in a single bibliography entry.
  - Prepending and/or appending text to a citation.
  - Online citation \onlinecite (this is not new in revtex 4.1, but maybe now is
an opportunity to implement it in LyX)

>* Port the LaTeX AIP sample to LyX and visually diff the generated PDFs
>* Port the LaTeX APS sample to LyX and visually diff the generated PDFs

This would indeed be a nice accomplishment.

--
Julien




REVTeX 4.1 layout: alpha

2010-03-03 Thread Manoj Rajagopalan
Hi lyx-users,

   REVTeX 4.1 was recently released and all APS and AIP journals require this 
format which may be backwards-incompatible with v4.0. I've the extended 
revtex4.layout that accompanies LyX to revtex4-1.layout and am attaching it. I 
request help with testing the layout.

   I have ported the sample document aipsamp.tex that comes with the REVTeX 
4.1 distribution to a lyx file and the PDFs generated from both sources are 
almost identical so I believe I have addressed most of the issues.

   This list doesn't accept emails over 60kB so I am able to attach only the 
layout. Should someone be interested in the other files, please contact me 
directly by email at this address.


Thanks,
Manoj Rajagopalan
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article (REVTeX 4.1)}
# RevTeX 4.1 textclass definition file. Based on:
# AMS-Article textclass definition file. Taken from initial LyX source code
# and from the Article textclass definition file, following the AMS sample
# paper testmath.tex of January, 1995
# Author : David L. Johnson d...@lehigh.edu (AMS)
#  Marc Mengel (RevTeX)
#  Amir Karger (LyX v11.34 style modifications)
#  Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
#  Manoj Rajagopalan (RevTeX 4.1) 1/2010


Format 19
Columns 1
Sides   1
PageStyle   Headers
Provides natbib-internal1
Provides url1

# Default textclass options. The user may need to modify this.
ClassOptions
Other manuscript
End

Preamble
\...@ifundefined{textcolor}{}
{%
 \definecolor{BLACK}{gray}{0}
 \definecolor{WHITE}{gray}{1}
 \definecolor{RED}{rgb}{1,0,0}
 \definecolor{GREEN}{rgb}{0,1,0}
 \definecolor{BLUE}{rgb}{0,0,1}
 \definecolor{CYAN}{cmyk}{1,0,0,0}
 \definecolor{MAGENTA}{cmyk}{0,1,0,0}
 \definecolor{YELLOW}{cmyk}{0,0,1,0}
 }
EndPreamble


Style Standard
MarginStatic
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip   0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End


# Idea from aapaper: declare all layouts here (Style Foo\nEnd\n)
# so that they appear in a specific order in the layout dropdown menu.

Input stdinsets.inc
Input stdsections.inc
Input numrevtex.inc

Style Section
Align Center
AlignPossible Block, Center, Left
Font
  Series  Medium
  Shape   Smallcaps
  SizeLarge
EndFont
TocLevel 1
End


Style Subsection
Font
  Series  Bold
  SizeNormal
EndFont
TocLevel 2
End


Style Subsubsection
Font
# Shape   Italic
  SizeNormal
EndFont
TocLevel 3
End


Style Paragraph
TopSep0.7
ParSep0.4
Font
  Shape   Italic
  SizeNormal
EndFont
TocLevel 4
End

# then define the unumbered sections, based on the numbered ones.
Input stdstarsections.inc

NoStyle Chapter
NoStyle Chapter*
NoStyle Subparagraph
NoStyle Subparagraph*

Input stdlayouts.inc
Input stdlists.inc
Input stdtitle.inc
Input stdstruct.inc


Style Preprint
MarginRight_Address_Box
LatexType Command
InTitle   1
LatexName preprint
ParSkip   0.4
BottomSep 1.5
ParSep1.5
Align Left
End


Style Title
Font
  Series  Bold
  SizeLarge
EndFont
OptionalArgs  1
End


Style Author
Font
  SizeLarge
# Shape   Smallcaps
EndFont
End


Style Date
LabelType Static
LabelString   Date:
LabelFont
  Shape   Italic
  SizeLarge
EndFont
End


Style Affiliation
MarginDynamic
LatexType Command
InTitle   1
LatexName affiliation
ParSkip   0.4
#  BottomSep1.5
#  ParSep   1.5
Align Center
AlignPossible Block, Left, Right, Center
LabelType Static
LabelSep  M
LabelString   Affiliation:

LabelFont
  Shape   Italic
EndFont
End


Style AltAffiliation
CopyStyle Affiliation
PassThru  

REVTeX 4.1 layout: alpha

2010-03-03 Thread Manoj Rajagopalan
Hi lyx-users,

   REVTeX 4.1 was recently released and all APS and AIP journals require this 
format which may be backwards-incompatible with v4.0. I've the extended 
revtex4.layout that accompanies LyX to revtex4-1.layout and am attaching it. I 
request help with testing the layout.

   I have ported the sample document aipsamp.tex that comes with the REVTeX 
4.1 distribution to a lyx file and the PDFs generated from both sources are 
almost identical so I believe I have addressed most of the issues.

   This list doesn't accept emails over 60kB so I am able to attach only the 
layout. Should someone be interested in the other files, please contact me 
directly by email at this address.


Thanks,
Manoj Rajagopalan
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article (REVTeX 4.1)}
# RevTeX 4.1 textclass definition file. Based on:
# AMS-Article textclass definition file. Taken from initial LyX source code
# and from the Article textclass definition file, following the AMS sample
# paper testmath.tex of January, 1995
# Author : David L. Johnson d...@lehigh.edu (AMS)
#  Marc Mengel (RevTeX)
#  Amir Karger (LyX v11.34 style modifications)
#  Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
#  Manoj Rajagopalan (RevTeX 4.1) 1/2010


Format 19
Columns 1
Sides   1
PageStyle   Headers
Provides natbib-internal1
Provides url1

# Default textclass options. The user may need to modify this.
ClassOptions
Other manuscript
End

Preamble
\...@ifundefined{textcolor}{}
{%
 \definecolor{BLACK}{gray}{0}
 \definecolor{WHITE}{gray}{1}
 \definecolor{RED}{rgb}{1,0,0}
 \definecolor{GREEN}{rgb}{0,1,0}
 \definecolor{BLUE}{rgb}{0,0,1}
 \definecolor{CYAN}{cmyk}{1,0,0,0}
 \definecolor{MAGENTA}{cmyk}{0,1,0,0}
 \definecolor{YELLOW}{cmyk}{0,0,1,0}
 }
EndPreamble


Style Standard
MarginStatic
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip   0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End


# Idea from aapaper: declare all layouts here (Style Foo\nEnd\n)
# so that they appear in a specific order in the layout dropdown menu.

Input stdinsets.inc
Input stdsections.inc
Input numrevtex.inc

Style Section
Align Center
AlignPossible Block, Center, Left
Font
  Series  Medium
  Shape   Smallcaps
  SizeLarge
EndFont
TocLevel 1
End


Style Subsection
Font
  Series  Bold
  SizeNormal
EndFont
TocLevel 2
End


Style Subsubsection
Font
# Shape   Italic
  SizeNormal
EndFont
TocLevel 3
End


Style Paragraph
TopSep0.7
ParSep0.4
Font
  Shape   Italic
  SizeNormal
EndFont
TocLevel 4
End

# then define the unumbered sections, based on the numbered ones.
Input stdstarsections.inc

NoStyle Chapter
NoStyle Chapter*
NoStyle Subparagraph
NoStyle Subparagraph*

Input stdlayouts.inc
Input stdlists.inc
Input stdtitle.inc
Input stdstruct.inc


Style Preprint
MarginRight_Address_Box
LatexType Command
InTitle   1
LatexName preprint
ParSkip   0.4
BottomSep 1.5
ParSep1.5
Align Left
End


Style Title
Font
  Series  Bold
  SizeLarge
EndFont
OptionalArgs  1
End


Style Author
Font
  SizeLarge
# Shape   Smallcaps
EndFont
End


Style Date
LabelType Static
LabelString   Date:
LabelFont
  Shape   Italic
  SizeLarge
EndFont
End


Style Affiliation
MarginDynamic
LatexType Command
InTitle   1
LatexName affiliation
ParSkip   0.4
#  BottomSep1.5
#  ParSep   1.5
Align Center
AlignPossible Block, Left, Right, Center
LabelType Static
LabelSep  M
LabelString   Affiliation:

LabelFont
  Shape   Italic
EndFont
End


Style AltAffiliation
CopyStyle Affiliation
PassThru  

REVTeX 4.1 layout: alpha

2010-03-03 Thread Manoj Rajagopalan
Hi lyx-users,

   REVTeX 4.1 was recently released and all APS and AIP journals require this 
format which may be backwards-incompatible with v4.0. I've the extended 
revtex4.layout that accompanies LyX to revtex4-1.layout and am attaching it. I 
request help with testing the layout.

   I have ported the sample document aipsamp.tex that comes with the REVTeX 
4.1 distribution to a lyx file and the PDFs generated from both sources are 
almost identical so I believe I have addressed most of the issues.

   This list doesn't accept emails over 60kB so I am able to attach only the 
layout. Should someone be interested in the other files, please contact me 
directly by email at this address.


Thanks,
Manoj Rajagopalan
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article (REVTeX 4.1)}
# RevTeX 4.1 textclass definition file. Based on:
# AMS-Article textclass definition file. Taken from initial LyX source code
# and from the Article textclass definition file, following the AMS sample
# paper "testmath.tex" of January, 1995
# Author : David L. Johnson  (AMS)
#  Marc Mengel (RevTeX)
#  Amir Karger (LyX v11.34 style modifications)
#  Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
#  Manoj Rajagopalan (RevTeX 4.1) 1/2010


Format 19
Columns 1
Sides   1
PageStyle   Headers
Provides natbib-internal1
Provides url1

# Default textclass options. The user may need to modify this.
ClassOptions
Other "manuscript"
End

Preamble
\...@ifundefined{textcolor}{}
{%
 \definecolor{BLACK}{gray}{0}
 \definecolor{WHITE}{gray}{1}
 \definecolor{RED}{rgb}{1,0,0}
 \definecolor{GREEN}{rgb}{0,1,0}
 \definecolor{BLUE}{rgb}{0,0,1}
 \definecolor{CYAN}{cmyk}{1,0,0,0}
 \definecolor{MAGENTA}{cmyk}{0,1,0,0}
 \definecolor{YELLOW}{cmyk}{0,0,1,0}
 }
EndPreamble


Style Standard
MarginStatic
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip   0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End


# Idea from aapaper: declare all layouts here ("Style Foo\nEnd\n")
# so that they appear in a specific order in the layout dropdown menu.

Input stdinsets.inc
Input stdsections.inc
Input numrevtex.inc

Style Section
Align Center
AlignPossible Block, Center, Left
Font
  Series  Medium
  Shape   Smallcaps
  SizeLarge
EndFont
TocLevel 1
End


Style Subsection
Font
  Series  Bold
  SizeNormal
EndFont
TocLevel 2
End


Style Subsubsection
Font
# Shape   Italic
  SizeNormal
EndFont
TocLevel 3
End


Style Paragraph
TopSep0.7
ParSep0.4
Font
  Shape   Italic
  SizeNormal
EndFont
TocLevel 4
End

# then define the unumbered sections, based on the numbered ones.
Input stdstarsections.inc

NoStyle Chapter
NoStyle Chapter*
NoStyle Subparagraph
NoStyle Subparagraph*

Input stdlayouts.inc
Input stdlists.inc
Input stdtitle.inc
Input stdstruct.inc


Style Preprint
MarginRight_Address_Box
LatexType Command
InTitle   1
LatexName preprint
ParSkip   0.4
BottomSep 1.5
ParSep1.5
Align Left
End


Style Title
Font
  Series  Bold
  SizeLarge
EndFont
OptionalArgs  1
End


Style Author
Font
  SizeLarge
# Shape   Smallcaps
EndFont
End


Style Date
LabelType Static
LabelString   "Date:"
LabelFont
  Shape   Italic
  SizeLarge
EndFont
End


Style Affiliation
MarginDynamic
LatexType Command
InTitle   1
LatexName affiliation
ParSkip   0.4
#  BottomSep1.5
#  ParSep   1.5
Align Center
AlignPossible Block, Left, Right, Center
LabelType Static
LabelSep  M
LabelString   "Affiliation:"

LabelFont
  Shape   Italic
EndFont
End


Style AltAffiliation
CopyStyle Affiliation