home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / lyx21041.zip / XFree86 / lib / X11 / lyx / layouts / ejour2.layout < prev    next >
Text File  |  1998-10-26  |  10KB  |  591 lines

  1. #% Do not delete the line below; configure depends on this
  2. #  \DeclareLaTeXClass{article (Springer - ejour2)}
  3. # ejour2 (article) textclass definition file. 
  4. # for Springer Verlag 2-column journals, e.g.
  5. # Zeitschrift fuer Physik C, Journal of geodesy, etc.
  6. # --------
  7. #
  8. # Taken from initial LyX source code
  9. # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
  10. # Transposed by Pascal AndrΘ <andre@via.ecp.fr>
  11. # Heavily modified and enhanced by serveral developers.
  12. #
  13. # --------
  14. # ejour2 made originally by Martin Vermeer based on article.layout.
  15. # Modified for LyX 12 by Jean-Marc Lasgouttes and MV.
  16. #
  17. # General textclass parameters
  18. Columns            2
  19. Sides            1
  20. PageStyle        Plain
  21. MaxCounter        Counter_Section
  22.  
  23.  
  24. # Standard style definition
  25. Style Standard
  26.   Margin          Static
  27.   LatexType         Paragraph
  28.   LatexName         dummy
  29.   ParIndent        MM
  30.   ParSkip         0.4
  31.   Align         Block
  32.   AlignPossible     Block, Left, Right, Center
  33.   LabelType         No_Label
  34. End
  35.  
  36. # The standard sections
  37. Input stdsections.inc
  38.  
  39. # Section style definition
  40. Style Section
  41.   # standard font definition
  42.   Font
  43.     Series        Medium
  44.     Series         Bold
  45.     Size        Normal
  46.   EndFont
  47. End
  48.  
  49. # Subsection style definition
  50. Style Subsection
  51.   Font
  52.     Series        Medium
  53.     Shape        Italic
  54.     Size        Normal
  55.   EndFont
  56. End
  57.  
  58. # Subsubsection style definition
  59. Style Subsubsection
  60.   # standard font definition
  61.   Font 
  62.     Series        Medium
  63.     Shape        Up
  64.     Size        Normal
  65.   EndFont
  66. End
  67.  
  68. # Paragraph style definition
  69. Style Paragraph
  70. # standard font definition
  71.   Font 
  72.     Series        Medium
  73.     Shape         Italic
  74.     Size        Normal
  75.   EndFont
  76. End
  77.  
  78. # Subparagraph style definition
  79. Style Subparagraph
  80.   # standard font definition
  81.   Font
  82.     Series        Medium
  83.     Shape        Up
  84.     Size        Normal
  85.   EndFont
  86. End
  87.  
  88. # Now define the starred versions from the normal ones.
  89. Input stdstarsections.inc
  90.  
  91. # Remove the ones that we do not want
  92. NoStyle        Part
  93. NoStyle        Part*
  94. NoStyle        Chapter
  95. NoStyle        Chapter*
  96.  
  97. # Some standard things
  98. Input stdlayouts.inc
  99. Input stdlists.inc
  100.  
  101. # Standard style definition
  102. Style Petit
  103.   Margin          Static
  104.   LatexType         Environment
  105.   LatexName         petit
  106.   ParIndent        MM
  107.   ParSkip         0.4
  108.   Align         Block
  109.   AlignPossible     Block, Left, Right, Center
  110.   LabelType         No_Label
  111.  
  112.   # Font definition
  113.   Font 
  114.     Size        Small
  115.   EndFont
  116. End
  117.  
  118. # Journal name style definition (not needed if JG option given)
  119. Style Journal
  120.   Margin        Static
  121.   LatexType        Command
  122.   InTitle        1
  123.   LatexName        journalname
  124.   NextNoIndent        1
  125.   LeftMargin        Journal:xxx
  126.   LabelSep        xxx
  127.   ParSkip        0.4
  128.   TopSep        1.3
  129.   BottomSep        0.7
  130.   ParSep        0.7
  131.   Align            Left
  132.   AlignPossible        Left
  133.   LabelType        Static
  134.   LabelString        Journal:
  135.  
  136.   # standard font definition
  137.   LabelFont 
  138.     Series         Bold
  139.     Shape        Italic
  140.     Color        Red
  141.   EndFont
  142.  
  143. End
  144.  
  145. # Headnote style definition
  146. Style Headnote
  147.   CopyStyle        Journal
  148.   LatexName        dedication
  149.   LeftMargin        "HeadNote (optional):xxx"
  150.   LabelString        "Headnote (optional): "
  151. End
  152.  
  153. # Title style definition
  154. Style Title
  155.   Margin        Static
  156.   LatexType        Command
  157.   InTitle        1
  158.   LatexName        title
  159.   NextNoIndent        1
  160.   ParSkip        0.4
  161.   TopSep        1.3
  162.   BottomSep        0.7
  163.   ParSep        0.7
  164.   Align            Left        
  165.   AlignPossible        Block, Center, Left, Right, Center
  166.   LabelType        No_Label
  167.   Fill_Top        1
  168.   Fill_Bottom        1
  169.  
  170.   # standard font definition
  171.   Font 
  172.     Family          Sans
  173.     Series         Bold
  174.     Size        Largest
  175.   EndFont
  176.  
  177. End
  178.  
  179.  
  180. # Title style definition
  181. Style Subtitle
  182.   Margin        Static
  183.   LatexType        Command
  184.   InTitle        1
  185.   LatexName        subtitle
  186.   NextNoIndent        1
  187.   ParSkip        0.4
  188.   ItemSep        0
  189.   TopSep        0
  190.   BottomSep        0
  191.   ParSep        0
  192.   Align            Left
  193.   AlignPossible        Left
  194.   LabelType        No_Label
  195.  
  196.   # standard font definition
  197.   Font 
  198.     Family          Sans
  199.     Series         Bold
  200.     Size        Large
  201.   EndFont
  202.  
  203. End
  204.  
  205.  
  206. # Translated Title style definition
  207. Style Translated_Title
  208.   Margin        Static
  209.   LatexType        Command
  210.   InTitle        1
  211.   LatexName        transtitle
  212.   NextNoIndent        1
  213.   LeftMargin        "English title:xxx"
  214.   LabelSep        xxx
  215.   ParSkip        0.4
  216.   TopSep        1.3
  217.   BottomSep        0.7
  218.   ParSep        0.7    
  219.   Align            Left
  220.   AlignPossible        Left
  221.   LabelType        Static
  222.   LabelString        "English title: "
  223.  
  224.   # Standard font definition
  225.   Font 
  226.     Series         Bold
  227.   EndFont
  228.  
  229.   # Label font definition
  230.   LabelFont 
  231.     Series         Bold
  232.     Shape        Italic
  233.     Color        Red
  234.   EndFont
  235.  
  236. End
  237.  
  238. # Title_Running style definition
  239. Style Running_LaTeX_Title
  240.   CopyStyle        Journal
  241.   LatexName        titlerunning
  242.   LeftMargin        "Running title:xxx"
  243.   LabelString        "Running title: "
  244. End
  245.  
  246. # Author style definition
  247. Style Author
  248.   Margin        Static
  249.   LatexType        Command
  250.   InTitle        1
  251.   LatexName        author
  252.   NextNoIndent        1
  253.   ParSkip        0.4
  254.   TopSep        0.7
  255.   BottomSep        0.7
  256.   ItemSep        0
  257.   ParSep        0
  258.   Align            Left
  259.   AlignPossible        Left
  260.   LabelType        No_Label
  261.  
  262.   # standard font definition
  263.   Font 
  264.     Series         Bold
  265.     Shape        Italic
  266.   EndFont
  267.  
  268. End
  269.  
  270. # AuthorRunning style definition
  271. Style Author_Running
  272.   CopyStyle        Journal
  273.   LatexName        authorrunning
  274.   LeftMargin        "Author Running:xxx"
  275.   LabelString        "Author Running: "
  276. End
  277.  
  278. # Institute style definition
  279. Style Institute
  280.   Margin        Static
  281.   LatexType        Command
  282.   InTitle        1
  283.   LatexName        institute
  284.   NextNoIndent        1
  285.   ParSkip        0.4
  286.   TopSep        1.3
  287.   BottomSep        0.7
  288.   ParSep        0.7
  289.   Align            Left
  290.   AlignPossible        Left
  291.   LabelType        No_Label
  292.  
  293.   # Std. font definition
  294.   Font 
  295.     Size        Small
  296.   EndFont
  297.  
  298. End
  299.  
  300. # Dedication style definition (optional) 
  301. Style Dedication
  302.   CopyStyle        Journal
  303.   LatexName        headnote
  304.   LeftMargin        Dedication:xxx
  305.   LabelString        Dedication:
  306. End
  307.  
  308.  
  309. # Recieved/Accepted style definition
  310. Style Date
  311.   CopyStyle        Journal
  312.   LatexName        date
  313.   LeftMargin        Received/Accepted:xx
  314.   LabelString        Received/Accepted:
  315. End
  316.  
  317. #
  318. #
  319. # Correspondence address style definition
  320. Style Mail
  321.   CopyStyle        Journal
  322.   LatexName        mail    
  323.   LeftMargin        "Corr Author:xx."
  324.   LabelString        "Corr Author: "
  325. End
  326.  
  327. # Abstract style definition
  328. Style Abstract 
  329.   Margin        First_Dynamic
  330.   LatexType        Environment
  331.   LatexName        abstract
  332.   NextNoIndent        0
  333.   ParIndent        MM
  334.   LabelSep        xx
  335.   ItemSep        0
  336.   TopSep        0.7
  337.   BottomSep        0.7
  338.   ParSep        0
  339.   Align            Block
  340.   AlignPossible        Block, Left
  341.   LabelType        Top_Environment
  342.   LabelString        Abstract. 
  343.  
  344.   # label font definition
  345.   LabelFont 
  346.     Series        Bold
  347.   EndFont
  348. End 
  349.  
  350. # Keywords style definition
  351. Style  Keywords
  352.   Margin        First_Dynamic
  353.   LatexType        Command
  354.   LatexName        keywords
  355.   NextNoIndent        0
  356.   ParIndent        MM
  357.   LabelSep        xx
  358.   ItemSep        0
  359.   TopSep        0.7
  360.   BottomSep        0.7
  361.   ParSep        0
  362.   Align            Block
  363.   AlignPossible        Block, Left
  364.   LabelType        Static
  365.   LabelString        "Key Words: " 
  366.  
  367.   # label font definition
  368.   LabelFont 
  369.     Series        Bold
  370.   EndFont
  371. End 
  372.  
  373.  
  374. # Translated abstract style definition
  375. Style TranslatedAbstract
  376.   CopyStyle        Abstract
  377.   LatexName        transsummary
  378.   LabelString        "Eng. Abstract. " 
  379. End 
  380.  
  381. # Trans_Keywords style definition
  382. Style  Trans_Keywords
  383.   CopyStyle        Keywords
  384.   LatexName        trankey
  385.   LabelString        "Eng Key Words: " 
  386. End 
  387.  
  388. # Acknowledgement(s) style definitions
  389. Style Acknowledgements
  390.   Margin        First_Dynamic
  391.   LatexType        Environment
  392.   LatexName        acknowledgements
  393.   NextNoIndent        0
  394.   ParIndent        MM
  395.   LabelSep        xx
  396.   ItemSep        0
  397.   TopSep        0.7
  398.   BottomSep        0.7
  399.   ParSep        0
  400.   Align            Block
  401.   AlignPossible        Block, Left
  402.   LabelType        Static
  403.   LabelString        Acknowledgements. 
  404.  
  405.   # font & label font definition
  406.   Font 
  407.     Size        Small
  408.   EndFont
  409.  
  410.   LabelFont 
  411.     Shape        Italic
  412.     Size        Small
  413.   EndFont
  414. End 
  415.  
  416. Style Acknowledgement
  417.   CopyStyle        Acknowledgements
  418.   LatexName        acknowledgement
  419.   LabelString        Acknowledgement. 
  420. End 
  421.  
  422. #
  423. # Bibliography style definition
  424. Style Bibliography
  425.   Margin        First_Dynamic
  426.   LatexType        Item_Environment
  427.   LatexName        lyxbibliography
  428.   NextNoIndent        1
  429.   LeftMargin        MM
  430.   ParSkip        0.4
  431.   ItemSep        0
  432.   TopSep        0.7
  433.   BottomSep        0.7
  434.   ParSep        0.5
  435.   Align            Block
  436.   AlignPossible        Block, Left
  437.   LabelType        Bibliography
  438.   LabelString        References 
  439.   LabelBottomSep    0.7
  440.  
  441.   # label font definition
  442.   LabelFont 
  443.     Series        Bold
  444.   EndFont
  445.  
  446.   Preamble
  447.     \newcommand{\lyxbibliography}{\thebibliography{References}%
  448.       \renewcommand{\bibitem}[3][!]{\@bibitem{##1}{##2}{##3}}}
  449.   EndPreamble
  450.  
  451.  
  452. End
  453.  
  454. # Mathematics-like definitions:
  455.  
  456. Style Claim
  457.   Margin        First_Dynamic
  458.   LatexType        Environment
  459.   LatexName         claim
  460.   NextNoIndent        0
  461.   ParIndent        MM
  462.   LabelSep        xx
  463.   ItemSep        0
  464.   TopSep        0.5
  465.   BottomSep        0.5
  466.   ParSep        0
  467.   Align            Block
  468.   AlignPossible        Block, Left
  469.   LabelType        Static
  470.   LabelString        Claim. 
  471.  
  472.   # font & label font definition
  473.   
  474.   LabelFont 
  475.     Shape        Italic
  476.   EndFont
  477.  
  478. End
  479.  
  480. Style Conjecture
  481.   CopyStyle        Claim
  482.   LatexName         conjecture
  483.   LabelString        "Conjecture #. " 
  484. End
  485.  
  486. Style Corollary
  487.   CopyStyle        Claim
  488.   LatexName         corollary
  489.   LabelString        "Corollary #. " 
  490.  
  491.   # font & label font definition
  492.   Font 
  493.     Shape        Italic
  494.   EndFont
  495.   
  496.   LabelFont 
  497.     Shape        Up
  498.     Series        Bold
  499.   EndFont
  500.  
  501. End
  502.  
  503. Style Definition
  504.   CopyStyle        Corollary
  505.   LatexName         definition
  506.   LabelString        "Definition #. "
  507. End
  508.  
  509. Style Example
  510.   CopyStyle        Claim
  511.   LatexName         example
  512.   LabelString        "Example #. "
  513. End
  514.  
  515. Style Exercise
  516.   CopyStyle        Claim
  517.   LatexName         exercise
  518.   LabelString        "Exercise #. "
  519.  
  520.   # font & label font definition
  521.   
  522.   LabelFont 
  523.     Shape        Up
  524.     Series        Bold
  525.   EndFont
  526.  
  527. End
  528.  
  529. Style Lemma
  530.   CopyStyle        Corollary
  531.   LatexName         lemma
  532.   LabelString        "Lemma #. "
  533. End
  534.  
  535. Style Note
  536.   CopyStyle        Claim
  537.   LatexName         note
  538.   LabelString        "Note #. "
  539. End
  540.  
  541. Style Problem
  542.   CopyStyle        Exercise
  543.   LatexName         problem
  544.   LabelString        "Problem #. "
  545. End
  546.  
  547. Style Proof
  548.   CopyStyle        Claim
  549.   LatexName        proof
  550.   LabelString        "Proof. "
  551. End
  552.  
  553. Style Property
  554.   CopyStyle        Claim
  555.   LatexName         property
  556.   LabelString        "Property #. "
  557. End
  558.  
  559. Style Proposition
  560.   CopyStyle        Claim
  561.   LatexName         proposition
  562.   LabelString        "Proposition_#. "
  563. End
  564.  
  565. Style Question
  566.   CopyStyle        Claim
  567.   LatexName         question    
  568.   LabelString        "Question #. "
  569. End
  570.  
  571. Style Remark
  572.   CopyStyle        Claim
  573.   LatexName        remark
  574.   LabelString        "Remark #. "
  575. End
  576.  
  577. Style Solution
  578.   CopyStyle        Exercise
  579.   LatexName        solution
  580.   LabelString        "Solution #. "
  581. End
  582.  
  583. Style Theorem
  584.   CopyStyle        Corollary
  585.   LatexName        theorem
  586.   LabelString        "Theorem #. "
  587. End
  588.  
  589. #Finally a few older definitions for compatibility
  590. Input obsolete.inc
  591.