lyx-layout-espdx/xespdtext.layout

542 lines
9.6 KiB
Plaintext
Raw Normal View History

2019-07-01 03:09:56 +00:00
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[xespdtext,article]{xespdtext}
# \DeclareCategory{Article}
Format 66
Input stdfloats.inc
Input stdinsets.inc
Input stdlists.inc
Input logicalmkup.module
#
# Class
#
Preamble
\usepackage{xespdrtis}
EndPreamble
Columns 1
Sides 1
SecNumDepth 4
TocDepth 4
DefaultStyle Standard
DefaultFont
Family Roman
Series Medium
Shape Up
Size Normal
Color None
EndFont
Style Title
Margin Static
LatexType Command
Category FrontMatter
InTitle 1
LatexName title
ParSkip 0.4
ItemSep 0
TopSep 0
BottomSep 0.2
ParSep 0.2
Align Center
LabelType No_Label
Font
Size Largest
EndFont
HTMLTag h1
HTMLTitle true
End
Style Author
Margin Static
LatexType Command
Category FrontMatter
InTitle 1
LatexName author
LabelSep xxx
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Center
LabelType No_Label
Font
Size Large
EndFont
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 Standard
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent "MM"
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
Style Разделитель
Category MainText
KeepEmpty 1
Margin Dynamic
LatexType Paragraph
LatexName dummy
ParIndent MM
Align Center
LabelType Static
LabelString "--- Разделитель ---"
LabelFont
Family Roman
Series Medium
Size Normal
Color Blue
EndFont
End
#
# End Class
#
#
# Counters
#
Counter section
LabelString "\arabic{section}"
LabelStringAppendix "\Asbuk{section}"
End
Counter subsection
Within section
End
Counter subsubsection
Within subsection
End
Counter paragraph
Within subsubsection
End
Counter enumi
LabelString "\arabic{enumi})"
End
Counter enumii
Within enumi
LabelString "\asbuk{enumii})"
End
Counter enumiii
Within enumii
LabelString "\roman{enumiii}."
End
Counter enumiv
Within enumiii
LabelString "\Alph{enumiv}."
End
Counter appendix
End
Counter bibitem
End
Counter listing
End
Counter equation
End
Counter footnote
LabelString "\arabic{footnote}"
End
#
# End Counters
#
#
# Sections
#
2019-09-16 21:46:45 +00:00
Style SectionBase
Category Sectioning
Margin Dynamic
TocLevel 1
LatexType Command
LatexName section*
NeedProtect 1
NextNoIndent 0
ToggleIndent Never
LabelSep xxx
LeftMargin "MMMMM"
ParSkip 0.4
TopSep 1.1
BottomSep 0.6
ParSep 0.6
Align Block
Argument 1
LabelString "Short Title|S"
Tooltip "The section as it appears in the table of contents/running headers"
InsertCotext 1
IsTocCaption 1
EndArgument
Font
Series Bold
Size Larger
EndFont
HTMLTag h2
End
2019-07-01 03:09:56 +00:00
Style Section
2019-09-16 21:46:45 +00:00
CopyStyle SectionBase
2019-07-01 03:09:56 +00:00
Category Sectioning
Margin Dynamic
LabelType Static
LabelCounter section
LabelString "\thesection."
TocLevel 1
LatexType Command
LatexName section
NeedProtect 1
NextNoIndent 0
ToggleIndent Never
LabelSep xxx
LeftMargin "MMMMM"
ParSkip 0.4
TopSep 1.1
BottomSep 0.6
ParSep 0.6
Align Block
Argument 1
LabelString "Short Title|S"
Tooltip "The section as it appears in the table of contents/running headers"
InsertCotext 1
IsTocCaption 1
EndArgument
Font
Series Bold
Size Larger
EndFont
HTMLTag h2
End
Style Subsection
CopyStyle Section
LabelCounter subsection
LabelString "\thesubsection."
TocLevel 2
LatexName subsection
LeftMargin "MMMMM"
TopSep 0.9
BottomSep 0.4
ParSep 0.4
Font
Series Bold
Size Large
EndFont
HTMLTag h3
End
Style Subsubsection
CopyStyle Section
LabelCounter subsubsection
LabelString "\thesubsubsection."
TocLevel 3
LatexName subsubsection
TopSep 0.6
BottomSep 0.2
ParSep 0.2
Font
Series Bold
Size Normal
EndFont
HTMLTag h3
End
Style "Пункт 2 уровня"
Category MainText
Margin First_Dynamic
LabelType Static
LabelCounter subsection
LabelString "\thesubsection."
LatexType Command
LatexName XESPDpointII
NeedProtect 0
NextNoIndent 0
LabelSep xxx
LabelIndent "MM"
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
Preamble
\newcommand{\XESPDpointII}[1]{
\refstepcounter{subsection}\thesubsection.\quad{}{#1}
}
EndPreamble
End
Style "Пункт 3 уровня"
CopyStyle "Пункт 2 уровня"
LabelCounter subsubsection
LabelString "\thesubsubsection."
LatexName XESPDpointIII
Preamble
\newcommand{\XESPDpointIII}[1]{
\refstepcounter{subsubsection}\thesubsubsection.\quad{}{#1}
}
EndPreamble
End
Style "Пункт 4 уровня"
CopyStyle "Пункт 2 уровня"
LabelCounter paragraph
LabelString "\theparagraph."
LatexName XESPDpointIV
Preamble
\newcommand{\XESPDpointIV}[1]{
\refstepcounter{paragraph}\theparagraph.\quad{}{#1}
}
EndPreamble
End
Style "Аннотация"
2019-09-16 21:46:45 +00:00
CopyStyle SectionBase
2019-07-01 03:09:56 +00:00
Margin Dynamic
KeepEmpty 1
Align Center
LeftMargin ""
LatexName XESPDforeword
LabelType Static
LabelString "Аннотация"
2019-09-16 21:46:45 +00:00
LabelCounter ""
2019-07-01 03:09:56 +00:00
Font
Series Bold
Size Larger
EndFont
End
Style "Перечень сокращений"
CopyStyle Section
Margin Dynamic
KeepEmpty 1
Align Center
LeftMargin ""
LatexName XESPDabbreviationsList
LabelType Static
LabelString "Перечень сокращений"
2019-09-16 21:46:45 +00:00
LabelCounter ""
2019-07-01 03:09:56 +00:00
Font
Series Bold
Size Larger
EndFont
End
#
# End Sections
#
#
# Insets
#
InsetLayout Flex:TightCentered
LyXType Custom
LabelString TightCentered
LatexType Environment
LatexName tightcentered
Preamble
\newenvironment{tightcentered}{
\setlength\topsep{0pt}
\setlength\parskip{0pt}
\begin{center}}
{\end{center}}
EndPreamble
LabelFont
Color Latex
Size Tiny
EndFont
End
InsetLayout Flex:TightLeft
LyXType Custom
LabelString TightLeft
LatexType Environment
LatexName tightleft
Preamble
\newenvironment{tightleft}{
\setlength\topsep{0pt}
\setlength\parskip{0pt}
\begin{flushleft}}
{\end{flushleft}}
EndPreamble
LabelFont
Color Latex
Size Tiny
EndFont
End
InsetLayout Flex:Code
LyxType charstyle
LabelString "код"
LatexType command
LatexName code
Font
Family Typewriter
Size Small
EndFont
Preamble
\providecommand*{\code}[1]{\texttt{\small{#1}}}
EndPreamble
InToc true
HTMLTag code
ResetsFont true
CustomPars false
Spellcheck false
End
InsetLayout "Flex:Программный код"
CopyStyle Flex:Code
LabelString "код"
LatexName codebold
Font
Series Bold
EndFont
Preamble
\newcommand{\codebold}[1]{\texttt{\textbf{\small{#1}}}}
EndPreamble
HTMLTag code
HTMLAttr class='bold'
HTMLStyle
code.bold {
font-weight: bold;
}
EndHTMLStyle
End
InsetLayout "Flex:Имя файла"
CopyStyle Flex:Code
LabelString "имя файла"
LatexName filename
Font
Series Bold
EndFont
Preamble
\newcommand{\filename}[1]{\texttt{\textbf{\small{#1}}}}
EndPreamble
HTMLTag code
HTMLAttr class='bold'
HTMLStyle
code.bold {
font-weight: bold;
}
EndHTMLStyle
End
InsetLayout "Flex:Клавиша"
CopyStyle Flex:Code
LabelString клавиша
LatexName XESPDkey
Font
Series Medium
EndFont
Preamble
\newcommand{\XESPDkey}[1]{<\textrm{#1}>}
EndPreamble
HTMLTag span
HTMLAttr class='key'
HTMLStyle
span.key {
font-weight: bold;
}
EndHTMLStyle
End
InsetLayout "Flex:Кнопка"
CopyStyle Flex:Code
LabelString кнопка
LatexName XESPDbutton
Font
Series Bold
EndFont
Preamble
\newcommand{\XESPDbutton}[1]{\textbf{#1}}
EndPreamble
HTMLTag span
HTMLAttr class='button'
HTMLStyle
span.button {
font-weight: bold;
}
EndHTMLStyle
End
InsetLayout "Flex:Пункт меню"
CopyStyle Flex:Code
LabelString пункт-меню
LatexName XESPDmenuItem
Font
Series Bold
EndFont
Preamble
\newcommand{\XESDPmenuItem}[1]{\textbf{#1}}
EndPreamble
HTMLTag span
HTMLAttr class='menuitem'
HTMLStyle
span.menuitem {
font-weight: bold;
}
EndHTMLStyle
End
#
# End insets
#