Начало

This commit is contained in:
Andrei Astafev 2016-10-20 20:23:01 +03:00
commit 9cdc2b6b5b
11 changed files with 1297 additions and 0 deletions

52
espdclass.inc Normal file
View File

@ -0,0 +1,52 @@
# Standard textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modifed and enhanced by several developers.
# This is a base layout which is designed to be included from other
# ``standard'' layouts, like article and friends.
Format 11
Columns 1
Sides 1
SecNumDepth 5
TocDepth 5
DefaultStyle Standard
# This is just to show how to declare the default font.
# The defaults are exactly those shown here.
DefaultFont
Family Roman
Series Medium
Shape Up
Size Normal
Color None
EndFont
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
#Input stdcharstyles.inc
#Input stdcustom.inc
Input stdfloats.inc
Input espdcounters.inc
Input stdinsets.inc
Input espdlists.inc
Input espdsections.inc
Input espdstarsections.inc
Input stdtitle.inc
Input stdstruct.inc
Input lyxmacros.inc
Input stdlayouts.inc

77
espdcounters.inc Normal file
View File

@ -0,0 +1,77 @@
# Author : Lars Gullik Bjønnes <larsbj@lyx.org>
# This include file contains all the counters that are defined as standard
# in most LyX layouts.
Format 11
#Counter part
# LabelString "\Roman{part}"
#End
#Counter chapter
#End
Counter section
End
Counter appendix
End
Counter subsection
Within section
End
Counter subsubsection
Within subsection
End
Counter pointII
Within section
End
Counter pointIII
Within subsection
End
Counter pointIV
Within subsubsection
End
Counter subpointIII
Within pointII
End
Counter subpointIV
Within pointIII
End
Counter enumi
End
Counter enumii
Within enumi
End
Counter enumiii
Within enumii
End
Counter enumiv
Within enumiii
End
Counter bibitem
End
Counter listing
End
Counter equation
End
Counter footnote
End

41
espdfloats.inc Normal file
View File

@ -0,0 +1,41 @@
# Author : Lars Gullik Bjønnes <larsbj@lyx.org>
# This include file contains all the floats that are defined as standard
# in most LyX layouts.
Format 4
Float
Type table
GuiName Table
Placement tbp
Extension lot
NumberWithin none
Style plain
ListName "Список таблиц"
LaTeXBuiltin true
End
Float
Type figure
GuiName Figure
Placement tbp
Extension lof
NumberWithin none
Style plain
ListName "Список рисунков"
LaTeXBuiltin true
End
Float
Type algorithm
GuiName Algorithm
Placement tbp
Extension loa
NumberWithin none
Style ruled
ListName "Список алгоритмов"
LaTeXBuiltin false
End

293
espdinsets.inc Normal file
View File

