German Holguin a écrit :
Hello Jean-Pierre,
I found your posts on a mailing group about LyX and IFAC conferences.
I'm writing an IFAC paper and I wonder if you can share with me the
layout and template for LyX for these IFAC conferences.
<http://www.mail-archive.com/[email protected]/msg125522.html>
Here is the most recent layout file I have (August 2007, following what
I had done for IFAC ACA'07 I guess).
I don't find a template, but I must have a paper written in LyX with
this layout, I'll keep you posted if I find it.
However, if I run
cd /tmp
cp /usr/local/texlive/texmf-local/\
tex/latex/ifacconf_latex/ifacconf.tex .
lyx -i latex ifacconf.tex
to import the example file in LyX-1.6.4, all is fine, but an incorrect
alignment of second and third authors. I don'remember how I solved this,
probably by exporting manually the last version of the LyX file to LaTeX
to tune it. So the result me be used as a template.
I post also to the lyx-users list in order to keep a public record of
the file.
--
Jean-Pierre
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[ifacconf]{article (IFAC Conference/Symposium)}
# Author: Rod Pinna <[email protected]>
# The Elsevier doc style also duplicates the theorem
# environments used by the AMS. The definitions here have been
# mainly taken from the amsmath.inc file, from lyx-1.0.2, by
# David L. Johnson and Jean-Marc Lasgouttes. Some modifications
# have been made.
#
# The Elsevier style *does not* implement the starred versions
# of these environments, so they are not supported by this layout.
# There are also a few AMS environments not impletemented by Elsevier,
# so they are not included either.
#
# Version 1.0 19990506 R. Pinna Inital version
# modified 2002-04-02 Herbert Voss <[email protected]>
# for use of BeginTitle/EndTitle
# modified 2003-03-11 JMarc for use of TitleLatexType/TitleLatexName
# modified 2003-04-10 Rod Pinna - added proof env. sent to me by Stacy Prowell
# modified 2003-07-23 Rod Pinna - changes MaxCounter to Section,
# rather than subsection. The Elsevier doc file allows for
# numbered sections, as does the class file.
#
# elsart.layout used to build ifacmtg.layout
# by Jean-Pierre Chrétien <[email protected]> march 2006
# elsart and ifacmtg are documented in the same location by Elsevier
# http://authors.elsevier.com/getting_published.html?dc=QG3
#
# ifacmtg.layout used as a basis for the new ifacconf template
# by Jean-Pierre Chrétien <[email protected]> august 2007
#
Format 4
Columns 1
Sides 2
PageStyle headings
ClassOptions
# FontSize "default" # controlled by class
End
# elsart does not use the plain old \maketitle
# commented out, \frontmatter must include from title down to abstract
#TitleLatexType Environment
#TitleLatexName frontmatter
Counter
Name summ
End
Counter
Name case
End
Style Standard
LatexName dummy
LatexType Paragraph
Margin Static
ParIndent MM
ParSkip 0.4
ParSep 0.4
TopSep 1.0
BottomSep 1.0
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
Input stdlists.inc
Input numarticle.inc
Input stdsections.inc
# no starred sectioning needed
#Input stdstarsections.inc
Input stdstruct.inc
Input stdlayouts.inc
Input stdfloats.inc
Input stdcounters.inc
Style Title
Margin Static
LatexType Command
InTitle 1
LatexName title
NextNoIndent 1
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Center
LabelType No_Label
Font
Family Sans
Series Bold
Size Largest
EndFont
End
Style Author
Margin Static
LatexType Command
InTitle 1
LatexName author
NextNoIndent 1
ParSkip 0.4
TopSep 0.7
BottomSep 0.7
ItemSep 0
ParSep 0
Align Center
AlignPossible Center
OptionalArgs 1
Font
Series Bold
EndFont
End
Style Author_Address
Margin Static
LatexType Command
InTitle 1
LatexName address
Align Center
AlignPossible Center
Labeltype Static
LabelSep M
LabelString "Address:"
OptionalArgs 1
LabelFont
Shape Italic
EndFont
End
# Author_Email Author_URL not needed in ifacconf
#Style Author_Email
#...
#End
#
#Style Author_URL
#...
#End
# thanks is like a footnote
Style Thanks
Margin Static
LatexType Command
LatexName thanks
InTitle 1
OptionalArgs 1
Font
Size Small
Family Typewriter
Shape Italic
EndFont
End
Style Abstract
Margin Static
LatexType Environment
LatexName abstract
NextNoIndent 1
InTitle 1
LeftMargin MMM
RightMargin MMM
ParIndent MM
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0
Align Block
AlignPossible Block
LabelType Centered_Top_Environment
LabelString "Abstract"
LabelBottomSep 0.5
Font
Size Small
EndFont
LabelFont
Series Bold
Size Large
EndFont
End
Style Keywords
LatexName keyword
LatexType Environment
Margin Static
ParIndent MM
InTitle 1
ParSkip 0.4
ParSep 0.4
TopSep 1.0
BottomSep 1.0
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
Font
Color blue
EndFont
End
# This is not taken from the AMS defs, so as to match the output of the
# style file.
Style Acknowledgement
Margin Static
LatexType environment
LatexName ack
Labeltype Top_Environment
LabelBottomsep 1
LabelString "Acknowledgement"
parsep 0.3
LabelFont
Size large
Series Bold
EndFont
End
# Theorem environments have been copied over from the amsmaths.inc file. It
# could not be input as it does some stuff which is incompatible with the
# Elsevier stlye: it redefines the theorem* environments in the preamble.
# The environments defined are :
# - Theorem
# - Proof
# - Corollary
# - Lemma
# - Proposition
# - Conjecture
# - Criterion
# - Algorithm
# - Definition
# - Example
# - Problem
# - Remark
# - Note
# - Claim
# - Summary
# - Acknowledgement
# - Case
Counter
Name theorem
End
Style Theorem
Margin First_Dynamic
LatexType Environment
LatexName thm
NextNoIndent 1
LabelSep xx
ParIndent MMM
ParSkip 0.4
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Block
AlignPossible Block, Left
LabelType Counter
LabelCounter theorem
LabelString "Theorem \arabic{theorem}"
Font
Shape Italic
Size Normal
EndFont
LabelFont
Shape Up
Series Bold
EndFont
End
# Proof style declaration - from email by Stacy Prowell ([email protected])
Style Proof
Margin First_Dynamic
LatexType Environment
# elsart defines the unusual environment pf for proofs.
LatexName pf
NextNoIndent 1
LabelSep xx
ParIndent MMM
ParSkip 0.4
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Block
AlignPossible Block, Left
LabelType Static
LabelString "PROOF."
Font
Shape Up
Size Normal
EndFont
LabelFont
Series Bold
EndFont
End
Style Lemma
CopyStyle Theorem
LatexName lem
LabelString "Lemma \arabic{theorem}"
End
Style Corollary
CopyStyle Theorem
LatexName cor
LabelString "Corollary \arabic{theorem}"
End
Style Proposition
CopyStyle Theorem
LatexName prop
LabelString "Proposition \arabic{theorem}"
End
Style Criterion
CopyStyle Theorem
LatexName crit
LabelString "Criterion \arabic{theorem}"
End
Style Algorithm
CopyStyle Theorem
LatexName alg
LabelString "Algorithm \arabic{theorem}"
End
Style Definition
CopyStyle Theorem
LatexName defn
LabelString "Definition \arabic{theorem}"
Font
Shape Up
EndFont
LabelFont
Shape Up
Series Bold
EndFont
End
Style Conjecture
CopyStyle Theorem
LatexName conj
LabelString "Conjecture \arabic{theorem}"
End
Style Example
CopyStyle Theorem
LatexName exmp
LabelString "Example \arabic{theorem}"
End
Style Fact
CopyStyle Theorem
LatexName fact
LabelString "Fact \arabic{theorem}"
End
Style Remark
CopyStyle Theorem
LatexName rem
LabelString "Remark \arabic{theorem}"
End
Style Hypothesis
CopyStyle Theorem
LatexName hypo
LabelString "Hypothesis \arabic{theorem}"
End
Style Claim
CopyStyle Theorem
LatexName claim
LabelString "Claim \arabic{theorem}"
End
Style Summary
CopyStyle Theorem
LatexName summ
LabelCounter summ
LabelString "Summary \arabic{summ}"
End
Style Case
CopyStyle Theorem
LatexName case
LabelCounter case
LabelString "Case \arabic{case}"
End