[Comm] Математики в LyX'е прибавилось

Andrei Lomov =?iso-8859-1?q?lomov_=CE=C1_math=2Ensc=2Eru?=
Вт Июн 10 11:46:06 MSD 2003


Добрый день!

Если кого-то интересуют теоремоподобные утверждения 
в стандартном классе article для LyX, 
можно попробовать новый класс 
article-ru-math

Если что-то улучшите, дайте знать

А.
----------- следующая часть -----------
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article,amsthm.sty]{article (ru,math)}
# Article-ru-math textclass definition file.
# Originates from messing with article and amsart textclasses
# by Andrei Lomov <lomov на math.nsc.ru>. No warranty.

Preamble
    \usepackage{amsthm}
EndPreamble

# Input general definitions
Input stdclass.inc

# There are no chapters in an article.
NoStyle Chapter
NoStyle Chapter*

MaxCounter		Counter_Section
SecNumDepth		3
TocDepth		3

# Change a bit Part and Part*
Style Part
  Align			Left
  AlignPossible		Left
  TopSep                2
  BottomSep             1.5

  Font
    Size		Larger
  EndFont
End

Style Part*
  Align			Left
  AlignPossible		Left
  TopSep                2
  BottomSep             1.5

  Font
    Size		Larger
  EndFont
End

#*********************************************************
# Theorem-numbered style declaration
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		Static
  LabelString		"??????? #."

  # standard font definition
  Font
    Shape 		Italic
    Size		Normal
  EndFont

  # label font definition
  LabelFont
    Shape		Up
    Series		Bold
  EndFont

Preamble
 \theoremstyle{plain}
  \newtheorem{thm}{???????}
 EndPreamble

End

#*********************************************************
# Theorem-unnumbered style declaration
Style Theorem*
  CopyStyle		Theorem
  LatexName		thm*
  LabelString		"???????."

  Preamble
    \theoremstyle{plain}
    \newtheorem*{thm*}{???????}
  EndPreamble
End



#*********************************************************
# Corollary-numbered style declaration
Style Sledstvie
  CopyStyle		Theorem
  LatexName		sled
  LabelString		"????????? #."

  Preamble
    \theoremstyle{plain}
    \newtheorem{sled}{?????????}
  EndPreamble
End



#*********************************************************
# Corollary-unnumbered style declaration
Style Sledstvie*
  CopyStyle		Theorem
  LatexName		sled*
  LabelString		"?????????."

  Preamble
    \theoremstyle{plain}
    \newtheorem*{sled*}{?????????}
  EndPreamble
End



#*********************************************************
# Corollary-numbered style declaration
Style Corollary  # ? ???? LyX ???????????? ??? "?????"
  CopyStyle		Theorem
  LatexName		cor
  LabelString		"????????? #."

  Preamble
    \theoremstyle{plain}
    \newtheorem{cor}{?????????}
  EndPreamble
End



#*********************************************************
# Corollary-unnumbered style declaration
Style Corollary* # ? ???? LyX ???????????? ??? "?????*"
  CopyStyle		Theorem
  LatexName		cor*
  LabelString		"?????????."

  Preamble
    \theoremstyle{plain}
    \newtheorem*{cor*}{?????????}
  EndPreamble
End



#*********************************************************
# Lemma-numbered style declaration
Style Lemma
  CopyStyle		Theorem
  LatexName		lem
  LabelString		"????? #."

  Preamble
    \theoremstyle{plain}
    \newtheorem{lem}{?????}
  EndPreamble
End



#*********************************************************
# Lemma-unnumbered style declaration
Style Lemma*
  CopyStyle		Theorem
  LatexName		lem*
  LabelString		"?????."

  Preamble
    \theoremstyle{plain}
    \newtheorem*{lem*}{?????}
  EndPreamble
End

#*********************************************************
# Proposition-numbered style declaration
Style Proposition
  CopyStyle		Theorem
  LatexName		prop
  LabelString		"??????????? #."

  Preamble
    \theoremstyle{plain}
    \newtheorem{prop}{???????????}
  EndPreamble
End

#*********************************************************
# Proposition-unnumbered style declaration
Style Proposition*
  CopyStyle		Proposition
  LatexName		prop*
  LabelString		"???????????."

  Preamble
    \theoremstyle{plain}
    \newtheorem*{prop*}{???????????}
  EndPreamble
End

#*********************************************************
# Claim-numbered style declaration
Style Predl
  CopyStyle		Theorem
  LatexName		predl
  LabelString		"??????????? #."

  Preamble
    \theoremstyle{plain}
    \newtheorem{predl}{???????????}
  EndPreamble
End

#*********************************************************
# Claim-unnumbered style declaration
Style Predl*
  CopyStyle		Predl
  LatexName		predl*
  LabelString		"???????????."

  Preamble
    \theoremstyle{plain}
    \newtheorem*{predl*}{???????????}
  EndPreamble
End


#*********************************************************
# Definition-numbered style declaration
Style Definition
  CopyStyle		Theorem
  LatexName		defn
  LabelString		"??????????? #."

  # standard font definition
  Font
    Shape 		Up
  EndFont

  # label font definition
  LabelFont
    Shape		Up
    Series		Bold
  EndFont

  Preamble
   \theoremstyle{definition}
   \newtheorem{defn}{???????????}
  EndPreamble
End


#*********************************************************
# Definition-unnumbered style declaration
Style Definition*
  CopyStyle		Definition
  LatexName		defn*
  LabelString		"???????????."

  Preamble
   \theoremstyle{definition}
   \newtheorem*{defn*}{???????????}
  EndPreamble
End



#*********************************************************
# Remark-numbered style declaration
Style Remark
  CopyStyle		Theorem
  LatexName		rem
  LabelString		"????????? #."

  # standard font definition
  Font
    Shape 		Up
    Size		Normal
  EndFont

  # label font definition
  LabelFont
    Series		Medium
    Shape		Italic
  EndFont

  Preamble
   \theoremstyle{remark}
    \newtheorem{rem}{?????????}
  EndPreamble
End


#*********************************************************
# Remark-unnumbered style declaration
Style Remark*
  CopyStyle		Remark
  LatexName		rem*
  LabelString		"?????????."

  Preamble
   \theoremstyle{remark}
    \newtheorem*{rem*}{?????????}
  EndPreamble
End



#*********************************************************
# Example-numbered style declaration
Style Example
  CopyStyle		Definition
  LatexName		example
  LabelString		"?????? #."

  Preamble
   \theoremstyle{definition}
    \newtheorem{example}{??????}
  EndPreamble
End

#*********************************************************
# Example-unnumbered style declaration
Style Example*
  CopyStyle		Definition
  LatexName		example*
  LabelString		"??????."

  Preamble
   \theoremstyle{definition}
    \newtheorem*{example*}{??????}
  EndPreamble
End


#*********************************************************
# Notation-numbered style declaration
Style Notation
  CopyStyle		Remark
  LatexName		notation
  LabelString		"??????????? #."

  Preamble
    \theoremstyle{remark}
    \newtheorem{notation}{???????????}
  EndPreamble
End

#*********************************************************
# Notation-unnumbered style declaration
Style Notation*
  CopyStyle		Remark
  LatexName		notation*
  LabelString		"???????????."

  Preamble
   \theoremstyle{remark}
    \newtheorem*{notation*}{???????????}
  EndPreamble
End



Подробная информация о списке рассылки community