@ -0,0 +1,293 @@
# Textclass definition file for LaTeX.
# Author : Martin vermeer <martin.vermeer@hut.fi>
# Inset layouts definition
#
# More detailled format description is available in the customization manual
# FIXME: create the contents in the manual and put the link here.
#
#InsetLayout <string identifier used by LyX>
# LabelString used for the inset decoration (either the inset button
# or the text underneath the inset).
# LatexType associated LateX type: command, environment, or none.
# LatexName associated LateX command.
# BgColor Color of the inset background within LyX.
# FIXME: link to a doc file describing the different
# color codes as defined in 'ColorCode.h'
# Font Nothing to put here, below are descriptions of the different
# allowable adjustments for the font used to draw the text
# appearing within the inset text. All these items are optional.
# Color Color of text
# Size Font size of the textallowed value: Small, Smaller, ...
# FIXME defined in FontSize in FontEnums.h
# Family FIXME defined in FontFamily in FontEnums.h
# Shape FIXME defined in FontShape in FontEnums.h
# Series FIXME defined in FontSeries in FontEnums.h
# Misc FIXME defined in FontMisc in FontEnums.h
# EndFont Nothing to put here, it's just a markup to indicate that we are
# finished with the Font definition.
# LabelFont Nothing to put here, below are descriptions of the different
# allowable adjustments for the font used to draw the text
# appearing within the inset decoration. All these items are
# optional.
# Color see definition above (in the Font node).
# Size see definition above (in the Font node).
#
# EndFont Nothing to put here, it's just a markup to indicate that we are
# finished with the LabelFont definition.
# MultiPar Indicates that multiple paragraphs are allowed within the inset
# or not. Defaults to false. Sets CustomPars, as well, to the same
# value, and sets ForcePlain to the opposite value. If you want
# those to be different, then, you must set them after you set
# MultiPar.
# CustomPars Whether to allow the use of the Paragraph Settings dialog. Default is
# false.
# ForcePlain Whether to force the PlainLayout. Default is true.
# Decoration: Classic, Minimalistic, Conglomerate. Decoration styles
# PassThru Do not do various LaTeX conversions, like the phrases
# LaTeX, LyX, quote commands, etc.
# KeepEmpty Do not delete empty paragraphs (?)
# FreeSpacing Preserve multiple spaces etc.
# ForceLTR Force the "latex" language, leading to Left-to-Right
# (latin) output, e.g., in ERT or URL. A kludge.
# Requires Require a given (supported) feature. Multiple features must
# be comma-separated.
#End
Format 11
Provides stdinsets 1
InsetLayout Marginal
LabelString margin
LatexType command
LatexName marginpar
Font
Size Small
EndFont
LabelFont
Color marginlabel
Size Small
EndFont
MultiPar true
End
InsetLayout Foot
LabelString foot
LatexType command
LatexName footnote
Font
Size Small
EndFont
LabelFont
Color footlabel
Size Small
EndFont
MultiPar true
End
InsetLayout Note:Comment
LabelString comment
LatexType environment
LatexName comment
BgColor commentbg
LabelFont
Color comment
Size Small
EndFont
MultiPar true
End
InsetLayout Note:Note
LabelString note
LatexType command
LatexName note
BgColor notebg
LabelFont
Color note
Size Small
EndFont
MultiPar true
End
InsetLayout Note:Greyedout
LabelString greyedout
LatexType environment
LatexName lyxgreyedout
BgColor greyedoutbg
LabelFont
Color greyedout
Size Small
EndFont
MultiPar true
End
InsetLayout ERT
LabelString ERT
LatexType none
Decoration minimalistic
Font
Color latex
Family typewriter
EndFont
LabelFont
Color latex
Size Small
EndFont
MultiPar true
CustomPars false
ForcePlain true
PassThru true
KeepEmpty true
FreeSpacing true
ForceLTR true
End
InsetLayout Listings
LabelString Listings
LatexType none
Decoration minimalistic
Font
Color foreground
Family typewriter
EndFont
LabelFont
Color foreground
Size Small
EndFont
BgColor listingsbg
MultiPar true
PassThru true
KeepEmpty true
FreeSpacing true
ForceLTR true
End
InsetLayout Branch
Decoration classic
LabelFont
Color branchlabel
Size Small
EndFont
MultiPar true
End
InsetLayout Index
LabelString Idx
LatexType command
LatexName index
Decoration classic
Font
Size Small
EndFont
LabelFont
Color indexlabel
Size Small
EndFont
MultiPar false
CustomPars false
ForcePlain true
NeedProtect true
End
InsetLayout Box
LabelFont
Color foreground
Size Small
EndFont
MultiPar true
End
InsetLayout Box:Shaded
BgColor shaded
LabelFont
Color foreground
Size Small
EndFont
MultiPar true
End
InsetLayout Float
LabelFont
Color collapsable
Size Small
EndFont
MultiPar true
End
InsetLayout Wrap
LabelFont
Color collapsable
Size Small
EndFont
MultiPar true
End
InsetLayout URL
LyXType standard
LatexName url
LatexType command
Decoration classic
LabelString URL
PassThru true
ForceLTR true
Font
Family Typewriter
Color urltext
EndFont
LabelFont
Family Typewriter
Color urllabel
Size Small
EndFont
Requires url
End
InsetLayout OptArg
LabelString opt
LabelFont
Color collapsable
Size Small
EndFont
MultiPar false
End
InsetLayout Info
Decoration conglomerate
End
InsetLayout Info:menu
LatexType command
LatexName menuitem
Preamble
\providecommand{\menuitem}[1]{\textsf{#1}}
EndPreamble
Decoration conglomerate
Font
Family sans
EndFont
End
InsetLayout Info:shortcut
LatexType command
LatexName shortcut
Preamble
\providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
EndPreamble
Decoration conglomerate
Font
Family sans
EndFont
End
InsetLayout Info:shortcuts
LatexType command
LatexName shortcut
Preamble
\providecommand{\shortcut}[1]{\textsf{#1}}
EndPreamble
Decoration conglomerate
Font
Family sans
EndFont
End

83
espdlayouts.inc Normal file
View File

@ -0,0 +1,83 @@
# Standard textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modifed and enhanced by several developers.
# This include files contains various standard environments for lists,
# quotations and such.
Format 11
Style Quotation
Category MainText
Margin Static
LatexType Environment
LatexName quotation
NextNoIndent 1
LeftMargin MMM
RightMargin MMM
ParIndent MM
ParSkip 0
ItemSep 0
TopSep 0.5
BottomSep 0.5
ParSep 0
Align Block
AlignPossible Block, Left, Right, Center
End
Style Quote
Category MainText
Margin Static
LatexType Environment
LatexName quote
NextNoIndent 1
LeftMargin MMM
RightMargin MMM
TopSep 0.5
ParSep 0.5
BottomSep 0.5
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
Style Verse
# LaTeX type is first dynamic because of LaTeX implementation.
# In LyX this does not make sense.
Category MainText
LatexType Environment
LatexName verse
Margin First_Dynamic
NextNoIndent 1
LeftMargin MMMM
LabelIndent MMMM
ParSkip 0.4
TopSep 0.7
BottomSep 0.7
ParSep 0.5
Align Block
AlignPossible Block, Left
LabelType No_Label
End
Style --Separator--
Category MainText
KeepEmpty 1
Margin Dynamic
LatexType Paragraph
LatexName dummy
ParIndent MM
Align Block
LabelType Static
LabelString "--- Separate Environment ---"
LabelFont
Family Roman
Series Medium
Size Normal
Color Blue
EndFont
End

166
espdlists.inc Normal file
View File

@ -0,0 +1,166 @@
# Standard textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modifed and enhanced by several developers.
# This include files contains various standard environments for lists.
Format 11
Style Itemize
Category List
Margin Static
LatexType Item_Environment
LatexName itemize
NextNoIndent 1
LeftMargin MMN
LabelSep xx
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Block
AlignPossible Block, Left
LabelType Itemize
LabelString "*"
End
Style Enumerate
Category List
Margin Static
LatexType Item_Environment
LatexName enumerate
NextNoIndent 1
LeftMargin MMN
LabelSep xx
ParSkip 0.0
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Block
AlignPossible Block, Left
LabelType Enumerate
End
Style Description
Category List
Margin First_Dynamic
LatexType Item_environment
LatexName description
NextNoIndent 1
LeftMargin MM
LabelSep xxx
ParSkip 0.4
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Block
AlignPossible Block, Left
LabelType Manual
LabelString "MM"
LabelFont
Series Bold
EndFont
End
Style List
Category List
Margin Manual
LatexType Environment
LatexName lyxlist
NextNoindent 1
LabelSep xxx
ParSkip 0.4
TopSep 0.7
BottomSep 0.7
ParSep 0.5
Align Block
AlignPossible Block, Left
LabelType Manual
LabelString "00.00.0000"
#define the environment lyxlist
Preamble
\newenvironment{lyxlist}[1]
{\begin{list}{}
{\settowidth{\labelwidth}{#1}
\setlength{\leftmargin}{\labelwidth}
\addtolength{\leftmargin}{\labelsep}
\renewcommand{\makelabel}[1]{##1\hfil}}}
{\end{list}}
EndPreamble
End
# Новое окружение для составления листа регистрации изменений.
# Тут считаю необходимым переопределить item, с команды без параметров в команду с одним параметром.
# Буду передавать в \item{} строку и парсить её, используя пакет stringstrings.
# Лист регистрации изменений есть таблица, состаящая из десяти колонок.
# Необходимо отделять содержимое колонок друг от друга. В качество разделителя будем использоваться
# символ "\&".
# Алгоритм следующий:
# 1) Выхватить первое слово из строки, используя \getaword{}
# 2) Получить индекс символа \&, используя \whereischar{} - пусть это будем число i
# 3) Удалить первые i символов строки, используя \gobblechars{}
# Повторить с пункта 1 для оставшихся девяти слов.
# Поскольку некоторые колонки могут быть пустыми предлагаю использовать специальное слово для
# пустых колонок - nop. использовать \if и если слово - nop, заменять его пустым словом (пробелом)
Style ESCList
Category List
Margin Manual
LatexType List_Environment
LatexName ecslist
NextNoindent 1
LabelSep xxx
ParSkip 0.4
TopSep 0.7
BottomSep 0.7
ParSep 0.5
Align Block
AlignPossible Block, Left
LabelType Static
#define the environment ecslist
Preamble
\newenvironment{ecslist}%
{%
\newcounter{ecscounter}%
\setcounter{ecscounter}{1}%
\let\olditem\item%
\renewcommand{\item}[9]{%
\arabic{ecscounter} & ##1 & ##2 & ##3 & ##4 & ##5 & ##6 & ##7 & ##8 & ##9 \\%
\addtocounter{ecscounter}{1}}
\begin{ESPDchangeSheet}%
}%
{\end{ESPDchangeSheet}}
EndPreamble
End
Style Explanation
Category List
Margin First_Dynamic
LatexType Item_environment
LatexName ESPDexplanation
NextNoIndent 1
LeftMargin MM
LabelSep xxx
ParSkip 0.4
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Block
AlignPossible Block, Left
LabelType Manual
LabelString "MM"
LabelFont
Series Bold
EndFont
End

324
espdsections.inc Normal file
View File

@ -0,0 +1,324 @@
# Standard textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modifed and enhanced by several developers.
# This include files contains all numbered sectionning-related
# commands that are useful for article-like document classes, but not
# for letters.
Format 11
#Style Part
# Category Section
# Margin Dynamic
# LabelString "Part \thepart"
# LabelType Counter
# TocLevel 0
# LabelCounter part
# LatexType Command
# LatexName part
# NeedProtect 1
# NextNoIndent 1
# Labelsep xxx
# ParSkip 0.4
# TopSep 4
# BottomSep 4
# ParSep 0.8
# Align Center
# Alignpossible Center
# Font
# Series Bold
# Size Huge
# EndFont
#End
#Style Chapter
# Margin Static
# Category Section
# LabelString "Chapter \thechapter"
# LabelStringAppendix "Appendix \thechapter"
# LabelType Counter
# LabelCounter chapter
# TocLevel 0
# LatexType Command
# LatexName chapter
# NeedProtect 1
# NextNoIndent 1
# ParSkip 0.4
# TopSep 4
# BottomSep 0.8
# ParSep 0.8
# Align Block
# OptionalArgs 1
# Font
# Series Bold
# Size Huge
# EndFont
#End
Style "Раздел"
Category "Раздел"
Margin Dynamic
LabelType Counter
LabelCounter section
LabelString \thesection.
TocLevel 1
LatexType Command
LatexName ESPDsection
NeedProtect 1
NextNoIndent 0
LabelSep xxx
ParSkip 0.4
TopSep 1.3
LeftMargin "MMMMM"
BottomSep 0.7
ParSep 0.7
Align Block
AlignPossible Block, Left
OptionalArgs 1
Font
Series Bold
Size Larger
EndFont
Preamble
\newcommand{\ESPDsection}[1]{
\section{#1}
\setcounter{point}{\value{section}}
\setcounter{subpoint}{0}
}
EndPreamble
End
Style "Подраздел"
CopyStyle "Раздел"
LabelCounter subsection
LabelString \thesubsection.
TocLevel 2
LatexName ESPDsubsection
LeftMargin "MMMMM"
TopSep 0.9
BottomSep 0.5
ParSep 0.5
Font
Series Bold
Size Large
EndFont
Preamble
\newcommand{\ESPDsubsection}[1]{
\subsection{#1}
\setcounter{point}{\value{subsection}}
\setcounter{subpoint}{0}
}
EndPreamble
End
Style "Подподраздел"
CopyStyle "Подраздел"
LabelCounter subsubsection
LabelString \thesubsubsection.
TocLevel 3
LatexName ESPDsubsubsection
LeftMargin "MMMMM"
TopSep 0.5
BottomSep 0.3
ParSep 0.3
Font
Series Medium
Size Normal
EndFont
Preamble
\newcommand{\ESPDsubsubsection}[1]{
\subsubsection{#1}
\setcounter{point}{\value{subsubsection}}
\setcounter{subpoint}{0}
}
EndPreamble
End
# Поскольку в ЕСКД могут быть документы как с подразделами, так и без подразделов
# считаю логичным ввести 2 типа пунктов/подпунктов:
# 1) Для документов БЕЗ подразделов - начинаются префиксом woss(without subsections)
# (wossPoint, wossSubPoint)
# 2) Для документов ИМЕЮЩИХ подраздела - начинаются прфексом wss(with subsections)
# (wssPoint, wssSubPoint)
# так же необходимо разнести и в разные категории, чтобы в UI Lyx можно было выбрать их
# без лишней путаницы.
# Для woss - "Без подразделов"
# Для wss - "С подразделами"
# Само собой они будут использоваться разные счетчики:
# 1) 2 и 3 уровня для wss - subsection и point
# 2) 3 и 4 уровня для woss - point и subpoint
# Так же необходимо выделять заголовки для SubSection и не выбелять для point и subpoint,
# но выводить нумерацию.
Style "Пункт 2 уровень"
Category "Пункты после разделов"
Margin First_Dynamic
LabelType Counter
LabelCounter pointII
LabelString \thepointII.
KeepEmpty 1
LatexType Command
LatexName pointII
# NeedProtect 0
# NextNoIndent 1
LabelSep xxx
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
End
Style "Пункт 3 уровень"
Category "Пункты после разделов"
Margin First_Dynamic
LabelType Counter
LabelCounter pointIII
LabelString \thepointIII.
KeepEmpty 1
LatexType Command
LatexName pointIII
NeedProtect 0
NextNoIndent 0
LabelSep xxx
ParSkip 0.4
TopSep 0.4
BottomSep 0
End
Style "Пункт 4 уровень"
Category "Пункты после разделов"
Margin First_Dynamic
LabelType Counter
LabelCounter pointIV
LabelString \thepointIV.
KeepEmpty 1
LatexType Command
LatexName pointIV
NeedProtect 0
NextNoIndent 0
LabelSep xxx
ParSkip 0.4
TopSep 0.4
BottomSep 0
End
Style "Подпункт 3 уровень"
Category "Подпункты после пунктов"
Margin First_Dynamic
LabelType Counter
LabelCounter subpointIII
LabelString \thesubpointIII.
KeepEmpty 1
LatexType Command
LatexName subpointIII
NeedProtect 0
NextNoIndent 0
LabelSep xxx
ParSkip 0.4
TopSep 0.4
BottomSep 0
End
Style "Подпункт 4 уровень"
Category "Подпункты после пунктов"
Margin First_Dynamic
LabelType Counter
LabelCounter subpointIV
LabelString \thesubpointIV.
KeepEmpty 1
LatexType Command
LatexName subpointIV
NeedProtect 0
NextNoIndent 0
LabelSep xxx
ParSkip 0.4
TopSep 0.4
BottomSep 0
End
# Поскольку команда ESPDappendix содержит 2 параметра, а передать в команду через Lyx
# мы можем только один документ, то необходимо применить одну старую рыбацкую хитрость,
# которую практиковал мой дедушка.
# Объявим в преамбуле новую команду ESPDappendixOP и будем передавать в неё строку следующего
# вида:
# "{обязательное|рекомендуемое|справочное} Заголовок приложения"
# Используем пакет stringstrings.
# 1) Используя макрос \getaword выхватим первое слово из входящей строки будем использовать его как
# первый параметр для функции ESPDappendix.
# 2) Потом удалить из входящей строки первое слово (которое уже извлечено ранее) и остатки строки
# использовать как второй аргумент ESPDappendix.
# Вот такой я умник.
#% Category Section
#% Margin Dynamic
#% LabelType Counter
#% LabelCounter section
Style "Обязательное"
Category "Приложение"
Margin Dynamic
LabelType Static
LabelString "Прил. Обязат. "
LabelCounter appendix
TocLevel 1
LatexType Command
LatexName ESPDappendixReq
NeedProtect 1
NextNoIndent 1
LabelSep xxx
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Block
AlignPossible Block, Left
OptionalArgs 2
Font
Series Bold
Size Larger
EndFont
Preamble
\newcommand{\ESPDappendixReq}[1]{
\ESPDappendix{"Обязательное"}{#1}
}
EndPreamble
End
Style "Справочное"
CopyStyle "Обязательное"
LabelString "Прил. Справоч. "
LatexName ESPDappendixRef
Preamble
\newcommand{\ESPDappendixRef}[1]{
\ESPDappendix{"Справочное"}{#1}
}
EndPreamble
End
Style "Рекомендуемое"
CopyStyle "Обязательное"
LabelString "Прил. Рекоменд. "
LatexName ESPDappendixRec
Preamble
\newcommand{\ESPDappendixRec}[1]{
\ESPDappendix{"Рекомендуемое"}{#1}
}
EndPreamble
End
Input numarticle.inc

112
espdstarsections.inc Normal file
View File

@ -0,0 +1,112 @@
# Standard textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modifed and enhanced by several developers.
# This include files contains all non numbered versions of the
# sectioning-related commands that are useful for article-like
# document classes, but not for letters. It should be Input after
# modifying the style of the regular sectioning layouts.
Format 11
#Style Part*
# CopyStyle Part
# Category Unnumbered
# Margin Static
# LatexName part*
# LabelType No_Label
# LabelCounter ""
#End
#Style Chapter*
# CopyStyle Chapter
# Category Unnumbered
# Margin Static
# LatexName chapter*
# LabelType No_Label
# LabelCounter ""
#End
Style "Раздел без номера в огл."
CopyStyle "Раздел"
Category Unnumbered
Margin Static
LatexName ESPDstarsectiontoc
LabelType No_Label
LabelCounter ""
OptionalArgs 0
Preamble
\newcommand{\ESPDstarsectiontoc}[1]{
\section*{#1}
\pdfbookmark[1]{#1}{toc}
\addcontentsline{toc}{section}{#1}
}
EndPreamble
End
Style "Раздел без номера"
CopyStyle "Раздел"
Category Unnumbered
Margin Static
LatexName ESPDstarsection
LabelType No_Label
LabelCounter ""
OptionalArgs 0
Preamble
\newcommand{\ESPDstarsection}[1]{
\section*{#1}
}
EndPreamble
End
#Style Subsection*
# CopyStyle Subsection
# Category Unnumbered
# Margin Static
# LatexName subsection*
# LabelType No_Label
# LabelCounter ""
# OptionalArgs 0
#End
#Style Subsubsection*
# CopyStyle Subsubsection
# Category Unnumbered
# Margin Static
# LatexName subsubsection*
# LabelType No_Label
# LabelCounter ""
# OptionalArgs 0
#End
#Style Paragraph*
# CopyStyle Paragraph
# Category Unnumbered
# Margin Static
# LatexName paragraph*
# LabelType No_Label
# LabelCounter ""
# OptionalArgs 0
#End
#Style Subparagraph*
# CopyStyle Subparagraph
# Category Unnumbered
# Margin Static
# LatexName subparagraph*
# LabelType No_Label
# LabelCounter ""
# OptionalArgs 0
#End

60
espdstruct.inc Normal file
View File

@ -0,0 +1,60 @@
# Standard textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modifed and enhanced by several developers.
# Title definitions moved to stdtitle.inc by Hartmut Goebel <harmut@noris.net>
# This include files contains all layouts that handle the structure of
# a document, like abstract, bibliography and such.
Format 11
Style Abstract
Margin Static
LatexType Environment
LatexName abstract
Category FrontMatter
NextNoIndent 1
LeftMargin MMM
RightMargin MMM
ParIndent MM
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0
Align Block
LabelType Centered_Top_Environment
LabelString "Abstract"
LabelBottomSep 0.5
Font
Size Small
EndFont
LabelFont
Series Bold
Size Large
EndFont
End
Style Bibliography
Margin First_Dynamic
LatexType Bib_Environment
LatexName thebibliography
Category BackMatter
NextNoIndent 1
LeftMargin MM
ParSkip 0.4
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0.5
Align Block
AlignPossible Block, Left
LabelType Bibliography
LabelString "References"
LabelBottomSep 1.2
LabelFont
Series Bold
Size Larger
EndFont
End

23
espdtext.layout Normal file
View File

@ -0,0 +1,23 @@
#% Do not delete the line below; configure depends on this
# \LoadClass{espdtext}
# \DeclareLaTeXClass[espdtext]{espdtext}
# espd textclass definition file.
Format 11
Input espdclass.inc
SecNumDepth 5
TocDepth 5
NoStyle Chapter
Style Part
Align Left
AlignPossible Left
TopSep 2
BottomSep 1.5
Font
Size Larger
EndFont
End

66
espdtitle.inc Normal file
View File

@ -0,0 +1,66 @@
# Standard textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modifed and enhanced by several developers.
# Split from stdstruct.inc by Hartmut Goebel <hartmut@noris.net>
# This include files contains all layouts that handle the title area
# a document, like title, author and such.
Format 11
Style Title
Margin Static
LatexType Command
Category FrontMatter
InTitle 1
LatexName title
ParSkip 0.4
ItemSep 0
TopSep 0
BottomSep 1
ParSep 1
Align Center
LabelType No_Label
Font
Size Largest
EndFont
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