From 8f51e134b4321d464c749b0b739707e1c7b88481 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 23 Nov 2001 11:03:20 +0000 Subject: [PATCH] new kluwer layout git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3066 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/ChangeLog | 8 + lib/doc/LaTeXConfig.lyx.in | 76 ++++++-- lib/layouts/kluwer.layout | 364 +++++++++++++++++++++++++++++++++++++ lib/templates/kluwer.lyx | 195 ++++++++++++++++++++ 4 files changed, 624 insertions(+), 19 deletions(-) create mode 100644 lib/layouts/kluwer.layout create mode 100644 lib/templates/kluwer.lyx diff --git a/lib/ChangeLog b/lib/ChangeLog index dc627a24a9..a484716cc0 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,11 @@ +2001-11-23 Panayotis "PAP" Papasotiriou + + * templates/kluwer.lyx: + * layouts/kluwer.layout: new textclass for journals edited by + Kluwer. + + * doc/LaTeXConfig.lyx.in: update + 2001-11-20 Kayvan A. Sylvan * examples/chess-article.lyx: Fixed comments. Removed hacks diff --git a/lib/doc/LaTeXConfig.lyx.in b/lib/doc/LaTeXConfig.lyx.in index 6558da71f8..9dbd7e1b2a 100644 --- a/lib/doc/LaTeXConfig.lyx.in +++ b/lib/doc/LaTeXConfig.lyx.in @@ -1,5 +1,5 @@ -#LyX 1.1 created this file. For more info see http://www.lyx.org/ -\lyxformat 218 +#LyX 1.2 created this file. For more info see http://www.lyx.org/ +\lyxformat 220 \textclass article \language english \inputencoding default @@ -11,6 +11,8 @@ \paperpackage a4 \use_geometry 0 \use_amsmath 0 +\use_natbib 0 +\use_numerical_citations 0 \paperorientation portrait \secnumdepth 2 \tocdepth 3 @@ -61,7 +63,9 @@ Found item is no) and you need its functionality, you can grab it at your nearest CTAN ftp site -\begin_float footnote +\begin_inset Foot +collapsed true + \layout Standard The participating hosts in the Comprehensive TeX Archive Network are: @@ -78,7 +82,8 @@ ftp://ftp.tex.ac.uk/tex-archive There are also a zillion mirror sites which are listed at the three primary sites. -\end_float +\end_inset + at the location indicated in the \begin_inset Quotes eld \end_inset @@ -118,7 +123,9 @@ ptions\SpecialChar \menuseparator R \bar default econfigure -\begin_float footnote +\begin_inset Foot +collapsed true + \layout Standard or, if you want to change the system-wide settings, issue the command @@ -130,7 +137,8 @@ or, if you want to change the system-wide settings, issue the command /usr/local/lib/lyx/ \family default ) -\end_float +\end_inset + and reload this file to see if the new package was recognized. If the \begin_inset Quotes eld @@ -171,12 +179,15 @@ The LaTeX version that LyX will use is: \family typewriter 1995/12/01 -\begin_float footnote +\begin_inset Foot +collapsed true + \layout Standard In case it is not clear to you, this number is the date at which the version has been released. -\end_float +\end_inset + . In fact, earlier versions may work for many things, but will certainly fail in some cases. @@ -844,6 +855,37 @@ ieeetran.cls to a newer version which has IEEE in capitals. \layout Subsection +kluwer +\layout Description + +Found: @chk_kluwer@ +\layout Description + +CTAN: N/A (available from the Kluwer Academic Publishers site +\begin_inset LatexCommand \url{http://www.wkap.nl/kaphtml.htm/STYLEFILES} + +\end_inset + +). +\layout Description + +Notes: The document class +\family sans +kluwer +\family default + can be used to write articles for submission to the journals published + by Kluwer Academic Publishers, such as +\emph on +Astrophysics and Space Science, Solar Physics +\emph default + and many others (see a full list at +\begin_inset LatexCommand \url{http://www.wkap.nl/jrnllist.htm/JRNLHOME} + +\end_inset + +). +\layout Subsection + latex8 \layout Description @@ -1413,27 +1455,22 @@ ghostview \end_inset -\begin_float footnote +\begin_inset Foot +collapsed true + \layout Standard Here, a value of -\latex no_latex - \begin_inset Quotes eld \end_inset - -\latex default default -\latex no_latex - \begin_inset Quotes erd \end_inset - -\latex default means that your LaTeX installation provides a sensible value for this parameter. -\end_float +\end_inset + . \layout Subsection @@ -1472,7 +1509,8 @@ Notes: The package \family sans natbib \family default - is needed by LyX to produce a flexible interface to most of the available bibliographic styles. + is needed by LyX to produce a flexible interface to most of the available + bibliographic styles. \layout Subsection prettyref diff --git a/lib/layouts/kluwer.layout b/lib/layouts/kluwer.layout new file mode 100644 index 0000000000..45922ed397 --- /dev/null +++ b/lib/layouts/kluwer.layout @@ -0,0 +1,364 @@ +#% Do not delete the line below; configure depends on this +# \DeclareLaTeXClass[kluwer]{article (Kluwer)} +# Textclass definition file for kluwer.cls +# For Kluwer Academic publications: +# Astrophysics & Space Science, Solar Physics, etc. +# +# Panayotis "PAP" Papasotiriou +# (based on the first version kindly offered by +# Peter "Pit" Sütterlin ) +# +# 2001-06-15 First version from scratch (due to "Pit"). +# 2001-09-09 Enhanced version (due to "PAP"). +# Need of ERT is considerably minimized. + +# General textclass parameters +Columns 1 +Sides 2 +MaxCounter Counter_Section +SecNumDepth 4 +TocDepth 0 +PageStyle Plain + +DefaultFont + Family Roman + Series Medium + Shape Up + Size Normal + Color None +EndFont + +Preamble +EndPreamble + +# Standard style definition +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 stdsections.inc +NoStyle Chapter +NoStyle Part +Input stdlists.inc + +# Section style definition +Style Section + Align Center + AlignPossible Center + Font + Size Large + EndFont +End + +# Subsection style definition +Style Subsection + Font + Series Medium + Size Normal + Shape SmallCaps + EndFont +End + +# Subsubection style definition +Style Subsubsection + Font + Series Medium + Size Normal + Shape Italic + EndFont +End + +# Paragraph style definition +Style Paragraph + Font + Series Medium + Size Normal + Shape Italic + EndFont +End + +# Subparagraph style definition +Style Subparagraph + LeftMargin "" + NextNoIndent 1 + Font + Series Medium + Size Normal + Shape Italic + EndFont +End + +Input stdlayouts.inc +NoStyle Verse +NoStyle Caption + +# Title style definition +Style Title + Margin Static + LatexType Command + LatexName title + ParSkip 0.4 + ItemSep 0 + TopSep 0 + BottomSep 0 + ParSep 1 + Align Left + AlignPossible Left + LabelType No_Label + Font + Size Largest + EndFont +End + +# Subtitle style definition +Style Subtitle + Margin Static + LatexType Command + LatexName subtitle + NextNoIndent 1 + ParSkip 0.4 + ItemSep 0 + TopSep 0.2 + BottomSep 1.3 + ParSep 1 + Align Left + AlignPossible Left + LabelType No_Label + Font + Family Roman + Size Larger + Shape Italic + EndFont +End + +# Date style definition +Style Date + Margin Dynamic + LatexType Command + LatexName date + ParSkip 0.4 + TopSep 1 + BottomSep 0.5 + ParSep 1 + Align Left + AlignPossible Left + LabelType No_Label + Font + Size Large + EndFont +End + +# Author style definition +Style Author + Margin Static + LatexType Command + LatexName author + ParSkip 0.4 + TopSep 1 + BottomSep 0 + ParSep 0 + Align Left + AlignPossible Left + LabelType No_Label + Font + Size Normal + Series Bold + EndFont +End + +# Address style definition +Style Address + Margin Static + LatexType Command + LatexName institute + ParSkip 0.4 + TopSep 0.2 + BottomSep 0 + Align Left + LabelType No_Label + Font + Size normal + Shape Italic + EndFont +End + +# AddressForOffprints style definition +Style AddressForOffprints + LatexType Environment + LatexName ao + NextNoIndent 1 + Margin First_Dynamic + Align Block + AlignPossible Block + TopSep 1 + LabelType Static + LabelString "Address for Offprints:" + LabelSep M + LabelFont + Size Small + Shape Italic + Color Red + EndFont +End + +# RunningTitle style definition +Style RunningTitle + LatexType Command + LatexName runningtitle + NextNoIndent 1 + Margin Dynamic + Align Left + AlignPossible Left + TopSep 1 + LabelType Static + LabelString "Running title:" + LabelSep M + Font + Size Small + Series Bold + EndFont + LabelFont + Series Medium + Shape Italic + Color Red + EndFont +End + +# RunningAuthor style definition +Style RunningAuthor + Margin Dynamic + LatexType Command + LatexName runningauthor + NextNoIndent 1 + Align Left + AlignPossible Left + LabelType Static + LabelString "Running author:" + LabelSep M + Font + Size Small + Series Bold + EndFont + LabelFont + Series Medium + Shape Italic + Color Red + EndFont +End + +# Abstract style definition +Style Abstract + Margin First_Dynamic + LatexType Environment + LatexName abstract + NextNoIndent 1 + ParIndent MM + ItemSep 0 + TopSep 1 + BottomSep 1 + ParSep 0 + Align Block + AlignPossible Block + LabelType Static + LabelString Abstract. + LabelSep M + Font + Size Small + EndFont + LabelFont + Series Bold + EndFont +End + +# Keywords style definition +Style Keywords + Margin First_Dynamic + LatexType Command + LatexName keywords + NextNoIndent 1 + Align Left + AlignPossible Left + LabelType Static + LabelString "Keywords:" + LabelSep M + Font + Size Small + EndFont + LabelFont + Series Bold + Size Small + EndFont +End + +# Acknowledgements style definition +Style Acknowledgements + Margin Static + LatexType Environment + LatexName acknowledgements + NextNoIndent 1 + ItemSep 0 + TopSep 1 + BottomSep 1 + ParSep 0 + Align Block + AlignPossible Block + LabelType Centered_Top_Environment + LabelString Acknowledgements + LabelBottomSep 0.5 + LabelFont + Series Bold + Size Large + EndFont +End + +# Appendix style definition +Style Appendix + Margin Static + LatexType Command + LatexName appendix + KeepEmpty 1 + ParSkip 0.4 + ItemSep 0 + TopSep 0 + BottomSep 0 + ParSep 1 +# Align Block +# AlignPossible Block, Left, Right, Center + LabelType Centered_Top_Environment + LabelString Appendix + Font + Series Bold + Size Large + EndFont +End + +# References style definition +Style References + Margin First_Dynamic + LatexType Item_Environment + LatexName thebibliography + NextNoIndent 1 + LeftMargin MM + ParSkip 0.4 + ItemSep 0 + TopSep 0.7 + BottomSep 0.7 + ParSep 0.5 + LabelType Bibliography + LabelString References + LabelBottomSep 0.7 + Align Block + AlignPossible Block, Left, Right, Center + LabelFont + Family Roman + Size Normal + Series Bold + EndFont +End diff --git a/lib/templates/kluwer.lyx b/lib/templates/kluwer.lyx new file mode 100644 index 0000000000..70338c43c3 --- /dev/null +++ b/lib/templates/kluwer.lyx @@ -0,0 +1,195 @@ +#LyX 1.1 created this file. For more info see http://www.lyx.org/ +\lyxformat 218 +\textclass kluwer +\language english +\inputencoding default +\fontscheme default +\graphics default +\float_placement t +\paperfontsize default +\spacing single +\papersize Default +\paperpackage a4 +\use_geometry 0 +\use_amsmath 0 +\paperorientation portrait +\secnumdepth 4 +\tocdepth 0 +\paragraph_separation indent +\defskip medskip +\quotes_language english +\quotes_times 2 +\papercolumns 1 +\papersides 2 +\paperpagestyle default + +\layout Standard + + +\latex latex + +\backslash +begin{article} +\layout Standard + + +\latex latex + +\backslash +begin{opening} +\layout Title + + +\layout Subtitle + +<Subtitle of the article(if needed)> +\layout Author + +<First-1>.<Middle-1>. + +\latex latex + +\backslash +surname{ +\latex default +<Surname-1> +\latex latex +} +\backslash +email{ +\latex default +<e-mail-1> +\latex latex +} +\latex default +, +\newline +<First-2>.<Middle-2>. + +\latex latex + +\backslash +surname{ +\latex default +<Surname-2> +\latex latex +} +\backslash +email{ +\latex default +<e-mail-2> +\latex latex +} +\latex default + and +\newline +<First-3>.<Middle-3>. + +\latex latex + +\backslash +surname{ +\latex default +<Surname-3> +\latex latex +} +\backslash +email{ +\latex default +<e-mail-3> +\latex latex +} +\latex default +. +\layout Address + +<Institution and Address> +\layout RunningTitle + +<Running title of the article (printed on top of odd pages)> +\layout RunningAuthor + +<Running author (printed on top of even pages)> +\layout Abstract + +<abstract text> +\layout Keywords + +<Journal approved keywords> +\layout Standard + + +\latex latex + +\backslash +end{opening} +\layout Section + +Introduction +\layout Standard + +<intro text> +\layout Section + +The theory +\layout Standard + +<theory text; a citation reference is included +\begin_inset LatexCommand \cite{PaperI} + +\end_inset + +> +\layout Section + +The numerical method +\layout Standard + +<numerical method text> +\layout Section + +Results and discussion +\layout Standard + +<results and discussion text> +\layout Acknowledgements + +<acknowledgment text> +\layout Appendix + +\layout Section + +An appendix section +\layout Standard + +<appendix text> +\layout Section + +Another appendix section +\layout Standard + +<another appendix text> +\layout References +\bibitem [\protect\citeauthoryear{Surname-1 et al.}{year}]{PaperI} + +Surname-1, First-1, Middle-1., Surname-2, First-2, Middle-2. + and Surname-3, First-3, Middle-3.: year, +\emph on +Journal abbreviation +\emph default + +\series bold +volume +\series default +, page. +\layout AddressForOffprints + +<Address for offprints, printed at the end of the article> +\layout Standard + + +\latex latex + +\backslash +end{article} +\the_end