Panayiotis Papassotiriou wrote:
> Has anybody created a LyX profile for the "kluwer"
> LaTeX style?
> ("kluwer" is the style of the journal "Astrophysics
> and Space Science")
> If so, please contact me. I really need it!

Well, yes and no, that is.  The kluwer layout is a bit odd, IMHO.  It
doesn't use the standard titlepage stuff (\maketitle etc.), they have
the possibility to write many articles in one tex file and hence wrap
the whole article in an \begin{article}....\end{article} etc.  So you
have to be a bit carefull and use quite some ERT.

I short, I hacked something together that can be (sort of) used to write
a kluwer article in LyX (in my case with Solar Physics in mind).  You
may check it out, I'll attach two files, a layout that you have to copy
either to $HOME/.lyx/layouts or <LyXDir>/layouts, and a template file.
In addition, of course you have to have kluwer.sty installed on your
system.  Ah, and run the reconfigure from LyX and restart LyX before you
use it the first time.

I still didn't write a real article with it, so it's in a very
experimental stage - feedback welcome.

  Pit

-- 
Peter "Pit" Suetterlin                      http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048                       [EMAIL PROTECTED]
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[kluwer]{Article (Kluwer)}
# Textclas definition for kluwer.cls (Solar Physics)
# 
# Peter S�tterlin <[EMAIL PROTECTED]>
#
# 2001-06-15  Initial Version from scratch

# 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

# No Chapter, Part
NoStyle Chapter
NoStyle Part

Style Section
  Align                 Center
  AlignPossible         Center
  Font 
    Size                Large
  EndFont
End

Style Subsection
  Font 
    Series              Medium
    Size                Normal
    Shape               SmallCaps
  EndFont
End

Style Subsubsection
  Font 
    Series              Medium
    Size                Normal
    Shape               Italic
  EndFont
End

Style Paragraph

  Font 
    Series              Medium
    Size                Normal
    Shape               Italic
  EndFont
End

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

  # standard font definition
  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

  # standard font definition
  Font 
    Family              Roman
    Size                Larger
    Shape               Italic
  EndFont
End

# Author style definition
Style Author
  Margin                Static
  LatexType             Command
  LatexName             author
  ParSkip               0.4
  TopSep                1.3
  BottomSep             0
  ParSep                0.7
  Align                 Left
  AlignPossible         Left
  LabelType             No_Label

  # standard font definition
  Font 
    Size                Larger
  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

# 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


  # standard font definition
  Font 
    Size                Large
  EndFont

End

# Abstract style definition
Style Abstract 
  Margin                First_Dynamic
  LatexType             Environment
  LatexName             abstract
  NextNoIndent          1
  ParIndent             MM
  ItemSep               0
  TopSep                0.7
  BottomSep             0.7
  ParSep                0
  Align                 Block
  AlignPossible         Block
  LabelType             Static
  LabelString           Abstract.
  LabelSep              M

  # standard font definition
  Font 
    Size                Small
  EndFont

  # label font definition
  LabelFont 
    Series              Bold
    Size                Small
  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              ""
  # standard font definition
  Font 
    Size                Small
  EndFont
  # label font definition
  LabelFont 
    Series              Bold
    Size                Small
  EndFont
End 

# Acknowledgements style definition
Style Acknowledgements
  Margin                Static
  LatexType             Environment
  LatexName             acknowledgements
  NextNoIndent          1
  ItemSep               0
  TopSep                0.7
  BottomSep             0.7
  ParSep                0
  Align                 Block
  AlignPossible         Block
  LabelType             Centered_Top_Environment
  LabelString           Acknowledgements
  LabelBottomSep        0.5

  # label font definition
  LabelFont 
    Series              Bold
    Size                Large
  EndFont
End 
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass kluwer
\language english
\inputencoding auto
\fontscheme default
\graphics default
\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}
\newline 

\backslash 
begin{opening}
\layout Title

Mein erster Kluwer-Test
\layout Subtitle

So geht's auch
\layout Author

P.
 
\latex latex 

\backslash 
surname{
\latex default 
S�tterlin
\latex latex 
}
\backslash 
email{
\latex default 
[EMAIL PROTECTED]
\latex latex 
}
\layout Address

Sterrenkundig Instituut Utrecht, Postbus 80000, NL-3508 TA Utrecht, The
 Netherlands
\layout Date

2001/06/15
\layout Abstract

Wo ist 'Abstract.'?
\layout Keywords

Die gibt's auch nicht....
\layout Standard


\latex latex 

\backslash 
end{opening}
\layout Section

Introduction
\layout Standard

Some Text....
\layout Subsection

How all this works
\layout Subsubsection

and this, too
\layout Standard

Blubb
\layout Paragraph

Whereas this is Paragraph:
\layout Standard

Bla
\layout Subparagraph

and subparagpraph:
\layout Standard

Blabla
\layout Section

Conclusions
\layout Standard

More Text
\layout Acknowledgements

Thanks People!
\layout Standard


\latex latex 

\backslash 
end{article}
\the_end

Reply via email to