mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 21:55:29 +00:00
new layout for articles in the journal JASA (http://wiki.lyx.org/Layouts/JASATeX)
OK for branch too? git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40475 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8368101b1a
commit
d528fc8286
@ -1383,6 +1383,7 @@ dist_layouts_DATA =\
|
||||
layouts/iopart.layout \
|
||||
layouts/isprs.layout \
|
||||
layouts/jarticle.layout \
|
||||
layouts/jasatex.layout \
|
||||
layouts/jbook.layout \
|
||||
layouts/jgrga.layout \
|
||||
layouts/jreport.layout \
|
||||
@ -1549,6 +1550,7 @@ dist_templates_DATA = \
|
||||
templates/IJMPC.lyx \
|
||||
templates/IJMPD.lyx \
|
||||
templates/IOP-article.lyx \
|
||||
templates/JASA.lyx \
|
||||
templates/JSS-article.lyx \
|
||||
templates/kluwer.lyx \
|
||||
templates/koma-letter2.lyx \
|
||||
|
258
lib/layouts/jasatex.layout
Normal file
258
lib/layouts/jasatex.layout
Normal file
@ -0,0 +1,258 @@
|
||||
#% Do not delete the line below; configure depends on this
|
||||
# \DeclareLaTeXClass[jasatex]{article (JASA)}
|
||||
# JASATeX textclass definition file.
|
||||
# Author: Uwe Stöhr (uwestoehr@web.de)
|
||||
|
||||
Format 36
|
||||
|
||||
Columns 1
|
||||
Sides 1
|
||||
SecNumDepth 3
|
||||
TocDepth 3
|
||||
DefaultStyle Standard
|
||||
|
||||
ClassOptions
|
||||
FontSize 10|11|12
|
||||
end
|
||||
|
||||
Preamble
|
||||
\setcitestyle{numbers} % use the numbers citation style as required by jasatex
|
||||
EndPreamble
|
||||
|
||||
|
||||
# This is just to show how to declare the default font.
|
||||
# The defaults are exactly those shown here.
|
||||
DefaultFont
|
||||
Family Roman
|
||||
Series Medium
|
||||
Shape Up
|
||||
Size Normal
|
||||
Color None
|
||||
EndFont
|
||||
|
||||
|
||||
Style Standard
|
||||
Margin Static
|
||||
LatexType Paragraph
|
||||
LatexName dummy
|
||||
ParIndent MM
|
||||
ParSkip 0.4
|
||||
Align Block
|
||||
AlignPossible Block, Left, Right, Center
|
||||
LabelType No_Label
|
||||
End
|
||||
|
||||
|
||||
Input stdcounters.inc
|
||||
Input stdfloats.inc
|
||||
Input stdlists.inc
|
||||
Input stdsections.inc
|
||||
Input stdstarsections.inc
|
||||
|
||||
NoStyle Chapter
|
||||
NoCounter chapter
|
||||
NoStyle Chapter*
|
||||
|
||||
Provides natbib 1
|
||||
|
||||
Style Title
|
||||
Margin Static
|
||||
LatexType Command
|
||||
LatexName title
|
||||
Category FrontMatter
|
||||
InTitle 1
|
||||
ParSkip 0.4
|
||||
ItemSep 0
|
||||
TopSep 0
|
||||
BottomSep 1
|
||||
ParSep 1
|
||||
Align Center
|
||||
AlignPossible Left, Right
|
||||
LabelType No_Label
|
||||
Font
|
||||
Size Largest
|
||||
EndFont
|
||||
HTMLTitle true
|
||||
End
|
||||
|
||||
|
||||
Style Author
|
||||
Margin Static
|
||||
LatexType Command
|
||||
LatexName author
|
||||
Category FrontMatter
|
||||
InTitle 1
|
||||
LabelSep xxx
|
||||
ParSkip 0.4
|
||||
TopSep 1.3
|
||||
BottomSep 0.7
|
||||
ParSep 0.7
|
||||
Align Center
|
||||
AlignPossible Center
|
||||
LabelType No_Label
|
||||
Font
|
||||
Size Large
|
||||
EndFont
|
||||
End
|
||||
|
||||
|
||||
Style Affiliation
|
||||
Margin Static
|
||||
LatexType Command
|
||||
LatexName affiliation
|
||||
Category FrontMatter
|
||||
InTitle 1
|
||||
ParSkip 0.4
|
||||
Align Center
|
||||
AlignPossible Center
|
||||
LabelType No_Label
|
||||
Font
|
||||
Shape Italic
|
||||
EndFont
|
||||
End
|
||||
|
||||
|
||||
Style "Alternative Affiliation"
|
||||
CopyStyle Affiliation
|
||||
LatexType Command
|
||||
LatexName altaffiliation
|
||||
OptionalArgs 1
|
||||
End
|
||||
|
||||
|
||||
Style Homepage
|
||||
CopyStyle Affiliation
|
||||
LatexName homepage
|
||||
Font
|
||||
Shape Up
|
||||
EndFont
|
||||
End
|
||||
|
||||
|
||||
Style Email
|
||||
CopyStyle Homepage
|
||||
LatexName email
|
||||
End
|
||||
|
||||
|
||||
Style Date
|
||||
Margin Dynamic
|
||||
LatexType Command
|
||||
Category FrontMatter
|
||||
InTitle 1
|
||||
LatexName date
|
||||
LabelSep xxx
|
||||
ParSkip 0.4
|
||||
TopSep 0.9
|
||||
BottomSep 0.5
|
||||
ParSep 1
|
||||
Align Center
|
||||
LabelType No_Label
|
||||
Font
|
||||
Size Large
|
||||
EndFont
|
||||
End
|
||||
|
||||
|
||||
Style Abstract
|
||||
Margin Static
|
||||
LatexType Environment
|
||||
LatexName abstract
|
||||
Category FrontMatter
|
||||
InTitle 1
|
||||
NextNoIndent 1
|
||||
LeftMargin MMM
|
||||
RightMargin MMM
|
||||
ParIndent MM
|
||||
ItemSep 0
|
||||
TopSep 0.7
|
||||
BottomSep 0.7
|
||||
ParSep 0
|
||||
Align Block
|
||||
AlignPossible Left, Right, Center, Block
|
||||
LabelType Centered_Top_Environment
|
||||
LabelString "Abstract"
|
||||
LabelBottomSep 0.5
|
||||
Font
|
||||
Size Small
|
||||
EndFont
|
||||
LabelFont
|
||||
Series Bold
|
||||
Size Large
|
||||
EndFont
|
||||
End
|
||||
|
||||
|
||||
Style Keywords
|
||||
Margin Dynamic
|
||||
LatexType Command
|
||||
LatexName keywords
|
||||
Category FrontMatter
|
||||
InTitle 1
|
||||
Align Left
|
||||
NextNoIndent 1
|
||||
BottomSep 0.5
|
||||
ParSkip 0.4
|
||||
Align Block
|
||||
AlignPossible Block
|
||||
LabelSep xx
|
||||
LabelType Static
|
||||
LabelString "Keywords:"
|
||||
LabelFont
|
||||
Color Green
|
||||
Series Bold
|
||||
EndFont
|
||||
End
|
||||
|
||||
|
||||
Style PACS
|
||||
CopyStyle Keywords
|
||||
LatexName pacs
|
||||
LabelString "PACS numbers:"
|
||||
End
|
||||
|
||||
Style "Preprint number"
|
||||
CopyStyle Keywords
|
||||
LatexName preprint
|
||||
LabelString "Preprint number:"
|
||||
End
|
||||
|
||||
|
||||
Style Acknowledgments
|
||||
CopyStyle Abstract
|
||||
LatexName acknowledgments
|
||||
Category BackMatter
|
||||
LabelType Top_Environment
|
||||
LabelString "Acknowledgments"
|
||||
Font
|
||||
Size Normal
|
||||
EndFont
|
||||
LabelFont
|
||||
Series Bold
|
||||
Size Normal
|
||||
EndFont
|
||||
End
|
||||
|
||||
|
||||
Style Bibliography
|
||||
Margin First_Dynamic
|
||||
LatexType Bib_Environment
|
||||
LatexName thebibliography
|
||||
Category BackMatter
|
||||
NextNoIndent 1
|
||||
LeftMargin MM
|
||||
ParSkip 0.4
|
||||
ItemSep 0
|
||||
TopSep 0.7
|
||||
BottomSep 0.7
|
||||
ParSep 0.5
|
||||
Align Block
|
||||
AlignPossible Block
|
||||
LabelType Bibliography
|
||||
LabelString "References"
|
||||
LabelBottomSep 1.2
|
||||
LabelFont
|
||||
Series Bold
|
||||
Size Larger
|
||||
EndFont
|
||||
End
|
429
lib/templates/JASA.lyx
Normal file
429
lib/templates/JASA.lyx
Normal file
@ -0,0 +1,429 @@
|
||||
#LyX 2.0 created this file. For more info see http://www.lyx.org/
|
||||
\lyxformat 413
|
||||
\begin_document
|
||||
\begin_header
|
||||
\textclass jasatex
|
||||
\options showkeys
|
||||
\use_default_options false
|
||||
\maintain_unincluded_children false
|
||||
\language english
|
||||
\language_package default
|
||||
\inputencoding auto
|
||||
\fontencoding global
|
||||
\font_roman default
|
||||
\font_sans default
|
||||
\font_typewriter default
|
||||
\font_default_family default
|
||||
\use_non_tex_fonts false
|
||||
\font_sc false
|
||||
\font_osf false
|
||||
\font_sf_scale 100
|
||||
\font_tt_scale 100
|
||||
|
||||
\graphics default
|
||||
\default_output_format default
|
||||
\output_sync 0
|
||||
\bibtex_command default
|
||||
\index_command default
|
||||
\paperfontsize default
|
||||
\spacing single
|
||||
\use_hyperref false
|
||||
\papersize default
|
||||
\use_geometry false
|
||||
\use_amsmath 1
|
||||
\use_esint 1
|
||||
\use_mhchem 1
|
||||
\use_mathdots 1
|
||||
\cite_engine natbib_authoryear
|
||||
\use_bibtopic false
|
||||
\use_indices false
|
||||
\paperorientation portrait
|
||||
\suppress_date false
|
||||
\use_refstyle 0
|
||||
\index Index
|
||||
\shortcut idx
|
||||
\color #008000
|
||||
\end_index
|
||||
\secnumdepth 3
|
||||
\tocdepth 3
|
||||
\paragraph_separation indent
|
||||
\paragraph_indentation default
|
||||
\quotes_language english
|
||||
\papercolumns 1
|
||||
\papersides 1
|
||||
\paperpagestyle default
|
||||
\tracking_changes false
|
||||
\output_changes false
|
||||
\html_math_output 0
|
||||
\html_css_as_file 0
|
||||
\html_be_strict false
|
||||
\end_header
|
||||
|
||||
\begin_body
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Use the document class option
|
||||
\series bold
|
||||
nopreprint
|
||||
\series default
|
||||
for non-preprints.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Preprint number
|
||||
AIP/123-QED
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
does not appear in a non-preprint
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Title
|
||||
Manuscript Title
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
that can span several lines
|
||||
\begin_inset Argument
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Short title
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
The short tile appears at the bottom of the title page.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Author
|
||||
An Author
|
||||
\end_layout
|
||||
|
||||
\begin_layout Alternative Affiliation
|
||||
Physics Department, XYZ University.
|
||||
\begin_inset Argument
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Also at
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
This affiliation appears as footnote.
|
||||
The short title should be
|
||||
\begin_inset Quotes eld
|
||||
\end_inset
|
||||
|
||||
Also at
|
||||
\begin_inset Quotes eld
|
||||
\end_inset
|
||||
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Author
|
||||
Second Author
|
||||
\end_layout
|
||||
|
||||
\begin_layout Email
|
||||
second.author@institution.abc
|
||||
\end_layout
|
||||
|
||||
\begin_layout Affiliation
|
||||
Authors' institution and/or address
|
||||
\end_layout
|
||||
|
||||
\begin_layout Author
|
||||
Charlie Author
|
||||
\end_layout
|
||||
|
||||
\begin_layout Homepage
|
||||
http://www.Second.institution.edu/
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
~
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
Charlie.Author
|
||||
\begin_inset Note Note
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Tildes have to be inserted as TeX code.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Affiliation
|
||||
Second institution and/or address
|
||||
\end_layout
|
||||
|
||||
\begin_layout Date
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
|
||||
\backslash
|
||||
today
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Note
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
you can alternatively specify a certain date
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Abstract
|
||||
An article usually includes an abstract, a concise summary of the work covered
|
||||
at length in the main body of the article.
|
||||
It is used for secondary publications and for information retrieval purposes.
|
||||
\end_layout
|
||||
|
||||
\begin_layout PACS
|
||||
insert suggested PACS numbers
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
optional
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Keywords
|
||||
Suggested keywords
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
only appear in the output if the document class option
|
||||
\series bold
|
||||
showkeys
|
||||
\series default
|
||||
is used
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
Introduction
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Bla bla, as listed in
|
||||
\begin_inset CommandInset citation
|
||||
LatexCommand cite
|
||||
key "Parkin2005,LComp2004"
|
||||
|
||||
\end_inset
|
||||
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Formula
|
||||
\begin{eqnarray}
|
||||
A & = & \prod_{i=1}^{\infty}B\nonumber \\
|
||||
& = & C
|
||||
\end{eqnarray}
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsection
|
||||
Subsection
|
||||
\end_layout
|
||||
|
||||
\begin_layout Enumerate
|
||||
test
|
||||
\end_layout
|
||||
|
||||
\begin_layout Enumerate
|
||||
test
|
||||
\end_layout
|
||||
|
||||
\begin_layout Subsubsection
|
||||
Subsubsection
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Bla, bla
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Float figure
|
||||
placement h
|
||||
wide false
|
||||
sideways false
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
\begin_inset Caption
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Example figure.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Acknowledgments
|
||||
Acknowledgments go here
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
\start_of_appendix
|
||||
Appendix name
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Appendix, only when needed, inserted behind the acknowledgments but before
|
||||
the bibliography.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section*
|
||||
-----------------
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
You can use either BibTeX:
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
The following bibliography styles are allowed:
|
||||
\family sans
|
||||
jasaauthyear
|
||||
\family default
|
||||
or
|
||||
\family sans
|
||||
jasanum
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset CommandInset bibtex
|
||||
LatexCommand bibtex
|
||||
bibfiles "../examples/biblioExample"
|
||||
options "bibtotoc,jasaauthyear"
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section*
|
||||
---------------------
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\noindent
|
||||
Or plain bibliography:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Bibliography
|
||||
\begin_inset CommandInset bibitem
|
||||
LatexCommand bibitem
|
||||
key "key-1"
|
||||
|
||||
\end_inset
|
||||
|
||||
Frank Mittelbach and Michel Goossens:
|
||||
\emph on
|
||||
The LaTeX Companion Second Edition.
|
||||
|
||||
\emph default
|
||||
Addison-Wesley, 2004.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Bibliography
|
||||
\begin_inset CommandInset bibitem
|
||||
LatexCommand bibitem
|
||||
key "key-2"
|
||||
|
||||
\end_inset
|
||||
|
||||
Scott Pakin.
|
||||
The comprehensive LaTeX symbol list, 2005.
|
||||
\end_layout
|
||||
|
||||
\end_body
|
||||
\end_document
|
Loading…
Reference in New Issue
Block a user